Duplicates a production studio and creates a new production studio instance.
Operation description
You can call this operation to copy a specified production studio, which creates a new production studio instance.
QPS limits
The queries per second (QPS) limit for a single user is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Plan your calls accordingly.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:CopyCaster |
get |
*Caster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| CasterName |
string |
Yes |
The name of the new production studio. |
caster001 |
| SrcCasterId |
string |
Yes |
The ID of the production studio to copy.
Note
The name of a production studio on the Cloud Production Studio page is its production studio ID. |
a2b8e671-2fe5-4642-a2ec-bf93880e**** |
| ClientToken |
string |
Yes |
A client-generated token that ensures the idempotence of the request. Generate a unique value for this parameter for each request. The token can contain a maximum of 64 ASCII characters. |
53200b81-b761-4c10-842a-a0726d97**** |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| CasterId |
string |
The ID of the new production studio. |
1909f043-e3d3-49e9-82d6-4329ec4a**** |
| RequestId |
string |
The request ID. |
16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 |
Examples
Success response
JSON format
{
"CasterId": "1909f043-e3d3-49e9-82d6-4329ec4a****",
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidClientToken.Malformed | %s | |
| 400 | InvalidCasterId.Malformed | %s | |
| 401 | IllegalOperation | %s | |
| 401 | CasterNumberExceed | %s | |
| 500 | InternalError | %s | |
| 404 | InvalidCaster.NotFound | %s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.