DescribeStreamDayPlayInfoList

Last updated: 2020-07-14 18:07:48

1. API Description

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

This API is used to query the playback data of each stream at the day level, including the total traffic.

A maximum of 500 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 parameter. The value used for this API: DescribeStreamDayPlayInfoList.
Version Yes String Common parameter. The value used for this API: 2018-08-01.
Region No String Common parameter. This parameter is not required for this API.
DayTime Yes String Date in the format of YYYY-mm-dd.
Data is available at 3 AM the next day. You are recommended to query the latest data after this time point.
PlayDomain No String Playback domain name.
PageNum No Integer Page number. Value range: [1,1000]. Default value: 1.
PageSize No Integer Number of entries per page. Value range: [100,1000]. Default value: 1,000.

3. Output Parameters

Parameter Name Type Description
DataInfoList Array of PlayDataInfoByStream Playback data information list.
TotalNum Integer Total number.
TotalPage Integer Total number of pages.
PageNum Integer Page number where the current data resides.
PageSize Integer Number of entries per page.
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=DescribeStreamDayPlayInfoList
&PlayDomain=5000.livepush.com
&DayTime=2019-02-21
&PageNum=1
&PageSize=1000
&<Common request parameters>

Output Example

{
  "Response": {
    "DataInfoList": [
      {
        "StreamName": "test1",
        "TotalFlux": 500.0
      }
    ],
    "TotalNum": 100,
    "TotalPage": 1,
    "PageNum": 1,
    "PageSize": 1000,
    "RequestId": "8e50cdb5-56dc-408b-89b0-31818958d424"
  }
}

5. Developer Resources

API Explorer

This tool allows online call, signature authentication, SDK code generation and quick search of APIs to greatly improve the efficiency of using TencentCloud APIs.

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 Operation failed.
InternalError Internal error.
InvalidParameter Invalid parameter.
InvalidParameterValue Wrong parameter value.

Was this page helpful?

Was this page helpful?

  • Not at all
  • Not very helpful
  • Somewhat helpful
  • Very helpful
  • Extremely helpful
Send Feedback
Help