Obtient les résultats de tous les types de tâches ADN.
Description de l'opération
Après avoir soumis une tâche ADN, le service ADN effectue une comparaison. Appelez cette API pour interroger les résultats de la tâche.
Testez maintenant
Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale. Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale.
Test
Autorisation RAM
|
mts:QueryFpShotJobList |
get |
*All Resource
|
Aucune | Aucune |
Paramètres de requête
|
Paramètre |
Type |
Requis |
Description |
Exemple |
| JobIds |
string |
Non |
Les identifiants des tâches ADN à interroger. Séparez les identifiants multiples par une virgule (,). Vous pouvez spécifier jusqu'à 10 tâches à la fois. |
88c6ca184c0e47098a5b665e2a12**** |
| NextPageToken |
string |
Non |
Le jeton de pagination utilisé pour récupérer la page de résultats suivante. Omettez ce paramètre pour la première requête. Pour les requêtes suivantes, utilisez le jeton renvoyé dans la réponse précédente. |
16f01ad6175e4230ac42bb5182cd**** |
| MaximumPageSize |
integer |
Non |
Le nombre maximal de tâches à renvoyer sur chaque page. |
10 |
| State |
string |
Non |
L'état de la tâche à interroger. Valeurs valides : |
All |
| StartOfJobCreatedTimeRange |
string |
Non |
Le début de la plage de temps pour l'interrogation des tâches en fonction de leur heure de création. |
2021-12-22T03:48:05Z |
| EndOfJobCreatedTimeRange |
string |
Non |
La fin de la plage de temps pour l'interrogation des tâches en fonction de leur heure de création. |
2022-02-14T02:16:07Z |
| PipelineId |
string |
Non |
L'identifiant du pipeline. Vous pouvez obtenir cet identifiant depuis la console Media Processing en naviguant vers paramètres globaux > Pipelines et rappels. |
b11c171cced04565b1f38f1ecc39**** |
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
Les paramètres de réponse. |
||
| RequestId |
string |
L'identifiant de la requête. |
25818875-5F78-4A13-BEF6-D7393642CA58 |
| NextPageToken |
string |
Le jeton requis pour récupérer la page de résultats suivante. Vous pouvez utiliser la valeur de ce paramètre pour la requête suivante. |
b11c171cced04565b1f38f1ecc39**** |
| FpShotJobList |
object |
||
| FpShotJob |
array<object> |
Les tâches ADN. |
|
|
array<object> |
Les détails d'une tâche ADN. |
||
| FpShotResult |
object |
The query results for a DNA job. |
|
| AudioFpShots |
object |
||
| FpShot |
array<object> |
The query results for audio DNA. |
|
|
array<object> |
The detailed query results for audio DNA. |
||
| PrimaryKey |
string |
The primary key. |
498ac941373341599c4777c8d884**** |
| FpShotSlices |
object |
||
| FpShotSlice |
array<object> |
The similar audio segments. |
|
|
array<object> |
The details of the similar audio segments. |
||
| Duplication |
object |
The start time and duration of the audio segment in the DNA library. |
|
| Start |
string |
The start time. |
0 |
| Duration |
string |
The duration. |
3 |
| Similarity |
string |
The similarity of the audio segment. |
0 |
| Input |
object |
The start time and duration of the input audio segment. |
|
| Start |
string |
The start time. |
0 |
| Duration |
string |
The duration. |
5 |
| Similarity |
string |
The overall similarity of the audio. |
0 |
| FpShots |
object |
||
| FpShot |
array<object> |
The query results for video DNA. |
|
|
array<object> |
The detailed query results for video DNA. |
||
| PrimaryKey |
string |
The primary key of the video. |
498ac941373341599c4777c8d884**** |
| FpShotSlices |
object |
||
| FpShotSlice |
array<object> |
The similar video segments. |
|
|
array<object> |
The details of the similar video segments. |
||
| Duplication |
object |
The start time and duration of the video segment in the DNA library. |
|
| Start |
string |
The start time. |
1260 |
| Duration |
string |
The duration. |
48 |
| Similarity |
string |
The similarity of the video segment. |
0 |
| Input |
object |
The start time and duration of the input video segment. |
|
| Start |
string |
The start time. |
46 |
| Duration |
string |
The duration. |
48 |
| Similarity |
string |
The overall similarity of the video. Remarque
The overall similarity is the average of the similarity values of individual segments. If multiple similar segments are found in the DNA library, multiple hits are returned. |
0.8914769887924194 |
| TextFpShots |
object |
||
| TextFpShot |
array<object> |
The query results for text DNA. |
|
|
array<object> |
The detailed query results for text DNA. |
||
| PrimaryKey |
string |
The primary key for the text. |
3e34ac649945b53a1b0f863ce030**** |
| Similarity |
string |
The similarity of the text. |
1.0 |
| TextFpShotSlices |
object |
||
| TextFpShotSlice |
array<object> |
The duplicate text segments. |
|
|
array<object> |
The details of the duplicate text segments. |
||
| Similarity |
string |
The confidence score for the matched segment. |
1.0 |
| InputText |
string |
The text segment from the input that matched a segment in the base library. |
今天下雪了 |
| DuplicationText |
string |
The text segment from the base library that was matched. |
今天下雪了 |
| InputFragment |
object |
The start time and duration of the matched segment in the input file. |
|
| Start |
string |
The start time. |
0 |
| Duration |
string |
The duration. |
3 |
| CreationTime |
string |
The time when the job was created. |
2017-01-10T12:00:00Z |
| FinishTime |
string |
The time when the job was completed. |
0 |
| State |
string |
The job status. Valid values:
|
Success |
| Message |
string |
The error message returned when the analysis fails. This parameter is not returned if the job is successful. |
The parameter \"Id\" is invalid.A uuid must:1)be comprised of chracters[a-f],numbers[0-9];2)be 32 characters long |
| FpShotConfig |
object |
The configuration. |
|
| PrimaryKey |
string |
The unique primary key of the video. You must ensure that this key is unique. |
3ca84a39a9024f19853b21be9cf9**** |
| SaveType |
string |
The storage type. Valid values:
|
save |
| FpDBId |
string |
The ID of the DNA library. |
2288c6ca184c0e47098a5b665e2a12**** |
| FileId |
string |
The file ID. |
ebb51ee30f0b49aba959823fa991**** |
| UserData |
string |
The custom data. |
testid-001 |
| Duration |
integer |
The duration of the input file. Unit: seconds. |
5 |
| Code |
string |
The error code returned when the analysis fails. |
InvalidParameter.UUIDFormatInvalid |
| InputFile |
object |
The job input. |
|
| Object |
string |
The OSS object that contains the job input. |
test.mp4 |
| Location |
string |
The OSS location that contains the job input. |
oss-cn-beiing |
| Bucket |
string |
The OSS bucket that contains the job input. |
oss-test |
| PipelineId |
string |
The pipeline ID. |
88c6ca184c0e47098a5b665e2a12**** |
| Id |
string |
The job ID. |
88c6ca184c0e47098a5b665e2a12**** |
| Input |
string |
The job input. |
{"Bucket":"oss-test","Location":"oss-cn-beiing","Object":"test.mp4"} |
| NonExistIds |
object |
||
| String |
array |
La liste des identifiants de tâches inexistants. |
|
|
string |
La liste des identifiants de tâches inexistants. Ce paramètre n'est pas renvoyé si aucune donnée n'existe. |
ae687c02fe944327ba9631e50da23128**** |
Exemples
JSON format
{
"RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58",
"NextPageToken": "b11c171cced04565b1f38f1ecc39****",
"FpShotJobList": {
"FpShotJob": [
{
"FpShotResult": {
"AudioFpShots": {
"FpShot": [
{
"PrimaryKey": "498ac941373341599c4777c8d884****",
"FpShotSlices": {
"FpShotSlice": [
{
"Duplication": {
"Start": "0",
"Duration": "3"
},
"Similarity": "0",
"Input": {
"Start": "0",
"Duration": "5"
}
}
]
},
"Similarity": "0"
}
]
},
"FpShots": {
"FpShot": [
{
"PrimaryKey": "498ac941373341599c4777c8d884****",
"FpShotSlices": {
"FpShotSlice": [
{
"Duplication": {
"Start": "1260",
"Duration": "48"
},
"Similarity": "0",
"Input": {
"Start": "46",
"Duration": "48"
}
}
]
},
"Similarity": "0.8914769887924194"
}
]
},
"TextFpShots": {
"TextFpShot": [
{
"PrimaryKey": "3e34ac649945b53a1b0f863ce030****",
"Similarity": "1.0",
"TextFpShotSlices": {
"TextFpShotSlice": [
{
"Similarity": "1.0",
"InputText": "今天下雪了",
"DuplicationText": "今天下雪了",
"InputFragment": {
"Start": "0",
"Duration": "3"
}
}
]
}
}
]
}
},
"CreationTime": "2017-01-10T12:00:00Z",
"FinishTime": "0",
"State": "Success",
"Message": "The parameter \\\"Id\\\" is invalid.A uuid must:1)be comprised of chracters[a-f],numbers[0-9];2)be 32 characters long",
"FpShotConfig": {
"PrimaryKey": "3ca84a39a9024f19853b21be9cf9****",
"SaveType": "save",
"FpDBId": "2288c6ca184c0e47098a5b665e2a12****"
},
"FileId": "ebb51ee30f0b49aba959823fa991****",
"UserData": "testid-001",
"Duration": 5,
"Code": "InvalidParameter.UUIDFormatInvalid",
"InputFile": {
"Object": "test.mp4",
"Location": "oss-cn-beiing",
"Bucket": "oss-test"
},
"PipelineId": "88c6ca184c0e47098a5b665e2a12****",
"Id": "88c6ca184c0e47098a5b665e2a12****",
"Input": "{\"Bucket\":\"oss-test\",\"Location\":\"oss-cn-beiing\",\"Object\":\"test.mp4\"}"
}
]
},
"NonExistIds": {
"String": [
"ae687c02fe944327ba9631e50da23128****"
]
}
}
Codes d'erreur
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.