DescribeLiveInteractionMetricData
Queries the metric data for ApsaraVideo Real-time Communication.
Operation description
You can query data within the last 30 days. The query time span cannot exceed 24 hours.
Query granularity: 5 minutes.
QPS limit
The QPS limit for a single user is 50 calls per second. If this limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeLiveInteractionMetricData |
none |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MetricType |
string |
Yes |
The metric type. Valid values:
|
FirstFrameCost |
| BeginTs |
integer |
Yes |
The start time. The value is a UNIX timestamp in milliseconds. |
1698195600000 |
| EndTs |
integer |
Yes |
The end time. The value is a UNIX timestamp in milliseconds. |
1698201013000 |
| Os |
string |
No |
The operating system. Valid values: iOS and Android. |
Android |
| TerminalType |
string |
No |
The terminal type. Valid values: web and mobile. |
mobile |
| AppId |
string |
Yes |
The application ID. |
e4d7f08a-01fe-41b5-a091-fe41060a**** |
| ChannelId |
string |
No |
The channel ID. |
770513 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Nodes |
array<object> |
The node data. |
|
|
object |
The node data. |
||
| Timestamp |
string |
The query time. The value is a UNIX timestamp in milliseconds. |
1548670257000 |
| Value |
string |
The value of the metric. |
66.670000 |
| RequestId |
string |
The request ID. |
A01C98C5-25AE-124A-83FE-514DF5C5BE36 |
| SummaryData |
string |
The summary data. |
2000 |
Examples
Success response
JSON format
{
"Nodes": [
{
"Timestamp": "1548670257000",
"Value": "66.670000"
}
],
"RequestId": "A01C98C5-25AE-124A-83FE-514DF5C5BE36",
"SummaryData": "2000"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Meter.ParamError | Param Error:%s,Please Check Again. | An error message was returned. |
| 500 | Meter.ServerInternalError | The Request Processing Has Failed Due To Some Unknown Error. | An internal service error occurred. |
| 500 | Meter.DataSourceQueryError | Data Source Error:%s,Please Try Again. | A data query error occurred. |
| 403 | Meter.AuthError | Authentication Failed,Please Try Again. | Authentication failed. |
| 502 | Meter.ReadyTsError | Get ReadyTs Failed,Please Try Again. | The queried data is not ready yet. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.