You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I submit the same payload twice, the entries will appear more than once in db with different UUIDs. I would like to update the code so that each entry must have a unique combination of
parent_ids
file_info.path
file_info.checksum
to help avoid collisions. That is, if there already exists a UUID for an entry with a combination of those 3 fields, then the API should return the existing UUID rather than generating a new one.
Consider the following payload
If I submit the same payload twice, the entries will appear more than once in db with different UUIDs. I would like to update the code so that each entry must have a unique combination of
to help avoid collisions. That is, if there already exists a UUID for an entry with a combination of those 3 fields, then the API should return the existing UUID rather than generating a new one.
cc @pdblood
The text was updated successfully, but these errors were encountered: