BizKitHub
DocsAPI ReferencePost/bff/post/locale-mark-up-to-date
postPostAdmin BFF

/bff/post/locale-mark-up-to-date

Re-anchors content__post_locale.source_history_id to the current newest source-locale history entry — signalling the translation content is a correct rendering of the current source version. The translation text itself is not modified. Refuses on the primary locale (nothing to pin) and when the source has no history yet.

PostpostBffPostLocale-mark-up-to-date

Parameters

JSON body

Request body

application/json
postIdstringRequired

Post external ID.

ExampleaBcDeFgH12345678
localestringRequired

Locale to mark as up-to-date.

Examplede

Response schema

1 status code documented

200Success
successbooleanRequired
localestringRequired
pinnedToHistoryIdnumber | nullRequired
One of 2:
Variant 1
number
Variant 2
null
wasStalebooleanRequired

True when the locale was actually stale before this call.

Response example

application/json
{
  "success": false,
  "locale": "example_locale",
  "wasStale": false
}

Request example

POST /bff/post/locale-mark-up-to-date

post
curl -X POST "https://api.bizkithub.com/bff/post/locale-mark-up-to-date" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "postId": "aBcDeFgH12345678",
  "locale": "de"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key