v1

latestSwagger 2.0Apache 2.02026-07-17251774.1 KB
User

login

post/user/login

Request body

passwordstring
usernamestring

Example request

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

Response

OK

codeinteger
expirestring
tokenstring

Example response

{
  "code": 200,
  "expire": "2021-01-28T14:48:53+08:00",
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}