Updates the standby resource in a specified scene.
Usage notes
Make sure that the resource is referenced by the scene.
QPS limit
You can call this operation up to 10 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation. For more information, see QPS limits.
Debugging
Request parameters
Parameter |
Type |
Required |
Example |
Description |
Action | String | Yes | EffectCasterVideoResource | The operation that you want to perform. Set the value to EffectCasterVideoResource. |
CasterId | String | Yes | 80787064-1c94-4dc1-85ce-9409960a**** | The ID of the production studio.
Note You can find the ID of the production studio in the Instance Name column. |
SceneId | String | Yes | 05ab713c-676e-49c0-96ce-cc408da1**** | The scene ID. |
ResourceId | String | Yes | f096e8d6-0319-4c96-82bc-ecbc79cf**** | The resource ID. If you call the DescribeCasterChannels operation to query the channels of the production studio, you can obtain the ID of the resource in a specific channel from the ResourceId parameter in the response. |
Response parameters
Parameter |
Type |
Example |
Description |
RequestId | String | CF60DB6A-7FD6-426E-9288-122CC1A52FA7 | The request ID. |
Examples
Sample requests
http(s)://live.aliyuncs.com/?Action=EffectCasterVideoResource
&CasterId=80787064-1c94-4dc1-85ce-9409960a****
&ResourceId=f096e8d6-0319-4c96-82bc-ecbc79cf****
&SceneId=05ab713c-676e-49c0-96ce-cc408da1****
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<EffectCasterVideoResourceResponse>
<RequestId>CF60DB6A-7FD6-426E-9288-122CC1A52FA7</RequestId>
</EffectCasterVideoResourceResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "CF60DB6A-7FD6-426E-9288-122CC1A52FA7"
}
Error codes
For a list of error codes, see Service error codes.