post Order proxy.
/api/client/v1/order
Request Body
Content Type:
application/json
- Schema
- objectOrderProxyRequestExample:
{"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
objectProxy order filtersExample:{"geo_country":["RU"],"geo_region":["Tatarstan Republic"],"geo_city":["Kazan"],"geo_operator":["mts"],"type":["shared"],"protocol":["http"]}
period
integerRequiredOrder daysExample:1
price
stringRequiredOrder priceExample:"1.23"
Responses
200
OK
Content Type:
application/json
- Schema
- objectProxyResourceExample:
{"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"}
Properties:id
integer:int64Order idExample:1
login
string or nullLogin to connectExample:"string"
Maximum number of items:255
password
string or nullPassword to connectExample:"string"
Maximum number of items:255
protocol
stringProtocol to connectExample:"http"
Enum:http
socks5
host
stringHost/ip to connectExample:"string"
Maximum number of items:255
port
integerPort to connectExample:8080
geo_country
stringCountry code in ISO-2Example:"RU"
geo_city
string or nullCity nameExample:"Moscow"
Maximum number of items:255
geo_operator
string or nullOperator nameExample:"mts"
Maximum number of items:255
private
booleanProxy typeExample:true
comment
string or nullCommentExample:"string"
Maximum number of items:255
rotate_ip_url
string or nullUrl to rotate proxy IP-addressExample:"string"
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"
401
Unauthorized
Content Type:
application/json
- Schema
- objectErrorResponseExample:
{"message":"string","errors":{}}
Properties:message
stringRequiredError messageExample:"string"
errors
object or nullInput validation errorsExample:{}
422
Unprocessable Entity
Content Type:
application/json
- Schema
- objectErrorResponseExample:
{"message":"string","errors":{}}
Properties:message
stringRequiredError messageExample:"string"
errors
object or nullInput validation errorsExample:{}