Get List of Routes
Requests
GET /api/gateway/[Device ID]/routes
cookie: sessionID: [Session ID]
Parameters
N/A
Response
{
"data": { [
<Array of Route Objects>
]},
"numPages": 1,
"numResults": 3,
"numActiveOutputConnections": 1,
"pendingRouteCreates": 1
}
Name | Type | Description |
|---|---|---|
data | object | Data object, including route objects (see Route Object Model for definition). |
numPages | number | Number of pages of routes. See the above tip on using the numPages attribute. |
numResults | number | Number of available routes. |
numActiveOutputConnections | number | Number of currently active outputs. |
pendingRouteCreates | number | Number of routes that are pending creation, and that are not yet listed. |