Parameters
1 query
Query parameters
· 1idstringRequiredPost external ID.
aBcDeFgH12345678Returns the per-locale state matrix for the post: primary locale, every organisation locale (existence / staleness / last-edited timestamp), and any orphan locales that have a content__post_locale row but are no longer enabled for the organisation. Powers the locale strip in the admin post detail.
1 query
idstringRequiredPost external ID.
aBcDeFgH123456781 status code documented
postIdstringRequiredEchoed external ID of the post.
primaryLocalestringRequiredOrganisation default locale (ISO 639-1). Every stale check compares translations against this.
localesobject[]RequiredlocalestringRequiredISO 639-1 code.
isPrimarybooleanRequiredTrue for the organisation default locale — always emitted first.
inOrganisationbooleanRequiredTrue when the locale is enabled via cas__organisation_locale. False = orphan translation.
existsbooleanRequiredTrue when a content__post_locale row exists.
hasContentbooleanRequiredTrue when the locale row has non-empty title AND content (after trim).
isStalebooleanRequiredTrue when the non-primary translation was generated from an older source-locale history entry than the current one. Always false for the primary locale.
lastEditedAtDate | string | string | number | nullRequiredMost recent content__post_history row for this locale.
Most recent content__post_history row for this locale.
{
"postId": "example_postId",
"primaryLocale": "example_primaryLocale",
"locales": [
{
"locale": "example_locale",
"isPrimary": false,
"inOrganisation": false,
"exists": false,
"hasContent": false,
"isStale": false
}
]
}GET /bff/post/locales
curl -X GET "https://api.bizkithub.com/bff/post/locales?id=aBcDeFgH12345678" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"All BizKitHub public API endpoints require authentication via API key.