All Products
Search
Document Center

ApsaraVideo Media Processing:QueryFpDBDeleteJobList

Last Updated:Sep 27, 2024

Queries the jobs of clearing or deleting a media fingerprint library.

Operation description

You can call this operation to query the specified jobs of clearing or deleting a media fingerprint library based on the job IDs. If you do not specify job IDs, the system returns the latest 20 jobs that are submitted.

QPS limit

You can call this operation up to 100 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation. For more information, see QPS limit.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

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.
OperationAccess levelResource typeCondition keyAssociated operation
mts:QueryFpDBDeleteJobListget
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
JobIdsstringNo

The IDs of the jobs of clearing or deleting a media fingerprint library. You can obtain the job IDs from the response parameters of the SubmitFpDBDeleteJob operation. Separate multiple job IDs with commas (,). If you leave this parameter empty, the system returns the latest 20 jobs that are submitted.

2288c6ca184c0e47098a5b665e2a12****,78dc866518b843259669df58ed30****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The ID of the request.

4247B23C-26DE-529F-8D9F-FD6811AE979B
FpDBDeleteJobListarray<object>

The jobs of deleting a media fingerprint library. For more information, see the "FpDBDeleteJob" section of the Data types topic.

FpDBDeleteJobobject

The response parameters.

CreationTimestring

The time when the job was created.

2020-06-30T00:33:18Z
Statusstring

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
FinishTimestring

The time when the job was complete.

2020-06-30T00:34:02Z
DelTypestring

The type of the operation.

Purge
UserDatastring

The user-defined data.

example data
Codestring

The error code returned if the job fails. This parameter is not returned if the job is successful.

ServiceUnavailable
Messagestring

The error message returned if the job fails. This parameter is not returned if the job is successful.

The request has failed due to a temporary failure of the server.
PipelineIdstring

The ID of the ApsaraVideo Media Processing (MPS) queue to which the job was submitted.

fb712a6890464059b1b2ea7c8647****
FpDBIdstring

The ID of the media fingerprint library.

88c6ca184c0e47098a5b665e2a12****
Idstring

The ID of the job.

25bacf2824614bcf9273dc0744db****
NonExistIdsarray

The IDs of the jobs that do not exist.

Stringstring

The IDs of the jobs that do not exist. This parameter is not returned if all specified jobs are found.

78dc866518b843259669df58ed30****

Examples

Sample success responses

JSONformat

{
  "RequestId": "4247B23C-26DE-529F-8D9F-FD6811AE979B",
  "FpDBDeleteJobList": {
    "FpDBDeleteJob": [
      {
        "CreationTime": "2020-06-30T00:33:18Z",
        "Status": "Success",
        "FinishTime": "2020-06-30T00:34:02Z",
        "DelType": "Purge",
        "UserData": "example data",
        "Code": "ServiceUnavailable",
        "Message": "The request has failed due to a temporary failure of the server.",
        "PipelineId": "fb712a6890464059b1b2ea7c8647****",
        "FpDBId": "88c6ca184c0e47098a5b665e2a12****",
        "Id": "25bacf2824614bcf9273dc0744db****"
      }
    ]
  },
  "NonExistIds": {
    "String": [
      "78dc866518b843259669df58ed30****"
    ]
  }
}

Error codes

HTTP status codeError codeError message
500InternalErrorThe operation has failed due to some unknown error, exception or failure.

For a list of error codes, visit the Service error codes.