Switches a production studio to the standby resource.
Operation description
You can call this operation to urgently switch a specified scene to the standby video. This operation applies only to Program (PGM) scenes.
QPS limit
The queries per second (QPS) limit for this operation is 10 per user. If you exceed this limit, API calls are throttled, which may impact your business.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:EffectCasterUrgent |
get |
*Caster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The ID of the region. |
cn-shanghai |
| CasterId |
string |
Yes |
The ID of the production studio.
Note
The name of the production studio in the list on the Cloud Production Studio page is the production studio ID. |
80787064-1c94-4dc1-85ce-9409960a**** |
| SceneId |
string |
Yes |
The ID of the scene. This parameter is valid only for PGM scenes. Call the DescribeCasterScenes operation to query the scene ID of the production studio. |
242b4e2c-c30f-4442-85ba-2e3e4e3d**** |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
CF60DB6A-7FD6-426E-9288-122CC1A52FA7 |
Examples
Success response
JSON format
{
"RequestId": "CF60DB6A-7FD6-426E-9288-122CC1A52FA7"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidCasterId.Malformed | %s | |
| 400 | InvalidUserId.Malformed | %s | |
| 400 | InvalidSceneId.Malformed | %s | |
| 400 | IncorrectSceneStatus | %s | |
| 400 | IncorrectSceneStatus.Idle | %s | |
| 400 | IncorrectChannel.Disable | %s | |
| 400 | InvalidParameter.Malformed | %s | |
| 401 | IllegalOperation | %s | |
| 500 | InternalError | %s | |
| 404 | InvalidCaster.NotFound | %s | |
| 404 | InvalidUrgentMaterial.NotFound | %s | |
| 404 | InvalidScene.NotFound | %s | |
| 404 | InvalidResource.NotFound | %s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.