Approve document (async)
POST/v1/spaces/:spaceId/documents/:documentId:approve
Preview: The API is in development or testing phases and the interface could still change slightly.
Triggers the async approval flow. If the document is already validated the APPROVE_DOCUMENT message is published immediately. If not yet validated the document is validated first; on successful finalization the approval message is automatically re-published.
Scope: space_read, space_write
Request
Responses
- 202
- 401
- 403
- 404
Approve document request accepted
Unauthorized
Access denied
Document not found