/bff/post/history-restore
Overwrites the live content__post_locale row for the post + locale of the source revision with that revision's title and content body, then writes a new history entry ("Restored from version X") authored by the caller.
The restore is itself a versioned act — the new history entry it produces can be the target of a later restore, so an "undo my undo" is just another /history-restore call. Coalescing is disabled for restore writes so they always land as distinct landmarks in the commit log even if the same author was editing seconds before.
PostpostBffPostHistory-restore
Parameters
1 body
Body · 1
idstringRequiredHistory version handle to restore (16 chars).
Request
POST /bff/post/history-restore
curl -X POST "https://api.bizkithub.com/bff/post/history-restore" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"id": "vErSiOnHaNdLe123"
}'Response
JSON payload
{
"success": true,
"postId": "example_postId",
"locale": "example_locale",
"restoredFromVersionId": "example_restoredFromVersionId",
"newVersionId": "example_newVersionId"
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.