令牌管理
curl -X GET "https://loading/api/token/"Empty
创建令牌
Request Body
application/json
id?integer
user_id?integer
name?string
key?string
status?integer
expired_time?integer
remain_quota?integer
unlimited_quota?boolean
Response Body
curl -X POST "https://loading/api/token/" \ -H "Content-Type: application/json" \ -d '{}'Empty
更新令牌
Request Body
application/json
id?integer
user_id?integer
name?string
key?string
status?integer
expired_time?integer
remain_quota?integer
unlimited_quota?boolean
Response Body
curl -X PUT "https://loading/api/token/" \ -H "Content-Type: application/json" \ -d '{}'Empty
curl -X GET "https://loading/api/token/search"Empty
curl -X GET "https://loading/api/token/0"Empty
curl -X DELETE "https://loading/api/token/0"Empty
curl -X POST "https://loading/api/token/batch" \ -H "Content-Type: application/json" \ -d '{}'Empty
curl -X GET "https://loading/api/usage/token/" \ -H "Authorization: "Empty