All Products
Search
Document Center

ApsaraVideo Media Processing:SubmitFpFileDeleteJob

Last Updated:Dec 26, 2024

Submits a job of deleting media files from a media fingerprint library.

Operation description

Limits

  • You can call this operation to delete up to 200 media files from a media fingerprint library at a time.
  • This operation is available in the following regions: China (Beijing), China (Hangzhou), China (Shanghai), and Singapore.

QPS limits

You can call this operation up to 10 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 limits.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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:SubmitFpFileDeleteJob
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
PipelineIdstringNo

The ID of the ApsaraVideo Media Processing (MPS) queue to which the job is submitted. The MPS queue is bound with a notification method. To view the MPS queue ID, log on to the MPS console and choose Global Settings > MPS queue and Callback in the left-side navigation pane.

ed450ea0bfbd41e29f80a401fb4d****
FpDBIdstringYes

The ID of the media fingerprint library. You can obtain the library ID from the response parameters of the CreateFpShotDB operation.

88c6ca184c0e432bbf5b665e2a15****
UserDatastringNo

The custom data. The value can contain letters and digits and can be up to 128 bytes in length.

example data
FileIdsstringNo

The IDs of the media files that you want to delete. Separate multiple file IDs with commas (,). You can delete up to 200 media files at a time. You can obtain media file IDs from the response parameters of the ListFpShotFiles operation.

41e6536e4f2250e2e9bf26cdea19****
PrimaryKeysstringNo

The primary keys of the files to be deleted. Separate multiple primary keys with commas (,). You can delete up to 200 primary keys at a time. You can obtain the primary keys of media files from the response parameters of the ListFpShotFiles operation.

Note This parameter is available only in the China (Beijing), China (Hangzhou), and China (Shanghai) regions.
24e0fba7188fae707e146esa54****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

D127C68E-F1A1-4CE5-A874-8FF724881A12
JobIdstring

The job ID.

39f8e0bc005e4f309379701645f4****

Examples

Sample success responses

JSONformat

{
  "RequestId": "D127C68E-F1A1-4CE5-A874-8FF724881A12",
  "JobId": "39f8e0bc005e4f309379701645f4****"
}

Error codes

HTTP status codeError codeError message
400InvalidParameter.DBNotExistThe DNA database does not exist.
500InternalErrorThe operation has failed due to some unknown error, exception or failure.

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