v1

latestOpenAPI 3.0.02026-07-175652103.9 KB
login

User Login

This function is an API endpoint that allows a user to log in without oauth. It is tagged with "login" for OpenAPI documentation. <br>

Parameters

  • request: The request data, which includes the user's username and password. <br>

Returns

If successful, this function returns a Json<LoginReply> object, which includes the user's information and access token. <br> If the user is not authorized, this function returns a status::Unauthorized error. <br>

Errors

This function will return an error if the user is not authorized or if the system is in maintenance mode.

post/api/login

Request body

usernamestring required
passwordstring required
idstring required
uuidstring required

Response

typestring required
access_tokeninteger[] required