v14

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-016793230.7 KB
login

Login

Login route.

Args: credentials (CredentialsInfo): User credentials.

Returns: TokenInfo: Token information.

post/api/v1/login

Request body

usernamestring nullable

RDI database user

passwordstring nullable

RDI database password

Example request

{
  "username": "admin",
  "password": "secret-password"
}

Response

Successful Response

access_tokenstring required
token_typestring required