All Products
Search
Document Center

ApsaraVideo Live:DescribeLiveStreamsBlockList

更新時間:May 13, 2024

Queries the live streams that are blacklisted under a domain name.

Usage notes

You can call this operation to query the live streams that are blacklisted under a domain name. The domain name must be a main streaming domain.

QPS limit

You can call this operation up to 50 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation. For more information, see QPS limits.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter

Type

Required

Example

Description

Action String Yes DescribeLiveStreamsBlockList

The operation that you want to perform. Set the value to DescribeLiveStreamsBlockList.

DomainName String Yes example.com

The main streaming domain.

PageNum Integer No. 2

The page number. Default value: 1.

PageSize Integer No 10

The number of entries per page. Valid values: 1 to 3000. Default value: 2000.

Response parameters

Parameter

Type

Example

Description

PageNum Integer 2

The page number.

RequestId String 9D855EC8-CF71-4615-B164-F7DFCB23B41D

The request ID.

TotalPage Integer 2

The total number of pages.

PageSize Integer 10

The number of entries per page.

TotalNum Integer 11

The total number of entries that meet the specified conditions.

DomainName String example.com

The main streaming domain.

StreamUrls Array of String example.com/liveApp****/liveStream****

The complete streaming URL.

Examples

Sample requests

http(s)://live.aliyuncs.com/?Action=DescribeLiveStreamsBlockList
&DomainName=example.com
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeLiveStreamsBlockListResponse>
    <PageNum>2</PageNum>
    <RequestId>9D855EC8-CF71-4615-B164-F7DFCB23B41D</RequestId>
    <TotalPage>2</TotalPage>
    <PageSize>10</PageSize>
    <TotalNum>11</TotalNum>
    <DomainName>example.com</DomainName>
    <StreamUrls>example.com/liveApp****/liveStream****</StreamUrls>
</DescribeLiveStreamsBlockListResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "PageNum" : 2,
  "RequestId" : "9D855EC8-CF71-4615-B164-F7DFCB23B41D",
  "TotalPage" : 2,
  "PageSize" : 10,
  "TotalNum" : 11,
  "DomainName" : "example.com",
  "StreamUrls" : [ "example.com/liveApp****/liveStream****" ]
}

Error codes

For a list of error codes, see Service error codes.