Proxy-seller

회전 설정 변경

Updated:

최종 결과물:

POSThttps://proxy-seller.com/personal/api/v2/{YourApiKey}/resident/list/rotation

경로 매개변수

이름

가치

설명

승인

<Your_API_Key>

개인 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
        }
    ]
}

On this page