ImmichI
Immich3w ago
Benj

/duplicates API

Hey all,

I'm writing a small script for doing some custom deduping (the built in functionality is pretty great but after years of having my camera spit out 2 versions of every photo + phone sync + other backups I have a pretty complicated deduping routine I want to follow) and I'm able to retrieve the duplicates for each set and apply my logic easily enough but it's not clear to me how the DELETE /duplicates API should work. If I send the UUIDs of all the assets I want to delete it succeeds but doesn't seem to lower the amount of duplicates shown in the UX.

Also, assuming the UUID of the specific duplicate asset is the same one used in the /asset/ APIs; am I better off just calling DELETE /asset/ is there any difference between these 2 APIs?

Thanks!
Ben
Was this page helpful?