mirror of
https://github.com/rommapp/romm.git
synced 2026-12-02 10:08:40 +01:00
The /api/sync/negotiate endpoint pairs saves on (rom_id, slot) and excludes null-slot server saves from pairing, so a client save sent with slot=null always negotiates as an upload even when an identical file exists on the server. This is intentional but was undocumented, which led to confusion (issue #3697). Add Field descriptions to the request and response schemas and expand the endpoint docstring to explain the pairing rule and recommend a stable slot name (e.g. "autosave"). Regenerate frontend types. Generated-By: PostHog Code Task-Id: 9f1c9eee-6365-4223-8cd1-b50e7d7b9cf0