Skip to main content

Go back to an earlier version of a piece

POST 

/pieces/:pieceId/versions/:version/restore

Goes back to an earlier version: what that version held becomes the NEWEST version (later versions stay in the history; nothing is lost). FREE: nothing is ever charged. The version's finished slides or video are made again free where they must be (a version that was already made ready comes back ready). Answers 202 at once with the new version's version number; read the piece with GET /pieces/{pieceId} (the Location) until its finishing is false. The body is empty. Restoring again writes another version.

Request​

Responses​

Accepted. The restored version is the newest; its finish was handed over.

Response Headers
    Location

    The piece: /api/public/v1/pieces/{pieceId}.