IP交換
このエンドポイントを使用すると、IP交換リクエストを自動化できます。リクエストの処理には時間がかかる場合がありますのでご注意ください。
1日1回、1つのプロキシに対してIP交換をリクエストできます。
終点:
POSThttps://proxy-seller.com/personal/api/v1/{YourApiKey}/proxy/replace
経路パラメータ
名称 | 価値 | 説明 |
|---|---|---|
認可 |
| 個人APIキー(取得方法) |
リクエスト本文
名称 | タイプ | 説明 |
|---|---|---|
子供たち | 番号 | カンマで区切られた単一のID、または'[ ]'内のIDの配列 |
コメント | ストリング | リクエストに含めるオプションのコメント |
タイプ | ストリング | 交換の種類 |
例
https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/proxy/replace応答
{
"status": "success",
"data": {
"ok": {
"ips": [
"31.6.33.97"
],
"msg": "Replacement request submitted"
}
},
"errors": []
}間違ったAPIキー
{
"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": "Set coorect type: NOT_WORK / INCORRECT_LOCATION / CANT_CHANGE_NETWORK / LOW_SPEED / CUSTOM",
"code": 0,
"customData": null
}
]
}交換の種類:動作しない、位置が正しくない、ネットワークが変更できない、低速、カスタム