πŸ”“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

NameTypeDescription

json

Boolean

If the output should be in JSON format

Headers

NameTypeDescription

Api-Key

String

your API-key

Request Body

NameTypeDescription

username

String

Your username

password

String

Your password

{
    // Response
}

Logout

GET

Logout

Query Parameters

NameTypeDescription

json

Boolean

If the output should be in JSON format

Headers

NameTypeDescription

Api-Key

String

Your API-key.

Last updated