Unable to render embedded object: File (Dark logo transperant background.png) not found.
You are viewing an old version of this content. View the current version.
Compare with Current View Version History
« Previous Version 2 Current »
Requires Authentication?
Yes
Response Formats
json
HTTP Methods
GET
Returns a list of all available Device Agents brief information.
http://{host}/api/2.0/device_agents/statistics/.format
http://44.235.52.211/api/2.0/device_agents/statistics/.json
[ { "DeviceAgent": { "id": 2002, "title": "enc2 (Encoder)", "application_type": 2, "application_id": 2 } }, { "DeviceAgent": { "id": 1003, "title": "Manager", "application_type": 3, "application_id": 1 } }, { "DeviceAgent": { "id": 1004, "title": "Default (Snmp Agent)", "application_type": 4, "application_id": 1 } } ]
Returns a detailed single specific Device Agent information.
http://{host}/api/2.0//device_agents/statistics/{app_id}/{app_type}/.format
Parameter
Data Type
Description
app_id(required)
integer
The ID of the specific agent, according to app_type parameter.
app_type(required)
The ID representation of the type of agent to be viewed.
http://44.235.52.211/api/2.0/device_agents/statistics/1/11/.json
{ "DeviceAgent": { "id": 1011, "title": "Web Server", "application_type": 11, "application_id": 1, "cpu": 0.62, "alocMem": 217096, "nonAlocMem": 932036, "modified": "1617954837327" } }