Home / Docs Center / Device API Reference / QueryDeviceBasic Info
QueryDeviceBasic Info
Project: Device API Documentation (New) | page_id: 361
Brief Description:
- Query device basic information
Request URL:
- /xsw/tmpInfo
Request Method:
- POST,GET
URL Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| - | - | - | - |
Response Example
{
"totalcount": "31902",
"ntpok": "",
"date": "2022-08-08 11:06:34
",
"cpu": "0",
"mem": "14",
"rtspbw": "165116",
"rtmpbw": "0",
"disk_total": "0",
"disk_free": "0",
"ip": "192.168.0.15",
"gateway": "192.168.0.1",
"mask": "255.255.255.0",
"dns1": "114.114.114.114",
"dns2": "114.114.114.114"
}
Response Parameter Description
| Parameter | Type | Description |
|---|---|---|
| totalcount | string | Uptime in seconds |
| ntpok | string | Public network status, empty means normal, otherwise abnormal |
| date | string | Device time |
| cpu | string | CPU percentage |
| mem | string | Memory percentage |
| rtspbw | string | Pull bandwidth in bit |
| rtmpbw | string | Push bandwidth in bit |
| disk_total | string | Total disk size in MB |
| disk_free | string | Free disk space in MB |
| ip | string | Device IP |
| ip_4g | string | Device IP in 4g mode |
| gateway | string | Gateway |
| mask | string | Subnet mask |
| dns1 | string | DNS1 |
| dns2 | string | DNS2 |
Didn't find what you need?Contact us,Talk to our engineers directly.