Parameters
JSON body
Request body
application/jsonidstringRequiredHistory version handle to restore (16 chars).
vErSiOnHaNdLe123Overwrites 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.
JSON body
idstringRequiredHistory version handle to restore (16 chars).
vErSiOnHaNdLe1231 status code documented
success"true"RequiredpostIdstringRequiredExternal id of the post that was restored.
localestringRequiredLocale code that was restored.
restoredFromVersionIdstringRequiredExternal id of the source revision (the snapshot put back live).
newVersionIdstringRequiredExternal id of the new history entry created by the restore. Use this to roll the restore back via another /history-restore call.
{
"success": true,
"postId": "example_postId",
"locale": "example_locale",
"restoredFromVersionId": "example_restoredFromVersionId",
"newVersionId": "example_newVersionId"
}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"
}'All BizKitHub public API endpoints require authentication via API key.