Mengkueri Pekerjaan smart tagging atau video fingerprinting. Setelah Anda mengirimkan Pekerjaan smart tagging atau video fingerprinting, ApsaraVideo VOD memproses Pekerjaan tersebut secara asinkron. Anda dapat memanggil operasi ini untuk mengkueri informasi Pekerjaan secara pengatur waktu nyata.
Deskripsi operasi
Regions that support this operation: China (Beijing), China (Shanghai), and Singapore.
You can call this operation to query video fingerprinting jobs and smart tagging jobs.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:ListAIJob |
list |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| JobIds |
string |
Yes |
Daftar ID pekerjaan. Anda dapat memperoleh ID pekerjaan dari parameter PlayInfo di tanggapan operasi GetPlayInfo. Catatan
Anda dapat menentukan maksimal 10 ID pekerjaan dalam satu permintaan. Pisahkan beberapa ID dengan koma (,). |
a718a3a1e8bb42ee3bc88921e94****,aasdcsfg782740asd3****,k2l3ibaskod98wrns9d**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
8233A0E4-E112-44*****58-2BCED1B88173 |
| NonExistAIJobIds |
object |
||
| String |
array |
The IDs of the jobs that do not exist. |
|
|
string |
The IDs of the jobs that do not exist. |
["aasdcsfg782740asd3****", "k2l3ibaskod98wrns9d****"] |
|
| AIJobList |
object |
||
| AIJob |
array<object> |
The list of jobs. |
|
|
object |
|||
| CreationTime |
string |
The time when the job was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2020-06-28T02:04:32Z |
| Status |
string |
The status of the job. Valid values:
|
success |
| Type |
string |
The type of the job. Valid values:
|
AIVideoTag |
| Data |
string |
The returned data. The value is a JSON string. For more information, see AITemplateConfig. |
{"OrigASRData":{"AsrTextList":\[{"EndTime":700,"StartTime":0,"Text":"Yes.","ChannelId":0,"SpeechRate":85},{"EndTime":3750,"StartTime":1630,"Text":"No.","ChannelId":0,"SpeechRate":28},{"EndTime":5910,"StartTime":4020,"Text":"Of course.","ChannelId":0,"SpeechRate":95},{"EndTime":12750,"StartTime":10090,"Text":"Message.","ChannelId":0,"SpeechRate":45},{"EndTime":25230,"StartTime":13590,"Text":"Hello, good afternoon.","ChannelId":0,"SpeechRate":20},{"EndTime":30000,"StartTime":28220,"Text":"Yes.","ChannelId":0,"SpeechRate":33}],"Duration":"30016"}} |
| CompleteTime |
string |
The time when the job was complete. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2020-06-28T02:04:47Z |
| JobId |
string |
The job ID. |
a718a3a1e8bb42ee3bc88921e94**** |
| Code |
string |
The error code. This parameter is returned if the value of Status is fail. |
0 |
| Message |
string |
The error message. This parameter is returned if the value of Status is fail. |
OK |
| MediaId |
string |
The ID of the video file. |
3D3D12340d9401fab46a0b847**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "8233A0E4-E112-44*****58-2BCED1B88173",
"NonExistAIJobIds": {
"String": [
"[\"aasdcsfg782740asd3****\", \"k2l3ibaskod98wrns9d****\"]"
]
},
"AIJobList": {
"AIJob": [
{
"CreationTime": "2020-06-28T02:04:32Z",
"Status": "success",
"Type": "AIVideoTag",
"Data": "{\"OrigASRData\":{\"AsrTextList\":\\[{\"EndTime\":700,\"StartTime\":0,\"Text\":\"Yes.\",\"ChannelId\":0,\"SpeechRate\":85},{\"EndTime\":3750,\"StartTime\":1630,\"Text\":\"No.\",\"ChannelId\":0,\"SpeechRate\":28},{\"EndTime\":5910,\"StartTime\":4020,\"Text\":\"Of course.\",\"ChannelId\":0,\"SpeechRate\":95},{\"EndTime\":12750,\"StartTime\":10090,\"Text\":\"Message.\",\"ChannelId\":0,\"SpeechRate\":45},{\"EndTime\":25230,\"StartTime\":13590,\"Text\":\"Hello, good afternoon.\",\"ChannelId\":0,\"SpeechRate\":20},{\"EndTime\":30000,\"StartTime\":28220,\"Text\":\"Yes.\",\"ChannelId\":0,\"SpeechRate\":33}],\"Duration\":\"30016\"}}\n",
"CompleteTime": "2020-06-28T02:04:47Z",
"JobId": "a718a3a1e8bb42ee3bc88921e94****",
"Code": "0",
"Message": "OK",
"MediaId": "3D3D12340d9401fab46a0b847****"
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.