Given an event with more than one datetime, if you edit one of its datetimes in the admin interface, the existing event detection will flag the event as a duplicate of itself. The endpoint may need to be made aware of whether it's being called for a new or existing event, possibly by passing the event's ID when applicable, so it can be excluded, or the frontend could check the results against the ID of the event.
Given an event with more than one datetime, if you edit one of its datetimes in the admin interface, the existing event detection will flag the event as a duplicate of itself. The endpoint may need to be made aware of whether it's being called for a new or existing event, possibly by passing the event's ID when applicable, so it can be excluded, or the frontend could check the results against the ID of the event.