BizKitHub
DocsAPI ReferencePost/bff/post/view-history
getPostAdmin BFF

/bff/post/view-history

Returns one row per day for which a snapshot was recorded (rows are only written when the cumulative content__post.views_count actually changed since the previous snapshot, so gaps are legitimate — the value is the same as on the preceding row). Rows are chronological (oldest first) so the admin sidebar chart can plot them without additional sorting.

PostgetBffPostView-history

Parameters

1 query

Query parameters

· 1
idstringRequired

Post external ID.

ExampleaBcDeFgH12345678

Response schema

1 status code documented

200Success
itemsobject[]Required
Each array item:
datestringRequired

ISO calendar day (YYYY-MM-DD) the snapshot was recorded for.

Example2026-07-26
viewCountnumberRequired

Cumulative view count as of the snapshot day.

Example1234

Response example

application/json
{
  "items": [
    {
      "date": "2026-07-26",
      "viewCount": 1234
    }
  ]
}

Request example

GET /bff/post/view-history

get
curl -X GET "https://api.bizkithub.com/bff/post/view-history?id=aBcDeFgH12345678" \
  -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