Hosts
Get all hosts
This request will return all hosts to which you are connected.
GET
https://mobile.proxy-seller.com/api/v1/hosts
Exalpme
Headers
Content-Type
application/json
Authorization*
<YOUR_API_TOKEN>
Response
Get modems
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
hostId*
String
Id of host
Headers
Content-Type
application/json
Authorization*
<YOUR_API_TOKEN>
Response
Change host name
PATCH
https://mobile.proxy-seller.com/api/v1/hosts/{hostId}/changeName
This request change the name of host.
Example
Path parameters
hostId*
String
id of host
Headers
Content-Type
application/json
Authorization*
<YOUR_API_TOKEN>
Request body
name*
String
new host name
Example request body
Response
Reboot all modems
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
Content-Type
application/json
Authorization*
<YOUR_API_TOKEN>
Path Parameters
hostId*
String
id of host
Response
successful answer has no body, the success state is determined by the status 200
Export info all modems
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
Content-Type
application/json
Authorization*
<YOUR_API_TOKEN>
Path Parameters
hostId*
String
id of host
Body
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
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
Last updated