taskPage
POST
/v2/openapi/video/history/upload/taskRequest
Body Params application/json
pageSize
integer | null
optional
Default:
10
pageIndex
integer | null
optional
Default:
1
deviceIds
string | null
optional
deviceIds split by ,
status
integer | null
optional
0 failed 1 success 2 uploading 3 pending reply
startTime
string | null
optional
startTime yyyy-MM-dd HH:mm:ss Device Time Zone
The query interval must be less than 30 days
endTime
string | null
optional
endTime yyyy-MM-dd HH:mm:ss Device Time Zone
The query interval must be less than 30 days
Example
{
"pageSize": "10",
"pageIndex": "1",
"deviceIds": "string",
"status": 0,
"startTime": "string",
"endTime": "string"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
code
integer | null
optional
data
object (PageResult«ApiVideoHistoryFileVO»)
optional
records
array[object (ApiVideoHistoryFileVO) {11}] | null
optional
total
integer | null
optional
size
integer | null
optional
current
integer | null
optional
msg
string | null
optional
Example
{
"code": 0,
"data": {
"records": [
{
"id": "",
"deviceId": "",
"channelId": 0,
"status": 0,
"fileUrl": "",
"fileStartTime": "",
"fileEndTime": "",
"fileSize": 0,
"fileUploadSize": 0,
"createTime": "",
"uploadTime": ""
}
],
"total": 0,
"size": 0,
"current": 0
},
"msg": ""
}
Last modified: 1 个月前