Hosts
Last updated
Last updated
This request will return all hosts to which you are connected.
GET
https://mobile.proxy-seller.com/api/v1/hosts
Exalpme
Headers
Name | Value |
---|---|
Response
GET
https://mobile.proxy-seller.com/api/v1/hosts/{hostId}/modems
This query will return all your modems that are connected to the specified host ID
Example
Path Parameters
Headers
Response
PATCH
https://mobile.proxy-seller.com/api/v1/hosts/{hostId}/changeName
This request change the name of host.
Example
Path parameters
Headers
Request body
Example request body
Response
Reboot all modems within the host.
PATCH
https://mobile.proxy-seller.com/api/v1/hosts/{hostId}/reboot
This request reboot all modems on the selected host.
Example:
Headers
Path Parameters
Response
successful answer has no body, the success state is determined by the status 200
Downloading information from all modems within the host.
POST
https://mobile.proxy-seller.com/api/v1/hosts/{hostId}/export
This request return file with modems info form one selected host
Example:
Headers
Path Parameters
Body
format can consist of the values: "%number%, %ip%, %use%". The values should be specified in any order you like, comma-separated, without spaces. in case of absence of format, the default format is used.
Example request body:
Response
Name | Type | Description |
---|---|---|
Name | Value |
---|---|
Name | Type | Description |
---|---|---|
Name | Value |
---|---|
Name | Type | Description |
---|---|---|
Name | Value |
---|---|
Name | Type | Description |
---|---|---|
Name | Value |
---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Content-Type
application/json
Authorization*
<YOUR_API_TOKEN>
hostId*
String
Id of host
Content-Type
application/json
Authorization*
<YOUR_API_TOKEN>
hostId*
String
id of host
Content-Type
application/json
Authorization*
<YOUR_API_TOKEN>
name*
String
new host name
Content-Type
application/json
Authorization*
<YOUR_API_TOKEN>
hostId*
String
id of host
Content-Type
application/json
Authorization*
<YOUR_API_TOKEN>
hostId*
String
id of host
extension*
enum: ["txt", "csv", "xlsx"]
file extension for which the data will be formatted
fileName
String
name of file
format
String
the column order of the source file