List all endpoints for a gateway
The list all endpoints for a gateway request allows the client applications to retrieve a list of all device serial numbers that are connected to a particular gateway by specifying the startOffset and endOffset values. It also allows the client application to retrieve the count of all devices that are connected to the specified gateway by setting the startOffset and endOffset values to 0.
List all endpoints for a gateway describes the structure of the API.
Title | List all endpoints for a gateway |
---|---|
URL | http://<impact_url>/m2m/endpoints/gateway/{GatewaySerialNumber}?startOffset=<>&endOffset=<> |
Method | GET |
Content-Type | application/json |
URL Params |
The URL parameters are:
|
Data Params |
None |
Success Code |
Response Code: 200 |
Error Code |
401 : Unauthorized 403 : Forbidden 404 : Not Found |
Sample Call | Curl:
Response
|
Notes |
With this request, client applications can also retrieve the total number of devices linked to a particular gateway by setting the startOffset and endOffset parameters to 0. In this case, IMPACT IoT does not return any device serial number. Example:
|