更改旋转设置
终点:
POSThttps://proxy-seller.com/personal/api/v1/{YourApiKey}/resident/list/rotation
路径参数
名称 | 价值 | 说明 |
|---|---|---|
授权 |
| 您的个人应用程序接口密钥 |
请求正文
名称 | 类型 | 说明 |
|---|---|---|
本我 | 数量 | 列表 ID |
自转 | 数量 | 您要设置的新旋转值,"'-1'表示不旋转(Sticky),'0'表示按请求旋转,'1'至'3600'表示按时间旋转(以秒为单位)"。 |
示例
https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/resident/list/rotation回应
{
"status": "success",
"data": {
"id": 561,
"title": "US Washington Garfield FIRST-STEP",
"login": "3c8aa1d4",
"password": "AZT62Dx3",
"whitelist": "127.0.0.1,192.168.0.1",
"rotation": "-1 = rotation, 0 = rotation per request, 1..3600 time in seconds",
"geo": {
"country": "US",
"region": "Washington",
"city": "Garfield",
"isp": "FIRST-STEP"
},
"export": {
"ports": 10000,
"ext": "txt"
}
},
"errors": []
}{
"status": "error",
"data": null,
"errors": [
{
"message": "Error api key",
"code": 503,
"customData": null
},
{
"message": "IP not allowed",
"code": 503,
"customData": null
},
{
"message": "Request limit reached",
"code": 503,
"customData": null
}
]
}{
"status": "error",
"data": null,
"errors": [
{
"message": "IP not allowed",
"code": 503,
"customData": null
}
]
}Same response in case with wrong rotation!
{
"status": "error",
"data": null,
"errors": [
{
"message": "not-found",
"code": 404,
"customData": null
},
{
"message": "not-found (404)",
"code": 0,
"customData": null
}
]
}