ListDuplicatesResponse
Response for listing duplicates
duplicates object[]required
List of duplicate groups
Array [
book_idsstring<uuid>[]required
List of book IDs that share this hash
created_atstringrequired
When the duplicate was first detected
Example:
2024-01-15T10:30:00Zduplicate_countinteger<int32>required
Number of duplicate copies found
Example:
3file_hashstringrequired
SHA-256 hash of the file content
Example:
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855idstring<uuid>required
Unique identifier for the duplicate group
Example:
550e8400-e29b-41d4-a716-446655440000updated_atstringrequired
When the group was last updated
Example:
2024-01-15T10:30:00Z]
total_duplicate_booksintegerrequired
Total number of books that are duplicates
Possible values: >= 0
Example:
15total_groupsintegerrequired
Total number of duplicate groups
Possible values: >= 0
Example:
5ListDuplicatesResponse
{
"duplicates": [
{
"book_ids": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"created_at": "2024-01-15T10:30:00Z",
"duplicate_count": 3,
"file_hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"id": "550e8400-e29b-41d4-a716-446655440000",
"updated_at": "2024-01-15T10:30:00Z"
}
],
"total_duplicate_books": 15,
"total_groups": 5
}