query ip whitelist
POST
/api/ip_whitelist/queryRequest
Body Params application/json
filter
object
required
required
id
integer
optional
optional, specific record id
ip
string
optional
optional, specific ip
from_db
boolean
required
from db or cache
limit
integer
optional
query quantity for pagination
offset
integer
optional
query offset for pagination
Example
{
"from_db": true,
"filter": {},
"offset": 0,
"limit": 10
}
Request samples
Responses
result(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
array [object {5}]
required
query record result
created_unixtime
integer
optional
id
integer
optional
ip
string
optional
tag
string
optional
user_id
integer
optional
meta_message
string
required
success or other error msg
meta_status
integer
required
1 for success, negative for error
total_count
integer
required
total record quantity
Example
{
"data": [
{
"created_unixtime": 0,
"id": 0,
"ip": "string",
"tag": "string",
"user_id": 0
}
],
"meta_message": "string",
"meta_status": 0,
"total_count": 0
}
Last modified: 2 年前