The source of the alarmType comes from the 'alarmTypeList'
Request
Add parameter in header Authorization
Example:Authorization: ********************
Body Params application/json
{
"pageSize": "10",
"pageIndex": "1",
"deviceIds": "string",
"alarmType": "string",
"startTime": "string",
"endTime": "string"
}
Request Code Samples
curl --location --request POST 'https://mettahub.mettaxiot.com/gps/v2/openapi/alarm/file/page' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"pageSize": "10",
"pageIndex": "1",
"deviceIds": "string",
"alarmType": "string",
"startTime": "string",
"endTime": "string"
}'
Responses
application/json {
"code": 0,
"data": {
"records": [
{
"alarmId": "",
"alarmType": "",
"deviceName": "",
"deviceId": "",
"alarmTime": "",
"fileUrl": "",
"fileType": "",
"fileSize": 0.0
}
],
"total": 0,
"size": 0,
"current": 0
},
"msg": ""
}
Modified at 2025-03-27 02:10:44