List Robot Alarms
List robot alarm records for a specified robot with pagination.
Endpoint Information
Section titled “Endpoint Information”- Name: Query robot alarms
- Description: Returns alarm records for quadruped robots.
- Method:
POST - Path:
remoteApi/alarmPage - Login required: No
- Permission required: Yes
Request Parameters
Section titled “Request Parameters”| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| dogCode | String | No | 123 | Robot code |
| alarmCode | String | No | Alarm code | |
| startTime | String | No | Start time in yyyy-MM-dd HH:mm:ss format | |
| endTime | String | No | End time in yyyy-MM-dd HH:mm:ss format | |
| pageNo | Integer | No | Page number | |
| pageSize | Integer | No | Page size |
Example:
{ "dogCode": "DOG2011258510273380352", "alarmCode": "50001", "startTime": "2025-11-29 17:26:41", "endTime": "2026-11-29 17:26:41", "pageNo": 1, "pageSize": 100}Response
Section titled “Response”| Field | Type | Example | Description |
|---|---|---|---|
| dogName | String | Robot name | |
| dogCode | String | Robot code | |
| alarmTime | String | Alarm time in yyyy-MM-dd HH:mm:ss format | |
| alarmCode | String | Alarm code | |
| alarmContent | String | Alarm description |
Example:
{ "success": true, "code": 200, "msg": "Operation succeeded", "data": { "records": [ { "dogName": "M20", "dogCode": "DOG2011258510273380352", "alarmTime": "2026-01-14 11:16:56", "alarmCode": "50001", "alarmContent": "Camera control failed" } ], "total": 1, "size": 100, "current": 1, "pages": 1 }}Error Codes
Section titled “Error Codes”| Code | Description |
|---|---|
| 400 | Invalid parameters |
| 401 | Unauthorized |
| 403 | Access denied |
| 404 | Resource not found |
| 500 | Internal server error |