Schemas
CreateOrUpdateProxyCommentRequest
- objectExample:
{"comment":"string"}
Properties:comment
stringRequiredComment for the proxy. You can add any information you may need or want, but keep in mind the maximum length of the comment.Example:"string"
Maximum number of items:255
OrderProxyRequest
- objectExample:
{"filters":{"geo_country":["RU"],"geo_region":["Tatarstan Republic"],"geo_city":["Kazan"],"geo_operator":["mts"],"type":["shared"],"protocol":["http"]},"period":1,"price":"1.23"}
Properties:filters
object or nullProxy order filtersExample:{"geo_country":["RU"],"geo_region":["Tatarstan Republic"],"geo_city":["Kazan"],"geo_operator":["mts"],"type":["shared"],"protocol":["http"]}
period
integerRequiredProxy's duration period (in days)Example:1
price
stringRequiredProxy's purchase price (in USD)Example:"1.23"
UpdateProxyRequest
- objectExample:
{"rotate_ip_freq":5}
Properties:rotate_ip_freq
integerIP address rotation frequency in minutes (0 - disabled)Example:5
<= 60
>= 0
ProxyResource
- objectExample:
{"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"}
Properties:id
integer:int64Order ID, generated by the OnlineProxy server upon purchasing the proxy.Example:1
login
string or nullLogin, use it to connect to the proxy server.Example:"string"
Maximum number of items:255
password
string or nullPassword, use it to connect to the proxy server.Example:"string"
Maximum number of items:255
protocol
stringThe protocol type required to connect to the proxy server.Example:"http"
Enum:http
socks5
host
stringHost or IP address of a proxy server.Example:"string"
Maximum number of items:255
port
integerPort of a proxy server.Example:8080
geo_country
stringThe country of origin of the proxy server. Country codes are in ISO 3166-1 alpha-2 format.
Example:"RU"
geo_city
string or nullCity name where proxy server is located.Example:"Moscow"
Maximum number of items:255
geo_operator
string or nullName of the operator of the proxy server.Example:"mts"
Maximum number of items:255
private
booleanProxy typeExample:true
comment
string or nullComment assigned to the current proxy (if any).Example:"string"
Maximum number of items:255
rotate_ip_url
string or nullURL for IP address rotationExample:"string"
rotate_ip_freq
integerIP address rotation frequency in minutes (0 - disabled)Example:5
<= 60
>= 0
start_at
string:date-timeOrder start datetime UTC ISO-8601
Example:"2019-08-24T14:15:22Z"
stop_at
string:date-timeOrder expire datetime UTC ISO-8601
Example:"2019-08-24T14:15:22Z"
ErrorResponse
- objectExample:
{"message":"string","errors":{}}
Properties:message
stringRequiredError messageExample:"string"
errors
object or nullInput validation errorsExample:{}
FiltersResponse
- objectExample:
{"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"]}
Properties:geo_country
array<string>The country of origin of the proxy server. Country codes are in ISO 3166-1 alpha-2 format.
Example:["RU"]
Items:- stringExample:
"RU"
geo_region
array<string>Region name where server is locatedExample:["Tatarstan Republic"]
Items:- stringExample:
"Tatarstan Republic"
geo_city
arrayCity name where proxy server is located.Example:[{"geo_city":"Moscow","geo_country":"RU"}]
Items:- objectExample:
{"geo_city":"Moscow","geo_country":"RU"}
geo_operator
arrayName of the operator of the proxy server.Example:[{"geo_operator":"mts","geo_country":"RU"}]
Items:- objectExample:
{"geo_operator":"mts","geo_country":"RU"}
type
array<string>Proxy typeExample:["shared"]
Items:- stringExample:
"shared"
Enum:private
shared
protocol
array<string>Protocol typeExample:["http"]
Items:- stringExample:
"http"
Enum:http
socks5