Dapatkan sebuah program.
Deskripsi operasi
Panggil operasi GetProgram untuk memperoleh informasi program.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:GetProgram |
get |
*全部资源
|
None | None |
Sintaks permintaan
POST / HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProgramName |
string |
Yes |
Nama program. |
program1 |
| ChannelName |
string |
Yes |
Nama saluran. |
MyChannel |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
ID Permintaan |
xxx-xxxx-xxxxx-xxxx |
| Program | ChannelAssemblyProgram |
Informasi program. |
Contoh
Respons sukses
JSONformat
{
"RequestId": "xxx-xxxx-xxxxx-xxxx",
"Program": {
"GmtCreate": "2024-04-02T00:58:19Z\n",
"ChannelName": "MyChannel",
"SourceLocationName": "MySourceLocation",
"AdBreaks": [
{
"TimeSignalSettings": "{\"segmentationEventID\":0,\"segmentationUPIDType\":14,\"segmentationUPID\":\"upid\",\"segmentationTypeID\":48,\"segmentNumber\":0,\"segmentsExpected\":0,\"subSegmentNumber\":1,\"subSegmentsExpected\":0}\n",
"OffsetMillis": 1000,
"ChannelName": "MyChannel",
"SourceLocationName": "MySourceLocation",
"SpliceInsertSettings": "{\"AvailNumber\":0,\"AvailExpected\":0,\"SpliceEventID\":1,\"UniqueProgramID\":0}\n",
"SourceName": "MyAdSource",
"ProgramName": "program_name\n",
"MessageType": "SPLICE_INSERT"
}
],
"SourceType": "vodSource",
"Transition": "{\"Type\": \"RELATIVE\", \"RelativePosition\": \"AFTER_PROGRAM\", \"RelativeProgram\": \"program2\"}\n",
"GmtModified": "2024-04-02T00:58:19Z\n",
"SourceName": "MySource",
"ClipRange": "{StartOffsetMillis: 213123, EndOffsetMillis: 213134}\n",
"Arn": "acs:ims:mediaweaver:::program/myChannel/MyProgram\n",
"ProgramName": "program1"
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.