query rotation proxy distribution
POST
/api/node/flat_distribution/rotation请求参数
Body Params application/json
stable_type
string
required
"short_session","middle_session", or "long_session"
short_session <=30min
middle_session 1-2hours
long_session 12-24hours
is_datacenter
boolean
required
true => datacenter, false => residential
next_level
string
required
distribution level, one of these value, "country","region","city","isp"
country_code
string
optional
if next level is region, city or isp, country_code is needed
region
string
optional
if next level is city, region is needed
node_count_filter
integer
required
default is 1, max is 100, only show location >= filter_value
Example
{
"stable_type": "short_session",
"next_level": "country",
"is_datacenter": true,
"Region": "",
"country_code": "",
"node_count_filter": 10
}
示例代码
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
distribution_map
object
required
map[location]
Additional properties
integer
optional
Example
{
"meta_message": "string",
"meta_status": 0,
"distribution_map": {
"property1": 0,
"property2": 0
}
}
Modified at 1 年前