Modifies a scene, including the layout, without invalidating the previous configurations.
Usage note
Compared with the SetCasterSceneConfig operation, this operation is more efficient.
QPS limit
A single user can perform a maximum of 10 queries per second (QPS). Throttling is triggered when the number of calls per second exceeds the QPS limit. The throttling may affect your business. Thus, we recommend that you observe the QPS limit on this operation. For more information about what a single user means and the QPS details, see QPS limit on an API operation in ApsaraVideo Live.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | UpdateCasterSceneConfig |
The operation that you want to perform. Set the value to UpdateCasterSceneConfig. |
CasterId | String | Yes | 80787064-1c94-4dc1-85ce-9409960a**** |
The ID of the production studio. If you create a production studio through the CreateCaster interface, check the value of the CasterId parameter in the response. If you create a production studio through the ApsaraVideo Live Console, log in to the console, then check the ID of the production studio through the following path: Production Studios > Production Studio Management Note The CasterId is reflected in the Name column on the Production Studio Management page.
|
LayoutId | String | Yes | eeab74fb-379d-4599-a93d-86d16a05**** |
The ID of the layout. It is included in the response when you call the AddCasterLayout operation. |
SceneId | String | Yes | 242b4e2c-c30f-4442-85ba-2e3e4e3d**** |
The ID of the scene. For more information about the scenes, see Query the scenes of production studios. |
RegionId | String | No | cn-shanghai |
The ID of the region. |
ComponentId.N | RepeatList | No | ["98778372-c30f-4442-85ba-2e3e4e3d****"] |
The ID of component N. Components in the scene are listed from the bottom to the top in an array. Note
The variable N indicates the sequence number of the component. Examples: The ComponentId.1 parameter specifies the ID of the first component. The ComponentId.2 parameter specifies the ID of the second component. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | CF60DB6A-7FD6-426E-9288-122CC1A52FA7 |
The ID of the request. |
Examples
Sample requests
http(s)://live.aliyuncs.com/?Action=UpdateCasterSceneConfig
&CasterId=80787064-1c94-4dc1-85ce-9409960a****
&LayoutId=eeab74fb-379d-4599-a93d-86d16a05****
&SceneId=242b4e2c-c30f-4442-85ba-2e3e4e3d****
&<Common request parameters>
Sample success responses
XML
format
<UpdateCasterSceneConfigResponse>
<RequestId>CF60DB6A-7FD6-426E-9288-122CC1A52FA7</RequestId>
</UpdateCasterSceneConfigResponse>
JSON
format
{
"RequestId": "CF60DB6A-7FD6-426E-9288-122CC1A52FA7"
}
Error codes
For a list of error codes, visit the API Error Center.