Proxy-seller

회전 변경

Updated:

엔드포인트:

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

경로 매개변수:

이름

가치

설명

권한 부여

<Your_API_Key>

개인 API 키

요청 본문:

이름

유형

설명

id

번호

생성된 목록의 ID

회전

번호

설정하려는 새 회전 값 "-1" - 회전 없음(고정), "0" - 요청당 회전, "1"-"3600" - 시간(초) 단위 회전

패키지_키

문자열

로테이션을 변경하려는 하위 사용자의 패키지 키

예시:

https://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/residentsubuser/list/rotation

응답:

{
    "status": "success",
    "data": {
        "id": 20483779,
        "title": "Andorra Telecom, S.a.u.",
        "login": "b5bb75973e04a569",
        "password": "nMqaohvXmSk1CF2t",
        "whitelist": "",
        "rotation": "-1 = rotation, 0 = rotation per request, 1..60 time in seconds",
        "geo": [
            {
                "country": "AD",
                "region": "Andorra La Vella",
                "city": "Andorra La Vella",
                "isp": "Andorra Telecom, S.a.u."
            }
        ],
        "export": {
            "ports": 1000,
            "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
        }
    ]
}
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "Tarif not found",
            "code": 0,
            "customData": null
        }
    ]
}

On this page

회전 변경 | Proxy-seller