Request
Add parameter in header Authorization
Example:Authorization: ********************
Body Params application/json
{
"pageSize": "10",
"pageIndex": "1",
"deviceIds": "string",
"status": 0,
"startTime": "string",
"endTime": "string",
"fileStartTime": "string",
"fileEndTime": "string",
"taskId": "string"
}
Request Code Samples
curl --location --request POST 'https://mettahub.mettaxiot.com/gps/v2/openapi/video/history/upload/task' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"pageSize": "10",
"pageIndex": "1",
"deviceIds": "string",
"status": 0,
"startTime": "string",
"endTime": "string",
"fileStartTime": "string",
"fileEndTime": "string",
"taskId": "string"
}'
Responses
application/json {
"code": 0,
"data": {
"records": [
{
"id": "",
"deviceId": "",
"channelId": 0,
"status": 0,
"fileUrl": "",
"fileStartTime": "",
"fileEndTime": "",
"fileSize": 0.0,
"fileUploadSize": 0.0,
"createTime": "",
"uploadTime": ""
}
],
"total": 0,
"size": 0,
"current": 0
},
"msg": ""
}
Modified at 2025-09-19 11:23:31