Queries scheduled tasks for automatic start and stop.
Operation description
This operation queries information about scheduled tasks for automatic start and stop. When you call this operation, ensure that the parameters meet the requirements.
QPS limit
A single user can make a maximum of 10 queries per second (QPS). If you exceed this limit, API calls are throttled. This may affect your business. Therefore, call this operation at a reasonable rate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeAutoShowListTasks |
get |
*Caster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| CasterId |
string |
No |
The ID of the production studio whose scheduled tasks you want to query. Note
If you create a scheduled task by calling the InitializeAutoShowListTask operation, use the CasterId value returned by that operation. If you leave this parameter empty, all scheduled tasks under your account are queried by default. |
53200b81-b761-4c10-842a-a0726d97**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AutoShowListTasks |
string |
The list of scheduled tasks. The list contains the following parameters:
|
{"Status":0,"TranscodeConfig":{"CasterTemplate":"lp_hd", "LiveTemplate":["lhd","lsd"]}, "CasterId":"cce04ef3-2226-4865-8704-f84b8375****"} |
| RequestId |
string |
The request ID. |
16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 |
Examples
Success response
JSON format
{
"AutoShowListTasks": "{\"Status\":0,\"TranscodeConfig\":{\"CasterTemplate\":\"lp_hd\", \"LiveTemplate\":[\"lhd\",\"lsd\"]}, \"CasterId\":\"cce04ef3-2226-4865-8704-f84b8375****\"}",
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidUserId.Malformed | %s, please check userId. | The userId passed in is invalid, please check. |
| 400 | InvalidParameter.Malformed | There are invalid parameters: %s. | There are invalid parameters: %s. |
| 400 | InvalidCasterId.Malformed | %s, please check and try again later. | The parameter CasterId is invalid, please check and try again. |
| 400 | InvalidVodUrl.Malformed | %s, please check and try again later. | Parameter VodUrl is invalid, please check and try again. |
| 400 | MissingParameter | %s. | Missing parameter |
| 401 | IllegalOperation | %s, please check and try again later. | Operation not allowed, please check and try again. |
| 500 | InternalError | %s, please try again later. | Internal error, please try again later. |
| 404 | InvalidShowList.NotFound | %s, please check and try again later. | ShowList does not exist, please check and try again. |
| 404 | InvalidCaster.NotFound | %s, please check and try again later. | The guide station does not exist, please check and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.