회전 설정 변경
엔드포인트:
POSThttps://proxy-seller.com/personal/api/v1/{YourApiKey}/resident/list/rotation
경로 매개변수
이름 | 가치 | 설명 |
|---|---|---|
권한 부여 |
| 개인 API 키 |
요청 본문
이름 | 유형 | 설명 |
|---|---|---|
id | 번호 | 목록의 ID |
회전 | 번호 | 설정하려는 새 회전 값 "'-1'은 회전 없음(고정), '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
}
]
}