Схемы

CreateOrUpdateProxyCommentRequest

  • object
    Пример: {"comment":"string"}
    Свойства:
    • comment
      string
      Обязательный
      Comment for the proxy. You can add any information you may need or want, but keep in mind the maximum length of the comment.
      Пример: "string"
      Максимальное количество элементов: 255

OrderProxyRequest

  • object
    Пример: {"filters":{"geo_country":["RU"],"geo_region":["Tatarstan Republic"],"geo_city":["Kazan"],"geo_operator":["mts"],"type":["shared"],"protocol":["http"]},"period":1,"price":"1.23"}
    Свойства:
    • filters
      object or null
      Proxy order filters
      Пример: {"geo_country":["RU"],"geo_region":["Tatarstan Republic"],"geo_city":["Kazan"],"geo_operator":["mts"],"type":["shared"],"protocol":["http"]}
    • period
      integer
      Обязательный
      Proxy's duration period (in days)
      Пример: 1
    • price
      string
      Обязательный
      Proxy's purchase price (in USD)
      Пример: "1.23"

UpdateProxyRequest

  • object
    Пример: {"rotate_ip_freq":5}
    Свойства:
    • rotate_ip_freq
      integer
      IP address rotation frequency in minutes (0 - disabled)
      Пример: 5
      <= 60
      >= 0

ProxyResource

  • object
    Пример: {"id":1,"login":"string","password":"string","protocol":"http","host":"string","port":8080,"geo_country":"RU","geo_city":"Moscow","geo_operator":"mts","private":true,"comment":"string","rotate_ip_url":"string","rotate_ip_freq":5,"start_at":"2019-08-24T14:15:22Z","stop_at":"2019-08-24T14:15:22Z"}
    Свойства:
    • id
      integer:int64
      Order ID, generated by the OnlineProxy server upon purchasing the proxy.
      Пример: 1
    • login
      string or null
      Login, use it to connect to the proxy server.
      Пример: "string"
      Максимальное количество элементов: 255
    • password
      string or null
      Password, use it to connect to the proxy server.
      Пример: "string"
      Максимальное количество элементов: 255
    • protocol
      string
      The protocol type required to connect to the proxy server.
      Пример: "http"
      Перечисление: http socks5
    • host
      string
      Host or IP address of a proxy server.
      Пример: "string"
      Максимальное количество элементов: 255
    • port
      integer
      Port of a proxy server.
      Пример: 8080
    • geo_country
      string

      The country of origin of the proxy server. Country codes are in ISO 3166-1 alpha-2 format.

      Пример: "RU"
    • geo_city
      string or null
      City name where proxy server is located.
      Пример: "Moscow"
      Максимальное количество элементов: 255
    • geo_operator
      string or null
      Name of the operator of the proxy server.
      Пример: "mts"
      Максимальное количество элементов: 255
    • private
      boolean
      Proxy type
      Пример: true
    • comment
      string or null
      Comment assigned to the current proxy (if any).
      Пример: "string"
      Максимальное количество элементов: 255
    • rotate_ip_url
      string or null
      URL for IP address rotation
      Пример: "string"
    • rotate_ip_freq
      integer
      IP address rotation frequency in minutes (0 - disabled)
      Пример: 5
      <= 60
      >= 0
    • start_at
      string:date-time

      Order start datetime UTC ISO-8601

      Пример: "2019-08-24T14:15:22Z"
    • stop_at
      string:date-time

      Order expire datetime UTC ISO-8601

      Пример: "2019-08-24T14:15:22Z"

ErrorResponse

  • object
    Пример: {"message":"string","errors":{}}
    Свойства:
    • message
      string
      Обязательный
      Error message
      Пример: "string"
    • errors
      object or null
      Input validation errors
      Пример: {}

FiltersResponse

  • object
    Пример: {"geo_country":["RU"],"geo_region":["Tatarstan Republic"],"geo_city":[{"geo_city":"Moscow","geo_country":"RU"}],"geo_operator":[{"geo_operator":"mts","geo_country":"RU"}],"type":["shared"],"protocol":["http"]}
    Свойства:
    • geo_country
      array<string>

      The country of origin of the proxy server. Country codes are in ISO 3166-1 alpha-2 format.

      Пример: ["RU"]
      Items:
      • string
        Пример: "RU"
    • geo_region
      array<string>
      Region name where server is located
      Пример: ["Tatarstan Republic"]
      Items:
      • string
        Пример: "Tatarstan Republic"
    • geo_city
      array
      City name where proxy server is located.
      Пример: [{"geo_city":"Moscow","geo_country":"RU"}]
      Items:
      • object
        Пример: {"geo_city":"Moscow","geo_country":"RU"}
    • geo_operator
      array
      Name of the operator of the proxy server.
      Пример: [{"geo_operator":"mts","geo_country":"RU"}]
      Items:
      • object
        Пример: {"geo_operator":"mts","geo_country":"RU"}
    • type
      array<string>
      Proxy type
      Пример: ["shared"]
      Items:
      • string
        Пример: "shared"
        Перечисление: private shared
    • protocol
      array<string>
      Protocol type
      Пример: ["http"]
      Items:
      • string
        Пример: "http"
        Перечисление: http socks5