- Start your Apidog journey
- Sample APIs
- Selamat datangGET
- List PerangkatGET
- 01-Office (Juniper)GET
- 101-Office-configGET
- 102-Office-interfacesGET
- 103-Office-vlansGET
- 104-Office-arp-tableGET
- 105-Office-interfaces_ipGET
- 106-Office-environmentGET
- 107-Office-usersGET
- 02-Branch (Cisco)GET
- 201-Branch-configGET
- 202-Branch-interfacesGET
- 203-Branch-interfaces_ipGET
- 204-Branch-arp_tableGET
- 205-Branch-mac_address_tableGET
- 206-Branch-snmpGET
- 207-Branch-environmentGET
- 03-Home (Mikrotik)GET
- 04-Ruko (Mikrotik)GET
- 401-Ruko-interfacesGET
- 402-Ruko-interfaces_ipGET
- 403-Ruko-get_mac_address_tableGET
- 404-Ruko-snmpGET
- 405-Ruko-usersGET
207-Branch-environment
Developing
GET
/devices/branch/napalm_get/environment
Request
None
Responses
🟢200Success
application/json
Body
branch
array [object {10}]Â
required
result
objectÂ
optional
host
objectÂ
optional
changed
booleanÂ
optional
diff
stringÂ
optional
failed
booleanÂ
optional
exception
nullÂ
optional
name
stringÂ
optional
severity_level
integerÂ
optional
stdout
nullÂ
optional
stderr
nullÂ
optional
Example
{
"branch": [
{
"result": {
"environment": {
"cpu": {
"0": {
"%usage": 2
}
},
"memory": {
"used_ram": 156981544,
"available_ram": 944996192
},
"temperature": {
"invalid": {
"is_alert": false,
"is_critical": false,
"temperature": -1
}
},
"power": {
"invalid": {
"status": true,
"output": -1,
"capacity": -1
}
},
"fans": {
"invalid": {
"status": true
}
}
}
},
"host": {},
"changed": false,
"diff": "",
"failed": false,
"exception": null,
"name": "Get branch environment",
"severity_level": 20,
"stdout": null,
"stderr": null
}
]
}
Modified at 2025-02-22 00:18:40