Queries aggregated playback data of the player.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:DescribeVodPlayerCollectData |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The application ID. |
app-1000000 |
| StartTime |
string |
Yes |
The start time of the query. Format: yyyy-mm-ddthh:mm:ssz (UTC). Note
|
2025-06-24T00:55:06Z |
| EndTime |
string |
Yes |
The end time of the query. Format: yyyy-mm-ddthh:mm:ssz (UTC). |
2025-06-05T15:59:59Z |
| Interval |
string |
Yes |
The time granularity for the query data. Valid values: 5m, 1h, and 1d. The supported time granularity varies based on the time span specified by
|
1d |
| TerminalType |
string |
Yes |
The terminal type. Valid values:
|
web |
| Os |
string |
No |
The operating system of the playback device. Specify this parameter to perform a filtered query for playback data of a specific operating system. Valid values: Android, iOS, Harmony, Windows, MacOS, and Linux. The available values vary by terminal type:
Separate multiple values with #_#. |
Android、iOS、Windows |
| Metrics |
string |
Yes |
The metric type. You can specify up to 3 metrics. Note
Playback quality (QoS) metrics:
Playback experience (QoE) metrics:
|
Vv,Uv,AvgPerVv |
| Period |
string |
No |
The time range for period-over-period analysis, in days (d). For example, if you set this parameter to 1d (1 day), the period-over-period data is retrieved from the time range of StartTime-1d to EndTime-1d. |
1d |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
25818875-5F78-4AF6-D7393642CA58**** |
| DataList |
array<object> |
The returned data list. |
|
|
object |
|||
| Metric |
string |
The returned data metric. |
Vv |
| Value |
number |
The value of the returned data metric. |
100.0 |
| ValueRefer |
number |
The period-over-period value of the returned data metric. |
200.0 |
| ValueRatio |
number |
The period-over-period percentage. |
0.5 |
Examples
Success response
JSON format
{
"RequestId": "25818875-5F78-4AF6-D7393642CA58****",
"DataList": [
{
"Metric": "Vv",
"Value": 100,
"ValueRefer": 200,
"ValueRatio": 0.5
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Meter.ParamError | Param Error:%s,Please Check Again. | One or more parameters are invalid. |
| 500 | Meter.ServerInternalError | The Request Processing Has Failed Due To Some Unknown Error. | An internal error occurred. |
| 500 | Meter.DataSourceQueryError | Data Source Error:%s,Please Try Again. | An internal data source error occurred. |
| 403 | Meter.AuthError | Authentication Failed,Please Try Again. | You do not have permissions to perform this operation. |
| 502 | Meter.ReadyTsError | Get ReadyTs Failed,Please Try Again. | The data is not prepared. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.