Load a revision into the draft

Replaces the draft with the revision's files; nothing goes live until you publish. Send the current draft_rev (0 when there is no draft).

post/drops/{slug}/revisions/{id}/restore

Request

  • Base URL: https://ship.page
  • URL: https://ship.page/drops/{slug}/revisions/{id}/restore
  • Auth: HTTP bearer

Request body

draft_revinteger required

Response

The new draft.

Example response

{
  "draft": {
    "files": [
      {
        "path": "css/site.css"
      }
    ]
  }
}

Changes

Changes to this operation have not been checked yet.