Mengkueri jadwal.
Deskripsi operasi
Mengkueri jadwal dengan memanggil operasi ListSchedules.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:ListSchedules |
none |
*全部资源
|
None | None |
Sintaks permintaan
POST / HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ChannelName |
string |
Yes |
Nama saluran. |
MyChannel |
| WindowDurationSeconds |
integer |
Yes |
Durasi jendela jadwal. |
14400 |
| PageNo |
integer |
No |
Nomor halaman. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 10. |
10 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Tanggapan. |
||
| RequestId |
string |
ID Permintaan. |
xxx-xxxx-xxxxx-xxxx |
| TotalCount |
integer |
Jumlah total entri yang dikembalikan. |
5 |
| Programs |
array |
Jadwal. |
|
| ChannelAssemblyScheduleData |
Informasi jadwal. |
||
| PageNo |
integer |
Nomor halaman. Nilai default: 1. |
1 |
| PageSize |
integer |
Jumlah entri per halaman. Nilai default: 20. Nilai maksimum: 100. |
10 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "xxx-xxxx-xxxxx-xxxx",
"TotalCount": 5,
"Programs": [
{
"EntryType": "program",
"SourceLocationName": "MySourceLocation\n",
"AdBreaks": [
{
"OffsetMillis": "100000",
"TimeSignalSettings": "{\"segmentationEventID\":0,\"segmentationUPIDType\":14,\"segmentationUPID\":\"upid\",\"segmentationTypeID\":48,\"segmentNumber\":0,\"segmentsExpected\":0,\"subSegmentNumber\":1,\"subSegmentsExpected\":0}\n",
"SourceLocationName": "MySourceLocation",
"SpliceInsertSettings": "{\"AvailNumber\":0,\"AvailExpected\":0,\"SpliceEventID\":1,\"UniqueProgramID\":0}\n",
"SourceName": "MySource",
"MessageType": "SPLICE_INSERT"
}
],
"SourceType": "vodSource",
"SourceName": "MySource",
"ApproximateDurationSeconds": 100000,
"ApproximateStartTime": "1989128002313",
"ProgramName": "program1"
}
],
"PageNo": 1,
"PageSize": 10
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.