List Duplicate Files
curl --request GET \
--url https://api.zerodrive.dev/v1/duplicates \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.zerodrive.dev/v1/duplicates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/duplicates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)List Duplicate Files
Groups of files with exactly the same content from a finished scan, the most wasted space first, with the counts, one plain message that says which files were not compared, delete_mode (trash or delete_now: what a delete does for this account), and for every file shared and suggested_keep (exactly one file in each group). It only reads. Without scan_id it answers the newest finished scan.
GET
https://api.zerodrive.dev
/
v1
/
duplicates
List Duplicate Files
curl --request GET \
--url https://api.zerodrive.dev/v1/duplicates \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.zerodrive.dev/v1/duplicates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/duplicates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)Authorizations
Query Parameters
Response
The groups, counts, message, delete_mode, total_groups and next_offset

