Import parser + validator + POST /api/import/preview (dry-run) #317
Labels
No labels
area:auth
area:ci
area:db
area:infra
area:native
area:pwa
area:service
epic
feature
foundation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
james/carol#317
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Child of #286 (import preview — second slice).
Upload an export archive and return a dry-run summary without writing anything.
Scope
POST /api/import/preview(multipart upload) → dry-run summary JSON: counts per entity, format version, and what each mode (Replace / Merge-by-UUID / Import-as-copies) would do to the current account. Stateless — the client keeps the file; no server-side staging.formatVersion: 1), per-file zod schemas, referential integrity (cross-file UUID references resolve), media presence (referencedmedia/*entries exist).Depends on the export archive format from ticket 1 / the ADR.