Sets all parameters, and configures and applies a layout for a scene of a production studio. If a parameter is not specified, the scene does not have the relevant configuration.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes SetCasterSceneConfig

The operation that you want to perform. Set the value to SetCasterSceneConfig.

CasterId String Yes 80787064-1c94-4dc1-85ce-9409960a****

The ID of the production studio.

SceneId String Yes 242b4e2c-c30f-4442-85ba-2e3e4e3d****

The ID of the scene.

RegionId String No cn-shanghai

The ID of the region.

LayoutId String No 0c6da077-f037-49e8-8440-3be13393****

The ID of the layout.

ComponentId.N RepeatList No [ "a2b8e671-2fe5-4642-a2ec-bf931826****", "a2b8e671-2fe5-4642-a2ec-28374657****"]

The ID of component N. Components in the scene are listed from the bottom to the top in an array.

Note

N indicates a sequence number. Example:

CombponentId.1 indicates the ID of the first component.

ComponentId.2 indicates 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=SetCasterSceneConfig
&CasterId=80787064-1c94-4dc1-85ce-9409960a****
&SceneId=242b4e2c-c30f-4442-85ba-2e3e4e3d****
&<Common request parameters>

Sample success responses

XML format

<SetCasterSceneConfigResponse>
	  <RequestId>CF60DB6A-7FD6-426E-9288-122CC1A52FA7</RequestId>
</SetCasterSceneConfigResponse>

JSON format

{
    "RequestId": "CF60DB6A-7FD6-426E-9288-122CC1A52FA7"
}

Error codes

For a list of error codes, visit the API Error Center.