User
login
post/user/login
Request
- Base URL/v1 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared
Request body
Example request
{
"password": "admin",
"username": "admin"
}Response
OK
Example response
{
"code": 200,
"expire": "2021-01-28T14:48:53+08:00",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}Changes
No recorded changes to this operation across all 7 revisions of this API.