mirror of
https://github.com/Darkrock-Studios/hammer-editor.git
synced 2026-08-04 15:19:46 +00:00
Replace the project name in sync endpoint paths with the server-issued projectId. The server resolves the ProjectDefinition from the DB by id; the create endpoint takes the name as a query param. Updates client APIs, tests, and the syncing protocol doc. * Harden sync projectId refactor: protocol bump, 410 for missing project, path encoding - Bump HAMMER_PROTOCOL_VERSION so version-mismatched clients fail fast via the protocol gate instead of hitting silent 404s on the renamed routes. - requireProjectDef responds 410 Gone (not 404) for a missing project, so the download_entity client can't mistake a vanished-mid-sync project for a deleted entity and silently abandon undownloaded entities. - Re-apply encodeUrlPathSegment to the projectId path segment and restore the path-encoding test so a reserved character can't escape the URL template. |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle.kts | ||