Duplicates a production studio and obtains a new production studio.

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 CopyCaster

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

CasterName String Yes caster001

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=caster001
&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.