DescribeRealtimeScale

Last updated: 2021-01-21 17:42:00

1. API Description

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

This API is used to query the scale of an SDKAppID in the last 24 hours on a per-minute basis. The query period must be 1-60 minutes.

A maximum of 1 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: DescribeRealtimeScale.
Version Yes String Common parameter. The value used for this API: 2019-07-22.
Region Yes String Common parameter. For more information, please see the list of regions supported by the product. This API only supports: ap-guangzhou
StartTime Yes Integer Query start time in the format of local UNIX timestamp, such as 1588031999s, which is a point in time in the last 24 hours.
EndTime Yes Integer Query end time in the format of local UNIX timestamp, such as 1588031999s.
SdkAppId Yes String User sdkappid
DataType.N No Array of String Type of data to query
`UserNum: number of users in call;
RoomNum: number of rooms.

3. Output Parameters

Parameter Name Type Description
Data Array of RealtimeData Returned data array
RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

4. Example

Example1 Querying real-time scale

Input Example

https://trtc.tencentcloudapi.com/?Action=DescribeRealtimeScale
&SdkAppId=1400188366
&StartTime=1587879309
&EndTime=1587882309
&<Common request parameters>

Output Example

{
  "Response": {
    "Data": [
      {
        "Content": [
          {
            "Time": 1587879300,
            "Value": 4173
          },
          {
            "Time": 1587879360,
            "Value": 4241
          },
          {
            "Time": 1587879420,
            "Value": 4288
          },
          {
            "Time": 1587879480,
            "Value": 4338
          },
          {
            "Time": 1587879540,
            "Value": 4258
          },
          {
            "Time": 1587879600,
            "Value": 4282
          },
          {
            "Time": 1587879660,
            "Value": 4445
          },
          {
            "Time": 1587879720,
            "Value": 4507
          },
          {
            "Time": 1587879780,
            "Value": 4545
          },
          {
            "Time": 1587879840,
            "Value": 4590
          },
          {
            "Time": 1587879900,
            "Value": 4628
          },
          {
            "Time": 1587879960,
            "Value": 4769
          },
          {
            "Time": 1587880020,
            "Value": 4899
          },
          {
            "Time": 1587880080,
            "Value": 5031
          },
          {
            "Time": 1587880140,
            "Value": 5139
          },
          {
            "Time": 1587880200,
            "Value": 5286
          },
          {
            "Time": 1587880260,
            "Value": 5450
          },
          {
            "Time": 1587880320,
            "Value": 5575
          },
          {
            "Time": 1587880380,
            "Value": 5734
          },
          {
            "Time": 1587880440,
            "Value": 5879
          },
          {
            "Time": 1587880500,
            "Value": 5997
          },
          {
            "Time": 1587880560,
            "Value": 6156
          },
          {
            "Time": 1587880620,
            "Value": 6362
          },
          {
            "Time": 1587880680,
            "Value": 6522
          },
          {
            "Time": 1587880740,
            "Value": 6724
          },
          {
            "Time": 1587880800,
            "Value": 6958
          },
          {
            "Time": 1587880860,
            "Value": 7197
          },
          {
            "Time": 1587880920,
            "Value": 7359
          },
          {
            "Time": 1587880980,
            "Value": 7482
          },
          {
            "Time": 1587881040,
            "Value": 7558
          },
          {
            "Time": 1587881100,
            "Value": 7612
          },
          {
            "Time": 1587881160,
            "Value": 7686
          },
          {
            "Time": 1587881220,
            "Value": 7734
          },
          {
            "Time": 1587881280,
            "Value": 7758
          },
          {
            "Time": 1587881340,
            "Value": 7813
          },
          {
            "Time": 1587881400,
            "Value": 7875
          },
          {
            "Time": 1587881460,
            "Value": 7903
          },
          {
            "Time": 1587881520,
            "Value": 7724
          },
          {
            "Time": 1587881580,
            "Value": 7917
          },
          {
            "Time": 1587881640,
            "Value": 7940
          },
          {
            "Time": 1587881700,
            "Value": 7920
          },
          {
            "Time": 1587881760,
            "Value": 7532
          },
          {
            "Time": 1587881820,
            "Value": 7978
          },
          {
            "Time": 1587881880,
            "Value": 7992
          },
          {
            "Time": 1587881940,
            "Value": 8021
          },
          {
            "Time": 1587882000,
            "Value": 8065
          },
          {
            "Time": 1587882060,
            "Value": 8116
          },
          {
            "Time": 1587882120,
            "Value": 8165
          },
          {
            "Time": 1587882180,
            "Value": 8217
          },
          {
            "Time": 1587882240,
            "Value": 8059
          }
        ],
        "DataType": "UserNum"
      },
      {
        "Content": [
          {
            "Time": 1587879300,
            "Value": 792
          },
          {
            "Time": 1587879360,
            "Value": 802
          },
          {
            "Time": 1587879420,
            "Value": 809
          },
          {
            "Time": 1587879480,
            "Value": 814
          },
          {
            "Time": 1587879540,
            "Value": 800
          },
          {
            "Time": 1587879600,
            "Value": 796
          },
          {
            "Time": 1587879660,
            "Value": 817
          },
          {
            "Time": 1587879720,
            "Value": 821
          },
          {
            "Time": 1587879780,
            "Value": 833
          },
          {
            "Time": 1587879840,
            "Value": 855
          },
          {
            "Time": 1587879900,
            "Value": 871
          },
          {
            "Time": 1587879960,
            "Value": 916
          },
          {
            "Time": 1587880020,
            "Value": 953
          },
          {
            "Time": 1587880080,
            "Value": 999
          },
          {
            "Time": 1587880140,
            "Value": 1027
          },
          {
            "Time": 1587880200,
            "Value": 1046
          },
          {
            "Time": 1587880260,
            "Value": 1075
          },
          {
            "Time": 1587880320,
            "Value": 1088
          },
          {
            "Time": 1587880380,
            "Value": 1108
          },
          {
            "Time": 1587880440,
            "Value": 1122
          },
          {
            "Time": 1587880500,
            "Value": 1136
          },
          {
            "Time": 1587880560,
            "Value": 1157
          },
          {
            "Time": 1587880620,
            "Value": 1180
          },
          {
            "Time": 1587880680,
            "Value": 1185
          },
          {
            "Time": 1587880740,
            "Value": 1195
          },
          {
            "Time": 1587880800,
            "Value": 1211
          },
          {
            "Time": 1587880860,
            "Value": 1232
          },
          {
            "Time": 1587880920,
            "Value": 1238
          },
          {
            "Time": 1587880980,
            "Value": 1241
          },
          {
            "Time": 1587881040,
            "Value": 1242
          },
          {
            "Time": 1587881100,
            "Value": 1238
          },
          {
            "Time": 1587881160,
            "Value": 1246
          },
          {
            "Time": 1587881220,
            "Value": 1236
          },
          {
            "Time": 1587881280,
            "Value":