GetSessionParticipantsApi

@Secured(value = ["isAuthenticated()"])
interface GetSessionParticipantsApi

Inheritors

Types

Link copied to clipboard
sealed interface Errors
Link copied to clipboard
data class Response(val users: Set<String>)

Functions

Link copied to clipboard
@Get(value = "/sessions/{sessionId}/users")
@Status(value = HttpStatus.OK)
abstract fun get(principal: Principal, @PathVariable sessionId: String): GetSessionParticipantsApi.Response
Link copied to clipboard
@Status(value = HttpStatus.NOT_FOUND)
open fun onSessionNotFound(exception: SessionErrors.SessionNotFound, @PathVariable sessionId: String): GetSessionParticipantsApi.Errors.SessionNotFound
Link copied to clipboard
@Status(value = HttpStatus.FORBIDDEN)
open fun onUserNotAllowed(exception: SessionErrors.UserNotAllowed, @PathVariable sessionId: String): GetSessionParticipantsApi.Errors.UserNotAllowed