Domain name for API request: iss.intl.tencentcloudapi.com.
This API is used to query the recording download task list in this store.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: ListVideoDownloadTask. |
| Version | Yes | String | Common Params. The value used for this API: 2023-05-17. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| DeviceName | No | String | Device name. Fuzzy search supported. |
| ChannelName | No | String | Channel name, used for fuzzy search |
| Status | No | Integer | Task status (0: preparing, 1: executing, 2: completed, 3: failure) |
| SortRule | No | String | Sorting rule (only StartTime is supported. A hyphen (-) indicates descending order, e.g., -StartTime) |
| WithPreviewUrl | No | Integer | Whether the response carries the preview address (0: without; 1: carry) |
| PageNumber | No | Integer | Page number |
| PageSize | No | Integer | Pagination size. |
| DownloadTaskId | No | String | Download task ID |
| UrlExpires | No | Integer | URL expiration time (in seconds), with a maximum value of 86400 seconds (1 day). |
| Date | No | String | Task date. Defaults to the current day. |
| Parameter Name | Type | Description |
|---|---|---|
| Data | ListVideoDownloadTaskData | Local recording download task list |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: iss.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ListVideoDownloadTask
<Common request parameters>
{}
{
"Response": {
"Data": {
"List": [
{
"ChannelCode": "310****00001320000001",
"ChannelId": "21098feb-57a4-4fbc-9435-************",
"ChannelName": "11",
"DeviceCode": "610*****01180000159",
"DeviceName": "NVR",
"DownloadTaskId": "e6651293-b5fa-4dbb-bfe0-************",
"DownloadTime": 7200,
"EndTime": "2024-10-22 12:29:02",
"Expire": 7,
"FailedReason": "",
"FileDownloadUrl": "https://*********.demo.cn/vds/lr/video.mp4?source=localrecord%2F7%2F21098feb-57a4-4fbc-9435-************%2F20241021%2Fe6651293-b5fa-4dbb-bfe0-************.mp4%3Bivc-test-new-251228313-ap-shanghai-1258344699%3Bap-shanghai%3B21098feb-57a4-4fbc-9435-*********%3B251228313%3B7000003*****9&intranet=0&expires=3600&signtime=1729675136&sign=1f9f2d21eb5e18b088f70f81*********",
"Scale": 2,
"StartTime": "2024-10-22 11:28:36",
"Status": 2,
"VideoSize": 967309246,
"VideoTimeSection": "2024-10-21 08:00:00-2024-10-21 10:00:00"
}
],
"TotalCount": 15
},
"RequestId": "f5447c9b-a7a6-42d5-b831-9e666bfbe261"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
フィードバック