v50

latestSwagger 2.0MITraw.githubusercontent.com2026-07-15422691.7 KB
auth

Authenticate via basic auth and create a session.

post/auth/local/login

Response

Ok

adminboolean required

If the user is an administrator.

clientIdinteger

The client id of the current session.

createdAtstring date-time required

The date the user was created.

elevatedUntilstring date-time

The time until which the session is elevated.

idinteger required

The user id.

namestring required

The user name. For login.

Example response

{
  "admin": true,
  "clientId": 5,
  "createdAt": "2019-01-01T00:00:00Z",
  "id": 25,
  "name": "unicorn"
}