DescribeAppRecordingFiles

Updated at:

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

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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.