BizKitHub
DocsAPI ReferencePost/api/v1/post/history/version
getPostPublic API v1

/api/v1/post/history/version

Returns one specific revision in full, including the HTML content snapshot (body is loaded from blob storage on demand). Use this when an external consumer needs to render a historical version of a post body or compute a diff against another version.

postgetApiV1PostHistoryVersion

Parameters

2 query

Query parameters

· 2
apiKeystringRequired

Your BizKitHub API key (passed as GET parameter).

Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more

ExamplePRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
idstringRequired

Version handle returned by /api/v1/post/history.

ExamplevErSiOnHaNdLe123

Response schema

1 status code documented

200Success
object | object
One of 2:
Variant 1
idstringRequired

Version handle (echo).

postIdstringRequired

External id of the parent post.

localestringRequired

Locale code of this revision.

insertedDateDate | string | string | numberRequired
One of 4:
Variant 1
Date
Variant 2
stringdate-time
Variant 3
stringdate
Variant 4
number
titlestringRequired
contentstringRequired

Full HTML content snapshot at this revision.

contentSizenumberRequired
commitMessagestring | nullRequired
One of 2:
Variant 1
string
Variant 2
null
authorobjectRequired
idstring | nullRequired
One of 2:
Variant 1
string
Variant 2
null
namestringRequired
Variant 2
state"error"Required
messagestringRequired
code"200"Required
hintstring | nullRequired
One of 2:
Variant 1
string
Variant 2
null

Response example

application/json
{
  "id": "example_id",
  "postId": "example_postId",
  "locale": "example_locale",
  "title": "example_title",
  "content": "example_content",
  "contentSize": 0,
  "author": {
    "name": "example_name"
  }
}

Request example

GET /api/v1/post/history/version

get
curl -X GET "https://api.bizkithub.com/api/v1/post/history/version?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&id=vErSiOnHaNdLe123" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key