Skip to main content
POST
Restore an Article to a revision

Authorizations

Authorization
string
header
required

Headers

X-Workspace-Id
string<uuid>
required

UUID of the workspace to act in. Take it from GET /me (workspaces[].id). A key scoped to specific workspaces is rejected with 403 WORKSPACE_NOT_ALLOWED for any other id; a missing header is 400 WORKSPACE_REQUIRED.

Path Parameters

id
string<uuid>
required

Article id

revisionId
string<uuid>
required

Revision id

Body

application/json
expectedVersion
integer

The article's current contentVersion; the restore fails with 409 if it moved

Required range: x >= 1

Response

Restored

data
object
required