get user info
GET
/api/user/info请求参数
无
示例代码
Responses
result(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
meta_message
string
required
success or other error msg
meta_status
integer
required
1 for success, negative for error
user
object
required
user info
account_limit
integer
optional
created_unixtime
integer
optional
email
string
optional
forbidden
boolean
optional
id
integer
optional
is_super_token
boolean
optional
parent_user_id
integer
optional
password
string
optional
permissions
array[string]
optional
reference_key
string
optional
reference_user_id
integer
optional
register_continent_code
string
optional
register_country_code
string
optional
register_ipv4
string
optional
register_region
string
optional
roles
array[string]
optional
subsidy_rate
number
optional
token
string
optional
user_tag
string
optional
whitelist_limit
integer
optional
Example
{
"meta_message": "string",
"meta_status": 0,
"user": {
"account_limit": 0,
"created_unixtime": 0,
"email": "string",
"forbidden": true,
"id": 0,
"is_super_token": true,
"parent_user_id": 0,
"password": "string",
"permissions": [
"string"
],
"reference_key": "string",
"reference_user_id": 0,
"register_continent_code": "string",
"register_country_code": "string",
"register_ipv4": "string",
"register_region": "string",
"roles": [
"string"
],
"subsidy_rate": 0,
"token": "string",
"user_tag": "string",
"whitelist_limit": 0
}
}
Modified at 1 年前