跳转到主要内容
POST
/
v1
/
auth
/
login
用户登录
curl --request POST \
  --url https://api.runly.pro/v1/auth/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "identity": "dow@runly.me",
  "password": "<string>",
  "otp": "<string>"
}
'
{
  "status": {
    "code": 200,
    "message": "OK",
    "trace_id": "tr_login_123"
  },
  "data": {
    "access_token": "ey...",
    "me_id": "dow",
    "mfa_enabled": false,
    "nickname": "Dow"
  },
  "usage": {
    "latency_ms": 80
  }
}

请求体

application/json
identity
string
必填
示例:

"dow@runly.me"

password
string
otp
string

响应

200 - application/json

登录结果

status
object
必填
data
object
output
object
usage
object