Duplicates a production studio.
Usage note
This operation creates a production studio from an existing one. The new studio inherits the configurations of the existing one but has a new CasterId.
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 | CopyCaster |
The operation that you want to perform. Set the value to CopyCaster. |
CasterName | String | Yes | liveCaster**** |
The name of the new production studio. |
ClientToken | String | Yes | 53200b81-b761-4c10-842a-a0726d97**** |
The client token that is used to ensure the idempotence of the request. You can use the client to generate a token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. |
SrcCasterId | String | Yes | a2b8e671-2fe5-4642-a2ec-bf93880e**** |
The ID of the original production studio. |
RegionId | String | No | cn-shanghai |
The ID of the region. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 |
The ID of the request. |
CasterId | String | 1909f043-e3d3-49e9-82d6-4329ec4a**** |
The ID of the new production studio. |
Examples
Sample requests
http(s)://live.aliyuncs.com/?Action=CopyCaster
&CasterName=liveCaster****
&ClientToken=53200b81-b761-4c10-842a-a0726d97****
&SrcCasterId=a2b8e671-2fe5-4642-a2ec-bf93880e****
&<Common request parameters>
Sample success responses
XML
format
<CopyCasterResponse>
<RequestId>16A96B9A-F203-4EC5-8E43-CB92E68F4CD8</RequestId>
<CasterId>1909f043-e3d3-49e9-82d6-4329ec4a****</CasterId>
</CopyCasterResponse>
JSON
format
{
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8",
"CasterId": "1909f043-e3d3-49e9-82d6-4329ec4a****"
}
Error codes
For a list of error codes, visit the API Error Center.