Admin

Collapse unenriched sports event duplicates onto their enriched twin

POST https://api.rewind.rest/v1/admin/attending/merge-sports-duplicates

Finds pairs of attended_events on the same (event_date, event_type) where one row has external_source set (canonical match) and another does not. Migrates tickets, performers, sources, and player appearances onto the enriched row, then hard-deletes the unenriched duplicate.

Authorization

Authorizationheaderstringrequired

API key. Read keys (rw_live_...) access GET endpoints. Admin keys (rw_admin_...) access all endpoints.

Body

dry_runbodyboolean

Response

application/json

Merge completed

statusenum (string)required
Allowed valuescompleted
dry_runbooleanrequired
pairs_foundintegerrequired
pairs_mergedintegerrequired
events_deletedintegerrequired
pairsarray of objectrequired