Skip to main content

Validate document

POST 

/v1/spaces/:spaceId/documents/:documentId:validate

Preview: The API is in development or testing phases and the interface could still change slightly.

Validates a single document within a space synchronously in the acceptor. dryRun=true: wipes non-original/non-protected representations, runs validators, stores results in validation data — no status transition, no lifecycle message, no space event. dryRun=false: runs full validation pipeline; on success document transitions to VALIDATED, DocumentValidated lifecycle message emitted, document_validated space event published. Already VALIDATED + dryRun=false → 202 immediately, no work done. No status restriction (no 409). No category/folder restriction (no 422). Missing or non-boolean dryRun → 400.
Scope: space_read, space_write

Request​

Responses​

Validate document request accepted