RegisterApi

@Secured(value = ["isAnonymous()"])
interface RegisterApi

Inheritors

Types

Link copied to clipboard
sealed interface Errors
Link copied to clipboard
data class RegisterRequest(val username: String, val password: String, val email: String? = null, val description: String? = null, val profilePicture: String? = null)

Functions

Link copied to clipboard
Link copied to clipboard
@Post(value = "/auth/register")
abstract fun register(@Body request: RegisterApi.RegisterRequest): UserDTO