All URIs are relative to https://localhost
| Method | HTTP request | Description |
|---|---|---|
| signIn | POST /signin | Sign in |
| signUp | POST /signup | Sign up |
signIn(body)
Sign in
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionsApi()
val body : PostSignInBody = // PostSignInBody |
try {
apiInstance.signIn(body)
} catch (e: ClientException) {
println("4xx response calling SessionsApi#signIn")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionsApi#signIn")
e.printStackTrace()
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | PostSignInBody |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
signUp(body)
Sign up
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionsApi()
val body : PostSignUpBody = // PostSignUpBody |
try {
apiInstance.signUp(body)
} catch (e: ClientException) {
println("4xx response calling SessionsApi#signUp")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionsApi#signUp")
e.printStackTrace()
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | PostSignUpBody |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined