tencent cloud

Feedback

DescribeLiveForbidStreamList

Last updated: 2023-09-06 15:06:27

1. API Description

Domain name for API request: live.tencentcloudapi.com.

This API is used to get the list of disabled streams.

Note: this API is used for query only and should not be relied too much upon in important business scenarios.

A maximum of 100 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeLiveForbidStreamList.
Version Yes String Common Params. The value used for this API: 2018-08-01.
Region No String Common Params. This parameter is not required for this API.
PageNum No Integer Page number to get. Default value: 1.
PageSize No Integer Number of entries per page. Maximum value: 100.
Value: any integer between 1 and 100.
Default value: 10.
StreamName No String Stream name for query

3. Output Parameters

Parameter Name Type Description
TotalNum Integer Total number of eligible ones.
TotalPage Integer Total number of pages.
PageNum Integer Page number.
PageSize Integer Number of entries displayed per page.
ForbidStreamList Array of ForbidStreamInfo List of forbidden streams.
RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

4. Example

Example1 Sample request

Input Example

https://live.tencentcloudapi.com/?Action=DescribeLiveForbidStreamList
&PageNum=1
&PageSize=10
&<Common request parameters>

Output Example

{
    "Response": {
        "ForbidStreamList": [
            {
                "StreamName": "5000_abcdefg",
                "CreateTime": "2019-01-16T12:00:00Z",
                "ExpireTime": "2019-04-16T12:00:00Z"
            }
        ],
        "TotalNum": 1,
        "TotalPage": 1,
        "PageNum": 1,
        "PageSize": 10,
        "RequestId": "8e50cdb5-56dc-408b-89b0-31818958d424"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
FailedOperation.CallOtherSvrFailed Failed to call the internal service.
InternalError Internal error.
InvalidParameter Invalid parameter.
InvalidParameterValue Invalid parameter value.
MissingParameter Parameter missing.
ResourceNotFound.ForbidService You are blocked.
ResourceNotFound.FreezeService Service suspended.
ResourceNotFound.StopService The service has been suspended due to account arrears. Please top up it to a positive balance to activate the service first.
ResourceNotFound.UserDisableService You disabled the service.
ResourceNotFound.UserNotExist The LVB service has not been activated.
Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support