Retrieves the playback count within a specified time period, including the total count and the successful count.
Operation description
QPS limit The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately. For more information, refer to QPS limit.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeRTSNativeSDKVvData |
get |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StartTime |
string |
No |
The start time. This parameter is required. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
2021-12-10T20:00:00Z |
| EndTime |
string |
No |
The end time. This parameter is required. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
2021-12-10T21:00:00Z |
| DataInterval |
string |
No |
The time granularity. Valid values: 300, 3600, 14400, 28800, and 86400. Unit: seconds. If this parameter is not specified or the specified value is not supported, the default value 300 is used. |
300 |
| DomainNameList |
array |
No |
The array. |
|
|
string |
No |
By default, all domain names are queried (version 2.1.0 and later). You can also specify domain names. Separate multiple domain names with commas (,). A maximum of 500 domain names can be queried at a time. |
a.example.com |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| DataInterval |
string |
The time granularity. |
300 |
| EndTime |
string |
The end time. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2021-12-10T21:00:00Z |
| RequestId |
string |
Id |
16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 |
| StartTime |
string |
The start time. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2021-12-10T20:00:00Z |
| VvData |
array<object> |
The total playback count and total successful playback count for each time interval. Unit: count. |
|
|
object |
|||
| TimeStamp |
string |
The start time of the time interval. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2021-12-10T20:00:00Z |
| VvSuccess |
string |
The total number of successful playbacks within the specified time period. |
99 |
| VvTotal |
string |
The total number of playbacks within the specified time period. |
100 |
Examples
Success response
JSON format
{
"DataInterval": "300",
"EndTime": "2021-12-10T21:00:00Z",
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8",
"StartTime": "2021-12-10T20:00:00Z",
"VvData": [
{
"TimeStamp": "2021-12-10T20:00:00Z",
"VvSuccess": "99",
"VvTotal": "100"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Meter.ParamError | Param Error:%s,Please Check Again. | |
| 500 | Meter.ServerInternalError | The Request Processing Has Failed Due To Some Unknown Error. | |
| 500 | Meter.DataSourceQueryError | Data Source Error:%s,Please Try Again. | |
| 403 | Meter.AuthError | Authentication Failed,Please Try Again. | |
| 502 | Meter.ReadyTsError | Get ReadyTs Failed,Please Try Again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.