πAuthentication
The authentication endpoint to login/out.
Authorization can be performed using a session cookie or an API-key.
Login
POST
http://localhost:8080/auth/login
Login using credentials or an API-key.
Query Parameters
Name
Type
Description
json
Boolean
If the output should be in JSON format
Headers
Name
Type
Description
Api-Key
String
your API-key
Request Body
Name
Type
Description
username
String
Your username
password
String
Your password
{
// Response
}
Logout
GET
Logout
Query Parameters
Name
Type
Description
json
Boolean
If the output should be in JSON format
Headers
Name
Type
Description
Api-Key
String
Your API-key.
Last updated
Was this helpful?