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.
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 3am Beijing Time the next day. You are recommended to query the latest data after this time point. Data in the last 3 months can be queried. |
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. |
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. |
https://live.tencentcloudapi.com/?Action=DescribeStreamDayPlayInfoList
&PlayDomain=5000.livepush.com
&DayTime=2019-02-21
&PageNum=1
&PageSize=1000
&<Common request parameter>
{
"Response": {
"DataInfoList": [
{
"StreamName": "test1",
"TotalFlux": 500.0
}
],
"TotalNum": 100,
"TotalPage": 1,
"PageNum": 1,
"PageSize": 1000,
"RequestId": "8e50cdb5-56dc-408b-89b0-31818958d424"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
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 | Invalid parameter value. |
Was this page helpful?