Menambahkan konten ke kelompok episode studio produksi.
Deskripsi operasi
Before you call this operation, you must create a production studio and an episode group. For more information, see Create a production studio.
QPS limit
The queries per second (QPS) limit for this operation is 4 for each user. If you exceed this limit, your API calls are throttled. This may impact your business. Plan your calls accordingly.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:AddCasterEpisodeGroupContent |
create |
*Domain
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID wilayah. |
cn-shanghai |
| ClientToken |
string |
Yes |
Token yang dihasilkan klien yang digunakan untuk memastikan idempotensi permintaan. Catatan
Nilai ini dihasilkan oleh klien. Pastikan nilainya unik di antara permintaan yang berbeda. Nilai dapat memiliki panjang hingga 64 karakter ASCII. |
8751ad99-2ddb-4aac-ad44-84b21102**** |
| Content |
string |
Yes |
Properti episode di studio produksi. Parameter ini berupa string JSON. Nama parameter menggunakan format upper camel case. Properti dijelaskan sebagai berikut:
|
{"CallbackUrl":"http://example.aliyundoc.com/callBackLive","SideOutputUrl":"rtmp://guide.aliyundoc.com/caster/4a82a3d1b7f0462ea37348366201****?auth_key=1608953344-0-0-ac8c628078541d7055a170ec59a5****","DomainName":"developer.aliyundoc.com ","StartTime":"2018-03-26T16:00:00Z","RepeatNum":-1,"Items":[{"ItemName":"节目1","VodUrl":"http://learn.aliyundoc.com"},{"ItemName":"节目2","VodUrl":"http://demo.aliyundoc.com"}]} |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| ItemIds |
object |
||
| ItemId |
array |
A list of item IDs. |
|
|
string |
The item ID. |
21926b36-7dd2-4fde-ae25-51b5bc8e**** |
|
| ProgramId |
string |
The program ID. You can use this ID as a request parameter when you create, add, delete, or query program items. You can also use this ID to edit, delete, query, start, or stop a program. |
16A96B9A-F203-4EC5-8E43-CB92E68X**** |
| RequestId |
string |
The request ID. |
16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 |
Contoh
Respons sukses
JSONformat
{
"ItemIds": {
"ItemId": [
"21926b36-7dd2-4fde-ae25-51b5bc8e****"
]
},
"ProgramId": "16A96B9A-F203-4EC5-8E43-CB92E68X****",
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | %s. | |
| 400 | InvalidParameter.Malformed | There are invalid parameters: %s. | |
| 400 | IncorrectStartTime | %s, please check and try again later. | |
| 400 | InvalidClientToken.Malformed | %s, please check and try again later. | |
| 401 | IllegalOperation | %s, please check and try again later. | |
| 500 | InternalError | %s, please try again later. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.