All Products
Search
Document Center

ApsaraVideo Media Processing:QueryFpShotJobList

Last Updated:Jun 11, 2026

Mengambil hasil semua jenis pekerjaan DNA.

Deskripsi operasi

  • After you submit a DNA job, the DNA service performs a comparison. Call this API to query the job results.

  • You can query text DNA jobs only in the China (Shanghai) region.

  • This API queries DNA jobs created within the last six months.

QPS limit

The QPS limit for a single user of this API is 100 queries per second. API calls that exceed this limit are throttled, which may impact your business. Plan your calls accordingly. For more information, see QPS limit.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

mts:QueryFpShotJobList

get

*全部资源

*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

JobIds

string

No

ID pekerjaan DNA yang akan dikueri. Pisahkan beberapa ID dengan koma (,). Anda dapat menentukan hingga 10 pekerjaan sekaligus.

88c6ca184c0e47098a5b665e2a12****

NextPageToken

string

No

Token paginasi yang digunakan untuk mengambil halaman hasil berikutnya. Hilangkan parameter ini untuk permintaan pertama. Untuk permintaan berikutnya, gunakan token yang dikembalikan di tanggapan sebelumnya.

16f01ad6175e4230ac42bb5182cd****

MaximumPageSize

integer

No

Jumlah maksimum pekerjaan yang dikembalikan pada setiap halaman.

  • Nilai default: 10.

  • Nilai valid: 1 hingga 30.

10

State

string

No

Status pekerjaan yang akan dikueri. Nilai valid:

  • All: Semua pekerjaan.

  • Queuing: Pekerjaan sedang menunggu diproses.

  • Analysing: Analisis sedang berlangsung.

  • Fail: Pekerjaan gagal.

  • Success: Pekerjaan berhasil.

All

StartOfJobCreatedTimeRange

string

No

Awal rentang pengatur waktu untuk mengkueri pekerjaan berdasarkan pengatur waktu pembuatan.

  • Pengatur waktu harus dalam UTC.

  • Gunakan format standar ISO 8601: YYYY-MM-DDThh:mm:ssZ.

2021-12-22T03:48:05Z

EndOfJobCreatedTimeRange

string

No

Akhir rentang pengatur waktu untuk mengkueri pekerjaan berdasarkan pengatur waktu pembuatan.

  • Pengatur waktu harus dalam UTC.

  • Gunakan format standar ISO 8601: YYYY-MM-DDThh:mm:ssZ.

2022-02-14T02:16:07Z

PipelineId

string

No

ID pipeline. Anda dapat memperoleh ID dari Konsol Media Processing dengan menavigasi ke Pengaturan Global > Pipeline dan Callback.

b11c171cced04565b1f38f1ecc39****

Elemen respons

Element

Type

Description

Example

object

The response parameters.

RequestId

string

The request ID.

25818875-5F78-4A13-BEF6-D7393642CA58

NextPageToken

string

The token that is required to retrieve the next page of results. You can value of this parameter for the next request.

b11c171cced04565b1f38f1ecc39****

FpShotJobList

object

FpShotJob

array<object>

The DNA jobs.

array<object>

The details of a DNA job.

FpShotResult

object

The results of the media fingerprint analysis job.

AudioFpShots

object

FpShot

array<object>

The audio fingerprint analysis results.

array<object>

The details of the audio fingerprint analysis results.

PrimaryKey

string

The unique primary key of the input audio.

498ac941373341599c4777c8d884****

FpShotSlices

object

FpShotSlice

array<object>

The audio files that have similar fingerprints to the input audio in the audio fingerprint library.

array<object>

The details of audio files that have similar fingerprints to the input audio in the audio fingerprint library.

Duplication

object

The start point in time and duration of the similar audio clip in the audio file that has similar fingerprints to the input audio in the audio fingerprint library.

Start

string

The start point in time of the similar audio clip in the audio file that has similar fingerprints to the input audio in the audio fingerprint library.

0

Duration

string

The duration of the similar audio clip in the audio file that has similar fingerprints to the input audio in the audio fingerprint library.

3

Similarity

string

The similarity of the input audio against the audio file that has similar fingerprints to the input audio in the audio fingerprint library.

0

Input

object

The start point in time and duration of the similar audio clip in the input audio.

Start

string

The start point in time of the similar audio clip in the input audio.

0

Duration

string

The duration of the similar audio clip in the input audio.

5

Similarity

string

The overall similarity of the input audio against audio files that have similar fingerprints to the input audio in the audio fingerprint library.

0

FpShots

object

FpShot

array<object>

The video fingerprint analysis results.

array<object>

The details of the video fingerprint analysis results.

PrimaryKey

string

The unique primary key of the input video.

498ac941373341599c4777c8d884****

FpShotSlices

object

FpShotSlice

array<object>

The video files that have similar fingerprints to the input video in the video fingerprint library.

array<object>

The details of video files that have similar fingerprints to the input video in the video fingerprint library.

Duplication

object

The start point in time and duration of the similar video clip in the video file that has similar fingerprints to the input video in the video fingerprint library.

Start

string

The start point in time of the similar video clip in the video file that has similar fingerprints to the input video in the video fingerprint library.

1260

Duration

string

The duration of the similar video clip in the video file that has similar fingerprints to the input video in the video fingerprint library.

48

Similarity

string

The similarity of the input video clip against the video file that has similar fingerprints to the input video in the video fingerprint library.

0

Input

object

The start time and duration of the similar video clip in the input video.

Start

string

The start point in time of the similar video clip in the input video.

46

Duration

string

The duration of the similar video clip in the input video.

48

Similarity

string

The overall similarity of the input video against video files that have similar fingerprints to the input video in the video fingerprint library.

Catatan

The overall similarity is the average value of the similarities of the input video clips with the clips of the video that has a similar fingerprint. If multiple video files that have similar fingerprints to the input video exist in the video fingerprint library, the similarities of the input video against multiple similar video clips are returned.

0.8914769887924194

TextFpShots

object

TextFpShot

array<object>

The text fingerprint analysis results.

array<object>

The details of the text fingerprint analysis results.

PrimaryKey

string

The unique primary key of the input text.

3e34ac649945b53a1b0f863ce030****

Similarity

string

The similarity of the input text against text snippets that have similar fingerprints to the input text in the text fingerprint library.

1.0

TextFpShotSlices

object

TextFpShotSlice

array<object>

The text snippets that have similar fingerprints to the input text in the text fingerprint library.

array<object>

The details of text snippets that have similar fingerprints to the input text in the text fingerprint library.

Similarity

string

The similarity of the input text against the text snippet that has similar fingerprints to the input text in the text fingerprint library.

1.0

InputText

string

The input text for text fingerprint analysis.

今天下雪了

DuplicationText

string

The text snippet that has similar fingerprints to the input text in the text fingerprint library.

今天下雪了

InputFragment

object

The start point in time and duration of the similar text snippet in the input text.

Start

string

The start time of the similar text snippet in the input text.

0

Duration

string

The duration of the similar text snippet in the input text.

3

CreationTime

string

The time when the job was created.

2017-01-10T12:00:00Z

FinishTime

string

The time when the job was complete.

0

State

string

The status of the job. Valid values:

  • Queuing: The job is waiting in the queue.

  • Analysing: The job is in progress.

  • Success: The job is successful.

  • Fail: The job fails.

Success

Message

string

The error message returned if the job 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 configurations of the job.

PrimaryKey

string

The unique primary key of the video.

3ca84a39a9024f19853b21be9cf9****

SaveType

string

The storage type. Valid values:

  • nosave: The fingerprints of the job input are not saved to the media fingerprint library.

  • save: The fingerprints of the job input are saved to the media fingerprint library only if the job input is not duplicated with media content in the media fingerprint library.

  • forcesave: The fingerprints of the job input are forcibly saved to the media fingerprint library.

save

FpDBId

string

The ID of the media fingerprint library.

2288c6ca184c0e47098a5b665e2a12****

FileId

string

The ID of the uploaded file.

ebb51ee30f0b49aba959823fa991****

UserData

string

The custom data.

testid-001

Duration

integer

The length of the input file. Unit: seconds.

5

Code

string

The error code returned if the job fails.

InvalidParameter.UUIDFormatInvalid

InputFile

object

The information about the job input.

Object

string

The Object Storage Service (OSS) object that is used as the job input.

test.mp4

Location

string

The OSS region in which the job input resides.

oss-cn-beiing

Bucket

string

The OSS bucket in which the job input resides.

oss-test

PipelineId

string

The ID of the MPS queue to which the analysis job is submitted.

88c6ca184c0e47098a5b665e2a12****

Id

string

The ID of the job.

88c6ca184c0e47098a5b665e2a12****

Input

string

The information about the job input.

{"Bucket":"oss-test","Location":"oss-cn-beiing","Object":"test.mp4"}

NonExistIds

object

String

array

The list of non-existent job IDs.

string

The list of non-existent job IDs. This parameter is not returned if no data exists.

ae687c02fe944327ba9631e50da23128****

Contoh

Respons sukses

JSONformat

{
  "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****"
    ]
  }
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.