AddCasterEpisodeGroup
Adds a program list to a production studio.
Operation description
Create a production studio and obtain its configuration information before you call this operation to add a program list to the production studio. To create a production studio by calling an API operation, see Create a production studio.
QPS limits
The QPS limit for a single user is 4 queries per second. If the limit is exceeded, API calls are throttled, which may affect your services. Call this operation at a reasonable frequency.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:AddCasterEpisodeGroup |
create |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| Item |
array<object> |
Yes |
The program list. |
|
|
object |
No |
The program object. |
||
| ItemName |
string |
No |
The program name. |
ItemName1 |
| VodUrl |
string |
No |
The URL of the video-on-demand (VOD) file. If you query the video sources of the production studio by calling the DescribeCasterVideoResources operation, check the value of the VodUrl parameter returned in the response. Note
This parameter is used only when the resource is a video file and the video file is not imported to the media library. |
http://learn.aliyundoc.com/caster/4a82a3d1b7f0462ea37348366201****.flv?auth_key=1608953344-0-0-53f0758162964516ac850f2ddc3f**** |
| ClientToken |
string |
Yes |
The client token that is used to ensure the idempotence of the request. Important You can use the client to generate the value. Make sure that the value is unique across different requests. The value can be up to 64 ASCII characters in length.
|
8751ad99-2ddb-4aac-ad44-84b21102**** |
| DomainName |
string |
Yes |
The primary streaming domain name. |
example.com |
| StartTime |
string |
Yes |
The start time. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
2018-03-06T19:00:00Z |
| RepeatNum |
integer |
Yes |
The number of repetitions. Valid values:
|
0 |
| SideOutputUrl |
string |
Yes |
The custom ingest URL that corresponds to the bypass output URL of the production studio. |
rtmp://guide.aliyundoc.com/caster/4a82a3d1b7f0462ea37348366201****?auth_key=1608953344-0-0-53f0758162964516ac850f2ddc3f**** |
| CallbackUrl |
string |
Yes |
The custom callback URL. The URL must be a valid URL that complies with the RFC 2396 standard. The host must be a real domain name or IP address that can be resolved by DNS. If you query the configuration information of the production studio by calling the DescribeCasterConfig operation, check the value of the CallbackUrl parameter returned in the response. |
http://developer.aliyundoc.com/caster/4a82a3d1b7f0462ea37348366201****?auth_key=1608953344-0-0-53f0758162964516ac850f2ddc3f**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| ItemIds |
object |
||
| ItemId |
array |
The list of program IDs. |
|
|
string |
The program ID. |
21926b36-7dd2-4fde-ae25-51b5bc98**** |
|
| ProgramId |
string |
The ID of the program list. You can use this ID as a request parameter to delete the program list of a production studio, create or add a program item, delete a program item, query a program item, edit a program list, delete a program list, query a program list, start a program list, or stop a program list. |
16A96B9A-F203-4EC5-8E43-CB92E68X**** |
| RequestId |
string |
The request ID. |
16A96B9A-F203-4EC5-8E43-CB92E68F**** |
Examples
Success response
JSON format
{
"ItemIds": {
"ItemId": [
"21926b36-7dd2-4fde-ae25-51b5bc98****"
]
},
"ProgramId": "16A96B9A-F203-4EC5-8E43-CB92E68X****",
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | %s. | Missing parameter |
| 400 | InvalidParameter.Malformed | There are invalid parameters: %s. | There are invalid parameters: %s. |
| 400 | IncorrectStartTime | %s, please check and try again later. | The parameter StartTime is invalid, please check and try again. |
| 401 | IllegalOperation | %s, please check and try again later. | Operation not allowed, please check and try again. |
| 500 | InternalError | %s, please try again later. | Internal error, please try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.