get user info
GET
/api/user/infoRequest
None
Request samples
Responses
result(200)
HTTP Code: 200
Content Type : 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
}
}
Last modified: 2 年前