All Products
Search
Document Center

ApsaraVideo Media Processing:QueryFpFileDeleteJobList

Last Updated:Sep 27, 2024

Queries jobs of deleting media files from a media fingerprint library.

Operation description

You can call this operation to query the specified jobs of deleting media files from 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 500 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:QueryFpFileDeleteJobListget
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
JobIdsstringNo

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

d98459323c024947a104f6a50cbf****,c2dc694696f1441591c5012a73c1****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The ID of the request.

D127C68E-F1A1-4CE5-A874-8FF724881A12
FpFileDeleteJobListarray<object>

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

FpFileDeleteJobobject

The response parameters.

CreationTimestring

The time when the job was created.

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

The status of the job. Valid values: 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
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****
FileIdsstring

The ID of the file.

41e6536e4f2250e2e9bf26cdea19****
NonExistIdsarray

The response parameters.

Stringstring

The IDs of the jobs that do not exist.

c2dc694696f1441591c5012a73c1****

Examples

Sample success responses

JSONformat

{
  "RequestId": "D127C68E-F1A1-4CE5-A874-8FF724881A12",
  "FpFileDeleteJobList": {
    "FpFileDeleteJob": [
      {
        "CreationTime": "2020-06-30T00:33:18Z",
        "Status": "Success",
        "FinishTime": "2020-06-30T00:34:02Z",
        "UserData": "example data",
        "Code": "ServiceUnavailable",
        "Message": "The request has failed due to a temporary failure of the server.",
        "PipelineId": "fb712a6890464059b1b2ea7c8647****",
        "FpDBId": "88c6ca184c0e47098a5b665e2a12****",
        "Id": "25bacf2824614bcf9273dc0744db****",
        "FileIds": "41e6536e4f2250e2e9bf26cdea19****"
      }
    ]
  },
  "NonExistIds": {
    "String": [
      "c2dc694696f1441591c5012a73c1****"
    ]
  }
}

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.