query account
POST
/api/account/query请求参数
Body Params application/json
filter
object
required
query condition
account_name
string
optional
specific account name
id
integer
optional
specific account id
from_db
boolean
required
form db or cache
limit
integer
optional
query quantity for pagination
offset
integer
optional
query offset for pagination
Example
{
"filter": {},
"from_db": true,
"offset": 0,
"limit": 10
}
示例代码
Responses
result(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
data
array [object {8}]
required
query record
account_name
string
optional
created_unixtime
integer
optional
id
integer
optional
password
string
optional
tag
string
optional
traffic_limit
integer
optional
traffic_used
integer
optional
user_id
integer
optional
meta_message
string
optional
success or other error msg
meta_status
integer
required
1 for success, negative for error
total_count
integer
required
total record quantity
Example
{
"data": [
{
"account_name": "string",
"created_unixtime": 0,
"id": 0,
"password": "string",
"tag": "string",
"traffic_limit": 0,
"traffic_used": 0,
"user_id": 0
}
],
"meta_message": "string",
"meta_status": 0,
"total_count": 0
}
Modified at 1 年前