DescribeAppRecordingFiles
Lists recording files.
Operation description
QPS limit
The QPS limit for this API is 10 requests per second per user. Exceeding this limit triggers rate limiting, which may affect your service. Call this API only when necessary.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
rtc:DescribeAppRecordingFiles |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
App ID. |
testappid |
| ChannelId |
string |
No |
Channel ID. |
311 |
| PageNo |
integer |
No |
Page number. |
1 |
| PageSize |
integer |
No |
Number of entries per page. |
10 |
| StartTs |
integer |
No |
Query range start time (open interval) for recording tasks, in milliseconds. If not specified, defaults to the past 3 days. You can query recordings up to one year old. |
1712376032000 |
| EndTs |
integer |
No |
The query range specifies the start time of the recording task. It is defined as a closed interval and measured in milliseconds (ms). |
1712376532000 |
| TaskIds |
array |
No |
List of recording task IDs. |
|
|
string |
No |
Specific task ID. |
task001 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
16A96B9A-F203-4EC5-8E43-CB92E68F4CF8 |
| PageNo |
integer |
Page number. |
1 |
| PageSize |
integer |
Number of entries per page. |
10 |
| TotalCnt |
integer |
Total count. |
10 |
| Items |
array<object> |
List of recording files. |
|
|
object |
|||
| ChannelId |
string |
Channel ID. |
testchannelId |
| TaskId |
string |
Recording task ID. |
test001 |
| FilePath |
string |
Path where the recording file is stored. Use the SDK of your cloud provider's Object Storage Service to access the file. For Alibaba Cloud OSS, see here. |
record/appid/12_task_local1/1712279809158_1712279844691/playlist.mp4 |
| FileSize |
integer |
Recording file size, in bytes. |
10000 |
| FileDuration |
integer |
Recording file duration, in milliseconds. |
200 |
| Vendor |
integer |
See vendor used when starting the recording task. |
1 |
| Region |
integer |
See region used in the recording task. |
1 |
| Bucket |
string |
User-defined bucket. |
rtc-bucket |
| StartTs |
integer |
Recording task start timestamp, in milliseconds. |
1712376012000 |
| FileCreateTs |
integer |
Recording file creation timestamp, in milliseconds. |
1712376032000 |
Examples
Success response
JSON format
{
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CF8",
"PageNo": 1,
"PageSize": 10,
"TotalCnt": 10,
"Items": [
{
"ChannelId": "testchannelId",
"TaskId": "test001",
"FilePath": "record/appid/12_task_local1/1712279809158_1712279844691/playlist.mp4",
"FileSize": 10000,
"FileDuration": 200,
"Vendor": 1,
"Region": 1,
"Bucket": "rtc-bucket",
"StartTs": 1712376012000,
"FileCreateTs": 1712376032000
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ApiParamError | API %s. | API parameter error |
| 500 | ServerInternalError | An internal error occurred. | Server Internal Error |
| 403 | BizAppError | A business application permission error occurred. | Business application permission error |
| 403 | BizUidError | A business UID error occurred. | Business primary account error |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.