DescribeToutiaoLivePlay
Queries the stream pulling information for a specified live stream on Toutiao.
Operation description
Queries the stream pulling information for a specified live stream on Toutiao.
QPS limits
The QPS limit for a single user is 100 queries per second. If the limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate. For more information, see QPS limits.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeToutiaoLivePlay |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| StartTime |
string |
Yes |
The start time of the data to retrieve. Specify the time in the ISO 8601 standard in UTC. |
2017-10-10T20:00:00Z |
| EndTime |
string |
Yes |
The end time must be later than the start time. The time span cannot exceed 10 hours. If both StartTime and EndTime are left empty, the data of the current hour is queried by default. Specify the time in the ISO 8601 standard in UTC. |
2017-10-10T21:00:00Z |
| Domain |
string |
Yes |
The streaming domain. |
example.com |
| Stream |
string |
Yes |
The stream name. |
liveStream**** |
| App |
string |
Yes |
The name of the application to which the stream belongs. |
liveApp**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Description |
string |
The description of the response status. |
OK |
| RequestId |
string |
The request ID. |
16A96B9A-F203-4EC5-8E43-CB92E68F**** |
| Content |
array<object> |
The details of the stream information. |
|
|
object |
The details of the stream information. |
||
| Domain |
string |
The streaming domain. |
example.com |
| Bandwidth |
number |
The bandwidth. Unit: Mbit/s. |
0.0801239013671875 |
| StreamName |
string |
The stream name. |
liveStream**** |
| App |
string |
The name of the application to which the stream belongs. |
liveApp**** |
| PlayNum |
integer |
The number of viewers. |
452 |
| Timestamp |
integer |
The timestamp. |
1625484600 |
| CdnName |
string |
The name of the CDN. |
ali |
Examples
Success response
JSON format
{
"Description": "OK",
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F****",
"Content": [
{
"Domain": "example.com",
"Bandwidth": 0.0801239013671875,
"StreamName": "liveStream****",
"App": "liveApp****\n",
"PlayNum": 452,
"Timestamp": 1625484600,
"CdnName": "ali"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.