Skip to main content

Pieces

📄️Make a piece's finished slides

Makes the finished slide pictures (words in, one PNG per slide at the canvas size) of a still piece - a post, a carousel, a still story or ad - as it stands now. FREE: nothing is ever charged. A piece with edits not yet kept is kept as a new version first. Answers 202 at once; read the piece with `GET /pieces/{pieceId}` (the `Location`) until its `finishing` is false: its slides then read `finished: true` with their `pictureUrl`, at this `version`. A piece whose slides of this version are already made answers `finished` and makes nothing. Asking again while they are being made answers the same `version` and starts nothing new. The body is empty.

📄️Go back to an earlier version of a piece

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.