Queries a list of watermark rules.
Operation description
This operation supports pagination.
QPS limit
You can call this operation up to 60 times per second per account. Requests that exceed this limit are dropped and you may experience service interruptions.
Try it now
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
live:DescribeLiveStreamWatermarkRules | get | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
RegionId | string | No | The region ID. | cn-shanghai |
Domain | string | No | The streaming domain. | live.yourdomain.com |
PageNumber | integer | No | The page number. The default value is 1. | 1 |
PageSize | integer | No | The number of entries to return on each page. The default value is 100. | 100 |
Response elements
Element | Type | Description | Example |
object | |||
Total | integer | The total number of matching entries. | 100 |
RequestId | string | The request ID. | 5c6a2a0df228-4a64- af62-20e91b9676b3 |
| RuleInfoList | object | ||
| RuleInfo | array<object> | The list of watermark rules. | |
object | The list of watermark rules. | ||
Domain | string | The streaming domain. | example.aliyundoc.com |
Description | string | The custom description of the rule. | my rule |
App | string | The AppName of the live stream. | liveApp**** |
Stream | string | The stream name. The following matching methods are supported:
Important
| liveStreamA |
Name | string | The custom name of the rule. | WatermarkRule**** |
TemplateId | string | The ID of the watermark template. Note To obtain the template ID, check the response of the AddLiveStreamWatermark operation. | 445409ec-7eaa-461d-8f29-4bec2eb9 **** |
RuleId | string | The ID of the watermark rule. Note To obtain the rule ID, check the response of the AddLiveStreamWatermarkRule operation. | 445409ec-7eaa-461d -8f29-4bec2eb9**** |
Examples
Success response
JSON format
{
"Total": 100,
"RequestId": "5c6a2a0df228-4a64- af62-20e91b9676b3",
"RuleInfoList": {
"RuleInfo": [
{
"Domain": "example.aliyundoc.com",
"Description": "my rule",
"App": "liveApp****",
"Stream": "liveStreamA",
"Name": "WatermarkRule****",
"TemplateId": "445409ec-7eaa-461d-8f29-4bec2eb9 ****",
"RuleId": "445409ec-7eaa-461d -8f29-4bec2eb9****"
}
]
}
}Error codes
HTTP status code | Error code | Error message | Description |
400 | InvalidParameters | %s Please check and try again later. | Exception parameter exists, please check and try again. |
See for a complete list.
Release notes
See 变更详情 for a complete list.