OpenPost Image Editor

Restore an OpenPost Image Editor design revision as a new head

post/image-editor/designs/{id}/revisions/{revision_id}/restore

Request

  • Base URL: https://app.openpo.st/api/v1
  • URL: https://app.openpo.st/api/v1/image-editor/designs/{id}/revisions/{revision_id}/restore
  • Auth: one of:
    • HTTP bearer
    • API key in cookie openpost_session

Path parameters

idstring required
revision_idstring required

Request body

$schemastring uri

A URL to the JSON Schema for this object.

expected_revisioninteger required

Example request

{
  "$schema": "https://example.com/api/v1/schemas/RestoreImageEditorRevisionInputBody.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

can_editboolean required
cover_preview_media_idstring
created_atstring required
created_by_idstring required
idstring required
revisioninteger required
updated_atstring required
workspace_idstring required

Changes

No recorded changes to this operation across all 1 revision of this API.