BizKitHub
DokumentationAPI-ExplorerPost/api/v1/post/history/version
getPostÖffentliche 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

Parameter

2 in der Query

Query-Parameter

· 2
apiKeystringPflicht

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

BeispielPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
idstringPflicht

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

BeispielvErSiOnHaNdLe123

Antwortschema

1 dokumentierter Statuscode

200Erfolg
object | object
Eine von 2 Varianten:
Variante 1
idstringPflicht

Version handle (echo).

postIdstringPflicht

External id of the parent post.

localestringPflicht

Locale code of this revision.

insertedDateDate | string | string | numberPflicht
Eine von 4 Varianten:
Variante 1
Date
Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
titlestringPflicht
contentstringPflicht

Full HTML content snapshot at this revision.

contentSizenumberPflicht
commitMessagestring | nullPflicht
authorobjectPflicht
idstring | nullPflicht
namestringPflicht
Variante 2
state"error"Pflicht
messagestringPflicht
code"200"Pflicht
hintstring | nullPflicht

Antwortbeispiel

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

Anfragebeispiel

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"

Sie brauchen einen API-Schlüssel?

Alle öffentlichen Endpunkte der BizKitHub-API authentifizieren per API-Schlüssel.

API-Schlüssel erhalten