Queries AI jobs. After a job is submitted, ApsaraVideo VOD asynchronously processes the job. You can call this operation to query the job information in real time.
Operation description
- 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.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
vod:ListAIJob | list | *All Resources * |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
JobIds | string | Yes | The list of job IDs. You can obtain the job ID from the PlayInfo parameter in the response to the GetPlayInfo operation. Note
You can specify a maximum of 10 job IDs in a request. Separate multiple IDs with commas (,).
| a718a3a1e8bb42ee3bc88921e94****,aasdcsfg782740asd3****,k2l3ibaskod98wrns9d**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"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****"
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.