更改旋转设置
Updated:
最终目标:
POSThttps://proxy-seller.com/personal/api/v2/{YourApiKey}/resident/list/rotation
路径参数
名称 | 价值 | 描述 |
|---|---|---|
授权 |
| 您的个人 API 密钥 |
请求正文
名称 | 类型 | 描述 |
|---|---|---|
id | 编号 | 列表ID |
技能循环 | 编号 | 您想要设置的新旋转值:“'-1' 表示不旋转(固定),'0' 表示按请求旋转,'1' 至 '3600' 表示以秒为单位的时间基准旋转” |
示例
https://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/resident/list/rotation
{
"id": 21829782,
"rotation": 121
}回复
{
"status": "success",
"data": {
"id": 21829782,
"title": "renamed list",
"login": "123123",
"password": "123123",
"whitelist": "",
"rotation": 121,
"geo": [
{
"country": "AD",
"region": "Andorra la Vella",
"city": "Andorra la Vella",
"isp": "Andorra Telecom, S.a.u."
}
],
"export": {
"ports": "1",
"ext": "csv"
}
},
"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
}
]
}