When I upload a new reference to replace the current one, existing endpoint slugs are appended with a number.
list-logs
list-logs-1
list-logs-2
When I upload a new reference, existing slugs should be maintained as is, otherwise I have to manually update and set up a redirect every time I upload a new reference.