Dedup Files
Deduplicate the track file
POST
https://api-v2.acrcloud.com/api/buckets/:bucket_id/dedup-files
Upload the fingerprints to the "DedupFile" bucket, you will get the dup files, if there are no dup files, this fingerprint will be inserted into the fingerprint database.
Path Parameters
Name | Type | Description |
---|---|---|
bucket_id | string | The bucket id |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer Token |
Request Body
Name | Type | Description |
---|---|---|
db_if_nodup | number | 0 or 1. Whether insert the fingerprint into the database if there are no duplicated tracks in the database. The default value is 1 |
id | string | The unique track id |
file | object | The fingerprint file |
List all the duplicated files
GET
https://api-v2.acrcloud.com/api/buckets/:bucket_id/dedup-files
Path Parameters
Name | Type | Description |
---|---|---|
bucket_id | string | The bucket id |
Query Parameters
Name | Type | Description |
---|---|---|
per_page | number | The results number per page |
page | number | The page number |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer Token |
Get one file's duplicated files
GET
https://api-v2.acrcloud.com/api/buckets/:bucket_id/dedup-files/:file_id
Path Parameters
Name | Type | Description |
---|---|---|
file_id | string | The file id |
bucket_id | string | The bucket id |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer token |
Delete an item
DELETE
https://api-v2.acrcloud.com/api/buckets/:bucket_id/dedup-files/:acr_ids
Path Parameters
Name | Type | Description |
---|---|---|
bucket_id | number | The bucket id |
acr_ids | string | One or more acrid |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer token |
Last updated