Restore a documentation page checkpoint
Restores the historical title, tags, and body using exact generation and page-update preconditions. Retrying the same stable command ID is idempotent. Organization members cannot call this endpoint.
/projects/documentation/{pageId}/checkpoints/{checkpointId}/restoreAuthorizationOAuth2 access token · headerrequiredapi:writeAuthorizationBearer token (JWT) · headerrequiredpageIdstring<uuid>requiredcheckpointIdstring<uuid>requiredapplication/jsoncommandIdstringrequiredClient-generated stable command identity, up to 100 characters. Reuse it only for an exact retry of this restore.
expectedGenerationnumberrequiredexpectedUpdatedAtstring<date-time>requiredcheckpointIdstring<uuid>requiredcommandIdstringrequiredcontentGenerationnumberrequiredduplicatebooleanrequiredpageIdstring<uuid>requiredThe page or checkpoint UUID is invalid, or the request body is invalid.
errorstring | objectHTTP error name or a structured HTTP exception response.
Show propertiesHide properties
stringobjectmessagestring | string[] | objectrequiredError message, validation message list, or request-field validation message map.
Show propertiesHide properties
stringstringstringobjectstatusCodenumberrequiredHTTP status code for this response.
Unauthorized - Invalid or missing authentication token
Missing manageDocumentation permission, or organization members cannot access documentation history.
errorstring | objectHTTP error name or a structured HTTP exception response.
Show propertiesHide properties
stringobjectmessagestring | string[] | objectrequiredError message, validation message list, or request-field validation message map.
Show propertiesHide properties
stringstringstringobjectstatusCodenumberrequiredHTTP status code for this response.
The page or checkpoint does not exist or is not accessible.
errorstring | objectHTTP error name or a structured HTTP exception response.
Show propertiesHide properties
stringobjectmessagestring | string[] | objectrequiredError message, validation message list, or request-field validation message map.
Show propertiesHide properties
stringstringstringobjectstatusCodenumberrequiredHTTP status code for this response.
The generation or page update timestamp is stale.
errorstring | objectHTTP error name or a structured HTTP exception response.
Show propertiesHide properties
stringobjectmessagestring | string[] | objectrequiredError message, validation message list, or request-field validation message map.
Show propertiesHide properties
stringstringstringobjectstatusCodenumberrequiredHTTP status code for this response.