ローテーション設定の変更
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
}
]
}