Parameters
No parameters required
This endpoint takes no path, query, header or body parameters.
Returns the number of posts per computed status (draft / scheduled / published / private / archived) so the "Stav" filter chip can render (N) counts next to each option and sort by count DESC. Mirrors the exact CASE in selectPostList (soft-deleted → archived, future publish → scheduled, private visibility → draft/private depending on published_date, everything else → published) so the count and the grid rows stay consistent.
No parameters required
This endpoint takes no path, query, header or body parameters.
1 status code documented
itemsobject[]Requiredstatus"draft" | "scheduled" | "published" | "private" | "archived"RequiredComputed post status — mirrors resolvePostStatus.
postCountnumberRequiredNumber of posts (kind=post) in the organisation with this computed status.
42{
"items": [
{
"postCount": 42
}
]
}GET /bff/post/status-count
curl -X GET "https://api.bizkithub.com/bff/post/status-count" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"All BizKitHub public API endpoints require authentication via API key.