Queries a list of media fingerprint analysis jobs.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:QueryDNAJobList |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobIds |
string |
No |
The IDs of the media fingerprint analysis jobs that you want to query. We recommend that you query at most 10 jobs at a time. Separate multiple job IDs with commas (,). |
88c6ca184c0e47098a5b665e2a12**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
25818875-5F78-4A13-BEF6-D7393642CA58 |
| JobList |
array<object> |
The queried media fingerprint analysis jobs. |
|
|
array<object> |
The queried media fingerprint analysis job. |
||
| DNAResult |
string |
The URL of the media fingerprint analysis result. |
http://test_bucket.oss-cn-shanghai.aliyuncs.com/fingerprint/video/search_result/5/5.txt |
| PrimaryKey |
string |
The primary key of the video. You must make sure that each primary key is unique. |
3ca84a39a9024f19853b21be9cf9**** |
| DBId |
string |
The ID of the media fingerprint library. |
2288c6ca184c0e47098a5b665e2a12**** |
| CreationTime |
string |
The time when the job was created. |
2022-12-28T03:21:37Z |
| FinishTime |
string |
The time when the job was complete. |
2022-12-28T03:21:44Z |
| Status |
string |
The job state. Valid values:
|
Queuing |
| Message |
string |
The returned message. |
"The resource operated \"a887d0b***d805ef6f7f6786302\" cannot be found" |
| Config |
string |
The configurations of the media fingerprint analysis job. |
{"SaveType": "save","MediaType"":"video"} |
| UserData |
string |
The user-defined data. |
testdna |
| Code |
string |
The response code. |
"InvalidParameter.ResourceNotFound" |
| Input |
object |
The details of the input file. |
|
| Type |
string |
The type of the input file. Valid values:
|
Media |
| Media |
string |
The input file. The file can be an OSS object or a media asset. The path of an OSS object can be in one of the following formats: 1. oss://bucket/object 2. http(s)://bucket.oss-[regionId].aliyuncs.com/object In the preceding paths, bucket indicates an OSS bucket that resides in the same region as the current project, and object indicates the path of the object in the bucket. |
1b1b9cd148034739af413150fded**** |
| Id |
string |
The job ID. |
88c6ca184c0e47098a5b665e2a12**** |
The value of DNAResult is an array of VideoMatchInfo.
VideoMatchInfo
| Parameter | Type | Description |
| PrimaryKey | String | The unique primary key of the file. |
| GlobalSimilarity | Double | The overall similarity. |
| VideoMatchSegments | Array of VideoMatchSegment | The video segments that match based on video search or video search by image. |
| AudioMatchSegments | Array of AudioMatchSegment | The audio segments that match based on audio search. |
| TextMatchSegments | Array of TextMatchSegment | The text segments that match based on text search. |
VideoMatchSegment or AudioMatchSegment
| Parameter | Type | Description |
| StartTime | Double | The start time of the input video or audio. |
| EndTime | Double | The end time of the input video or audio. |
| MasterStartTime | Double | The start time of the matching video or audio in the media fingerprint library. |
| MasterEndTime | Double | The end time of the matching video or audio in the media fingerprint library. |
| Similarity | Double | The similarity of the input segment against the matching segments that have similar fingerprints to the input segment in the media fingerprint library. |
TextMatchSegment
| Parameter | Type | Description |
| Start | Double | The start time of the input segment. |
| End | Double | The end time of the input segment. |
| QueryText | String | The input text for text fingerprint analysis. |
| MasterText | String | The text segment that has similar fingerprints to the input text in the text fingerprint library. |
| Similarity | Double | The similarity of the input segment against the matching segments that have similar fingerprints to the input segment in the media fingerprint library. |
Examples
Success response
JSON format
{
"RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58",
"JobList": [
{
"DNAResult": "http://test_bucket.oss-cn-shanghai.aliyuncs.com/fingerprint/video/search_result/5/5.txt",
"PrimaryKey": "3ca84a39a9024f19853b21be9cf9****",
"DBId": "2288c6ca184c0e47098a5b665e2a12****",
"CreationTime": "2022-12-28T03:21:37Z",
"FinishTime": "2022-12-28T03:21:44Z",
"Status": "Queuing",
"Message": "\"The resource operated \\\"a887d0b***d805ef6f7f6786302\\\" cannot be found\"",
"Config": "{\"SaveType\": \"save\",\"MediaType\"\":\"video\"}",
"UserData": "testdna",
"Code": "\"InvalidParameter.ResourceNotFound\"",
"Input": {
"Type": "Media",
"Media": "1b1b9cd148034739af413150fded****"
},
"Id": "88c6ca184c0e47098a5b665e2a12****"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.