login
Login
Changed onLogin route.
Args: credentials (CredentialsInfo): User credentials.
Returns: TokenInfo: Token information.
post/api/v1/login
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/login
- Authnone required
Request body
Example request
{
"username": "admin",
"password": "secret-password"
}Response
Successful Response
Changes
- info
added the non-success response with the status
- info
- info
removed the non-success response with the status
- info