API 参考
校验 API 令牌
检查 API 令牌是否有效,有效时返回令牌及其过期时间。
POST
API token to validate
application/json- body
token*stringYour API token to validate
Length
length <= 255OK
application/json- response
code?integerResponse status code (200 indicates success)
data?Token validation result
message?stringHuman-readable status message
curl -X POST 'https://s.ee/api/v1/token/check' \ -H 'Content-Type: application/json' \ -d '{ "token": "string"}'Example Response200
{ "code": 0, "data": { "expires_at": 0, "token": "string", "valid": true }, "message": "string"}