tencent cloud

Feedback

DescribeLiveDomainPlayInfoList

Last updated: 2022-03-31 16:19:21

1. API Description

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

This API is used to query the real-time downstream playback data at the domain name level. As it takes certain time to process data, the API queries quasi-real-time data generated 4 minutes ago by default.

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.
This document describes the parameters for Signature V1. It's recommended to use the V3 signature, which provides higher security. Note that for Signature V3, the common parameters need to be placed in the HTTP Header. See details.

Parameter Name Required Type Description
Action Yes String Common parameter. The value used for this API: DescribeLiveDomainPlayInfoList.
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.
PlayDomains.N No Array of String Playback domain name list.

3. Output Parameters

Parameter Name Type Description
Time String Data time in the format of yyyy-mm-dd HH:MM:SS.
TotalBandwidth Float Real-time total bandwidth.
TotalFlux Float Real-time total traffic.
TotalRequest Integer Total number of requests.
TotalOnline Integer Real-time total number of connections.
DomainInfoList Array of DomainInfoList Data by domain name.
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=DescribeLiveDomainPlayInfoList
&<Common request parameters>

Output Example

{
  "Response": {
    "DomainInfoList": [
      {
        "DetailInfoList": [
          {
            "Bandwidth": 309.998,
            "Flux": 18599.88,
            "MainlandOrOversea": "Mainland",
            "Online": 374,
            "Request": 175
          },
          {
            "Bandwidth": 0,
            "Flux": 0,
            "MainlandOrOversea": "Oversea",
            "Online": 0,
            "Request": 0
          }
        ],
        "Domain": "345.tencent.com"
      },
      {
        "DetailInfoList": [
          {
            "Bandwidth": 134351.765,
            "Flux": 8061105.9,
            "MainlandOrOversea": "Mainland",
            "Online": 130171,
            "Request": 102524
          },
          {
            "Bandwidth": 0,
            "Flux": 0,
            "MainlandOrOversea": "Oversea",
            "Online": 0,
            "Request": 0
          }
        ],
        "Domain": "123.tencent.com"
      }
    ],
    "RequestId": "04b76ebd-487d-4a7a-aca8-82060359feee",
    "Time": "2019-04-07 21:55:00",
    "TotalBandwidth": 2909181.92,
    "TotalFlux": 174550915.2,
    "TotalOnline": 2800396,
    "TotalRequest": 2446274
  }
}

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 Operation failed.
InvalidParameterValue Invalid parameter value.
UnsupportedOperation Unsupported operation.
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