Схемы
CreateOrUpdateProxyCommentRequest
CreateOrUpdateProxyCommentRequest
- objectПример:
{"comment":"string"}
Свойства:comment
stringОбязательныйCommentПример:"string"
Максимальное количество элементов:255
OrderProxyRequest
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
objectProxy order filtersПример:{"geo_country":["RU"],"geo_region":["Tatarstan Republic"],"geo_city":["Kazan"],"geo_operator":["mts"],"type":["shared"],"protocol":["http"]}
period
integerОбязательныйOrder daysПример:1
price
stringОбязательныйOrder priceПример:"1.23"
ProxyResource
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","start_at":"2019-08-24T14:15:22Z","stop_at":"2019-08-24T14:15:22Z"}
Свойства:id
integer:int64Order idПример:1
login
string or nullLogin to connectПример:"string"
Максимальное количество элементов:255
password
string or nullPassword to connectПример:"string"
Максимальное количество элементов:255
protocol
stringProtocol to connectПример:"http"
Перечисление:http
socks5
host
stringHost/ip to connectПример:"string"
Максимальное количество элементов:255
port
integerPort to connectПример:8080
geo_country
stringCountry code in ISO-2Пример:"RU"
geo_city
string or nullCity nameПример:"Moscow"
Максимальное количество элементов:255
geo_operator
string or nullOperator nameПример:"mts"
Максимальное количество элементов:255
private
booleanProxy typeПример:true
comment
string or nullCommentПример:"string"
Максимальное количество элементов:255
rotate_ip_url
string or nullUrl to rotate proxy IP-addressПример:"string"
start_at
string:date-timeOrder start datetime (UTC ISO-8601)Пример:"2019-08-24T14:15:22Z"
stop_at
string:date-timeOrder expire datetime (UTC ISO-8601)Пример:"2019-08-24T14:15:22Z"
ErrorResponse
ErrorResponse
- objectПример:
{"message":"string","errors":{}}
Свойства:message
stringОбязательныйError messageПример:"string"
errors
object or nullInput validation errorsПример:{}
FiltersResponse
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>Country code in ISO-2Пример:["RU"]
Items:- stringПример:
"RU"
geo_region
array<string>Region nameПример:["Tatarstan Republic"]
Items:- stringПример:
"Tatarstan Republic"
geo_city
arrayCity nameПример:[{"geo_city":"Moscow","geo_country":"RU"}]
Items:- objectПример:
{"geo_city":"Moscow","geo_country":"RU"}
geo_operator
arrayOperator nameПример:[{"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>Proxy protocolПример:["http"]
Items:- stringПример:
"http"
Перечисление:http
socks5