BackendController

@RestController
@RequestMapping(value = ["/api/v1"])
class BackendController(service: DatabaseService)

Controller for managing Database

Constructors

Link copied to clipboard
constructor(service: DatabaseService)

Functions

Link copied to clipboard
@PostMapping(value = ["/invitations/clear"])
fun clearExpiredInviteCodes(): EmptyDto

Endpoint for deleting expired invite codes

Link copied to clipboard
@GetMapping(value = ["/host"])
fun getHost(): HostDto