Contexts
Restore a context to a prior version_seq (T710)
Forward-only: internally calls the same update path a normal edit uses, so the restore itself is written as a NEW context_versions row (history is append-only, nothing is deleted or rewound) and the usual auto-index/auto-embed hooks fire. Rejects a redacted snapshot (one whose content was overwritten by a GDPR erasure) with 409 rather than restoring erased text.
post/api/contexts/{id}/versions/{seq}/restore
Request
- Base URL: http://localhost:38200
- URL: http://localhost:38200/api/contexts/{id}/versions/{seq}/restore
- Auth: one of:
- HTTP bearer
- API key in cookie token
Path parameters
idinteger required
seqinteger required
The versionSeq to restore, as returned by GET .../versions.
Response
Context updated to the restored snapshot's content.
Changes
No recorded changes to this operation across all 1 revision of this API.