edit-icon download-icon

DescribeLiveStreamsBlockList

Last Updated: Mar 19, 2018

Description

Get the live stream playback blacklist under the domain name.

Request parameters

Parameters Type Required Example values Description
Action String Yes DescribeLiveStreamsBlockList

The name of this interface. Value: DescribeLiveStreamsBlockList

DomainName String Yes www.yourdomain.com

Your Live domain name.

PageNum Integer No 2

Page munber.
Default value: 1

PageSize Integer No 10

Page size. Maximum: 3000. Range: random integer before 1~3000.
Default value: 2000

Return parameters

Parameters Type Example values Description
DomainName String play.aliyunlive.com

Your live domain name, which the streams belong to.

StreamUrls String play.aliyunlive.com/AppName/StreamName

Full list of streaming URLs.

RequestId String 40A4F36D-A7CC-473A-88E7-154F92242566

The ID of the job request.

PageNum Integer 2

Page number.

PageSize Integer 10

Page size

TotalNum Integer 11

The total number that comforms with the conditions.

TotalPage Integer 2

The total number of pages.

Example

Request example

  1. https://live.aliyuncs.com/?Action=DescribeLiveStreamsBlockList&DomainName=test101.aliyunlive.com&&PageSize=10&PageNum=2&<Public Request Parameter>

For more information, see Public Request Parameter.

Normal return example

JSON format

  1. {
  2. "DomainName":"test101.cdnpe.com",
  3. "PageNum":2,
  4. "PageSize":10,
  5. "RequestId":"9D855EC8-CF71-4615-B164-F7DFCB23B41D",
  6. "StreamUrls":{
  7. "StreamUrl":["test101.cdnpe.com/app/stream1"]
  8. },
  9. "TotalNum":11,
  10. "TotalPage":2
  11. }

Exception return example

JSON format

  1. {
  2. "Code":"InternalError",
  3. "HostId":"live.aliyuncs.com",
  4. "Message":"The request processing has failed due to some unknown error.",
  5. "RequestId":"6EBD1AC4-C34D-4AE1-963E-B688A228BE31"
  6. }

Error code

For more information about error code of this product, see Error code.

Thank you! We've received your feedback.