Publish

Restore an owned deck to a previous version

Copies R2 objects from the source version prefix into a new MAX+1 version (serving always uses the highest version integer). Works for single-file and multi-file decks. No-ops if the target is already current. Rejects quarantined and content-purged decks.

post/api/decks/{id}/restore

Request

  • Base URL: https://slidesfly.com
  • URL: https://slidesfly.com/api/decks/{id}/restore
  • Auth: HTTP bearer

Path parameters

idstring required

Headers

Idempotency-Keystring

Optional. Printable ASCII, ≤128 chars (UUID recommended). Scoped per route + actor (server-keyed, domain-separated IP HMAC for anon; user/key for owned). TTL 24h.

Request body

versioninteger required

Source version to restore

Response

Restored (or already current)

okunknown required

Changes

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