BizKitHub
DokumentationAPI-ExplorerPost/api/v1/post/comment/count
getPostÖffentliche API v1

/api/v1/post/comment/count

Returns number of non-deleted comments for a post.

postgetApiV1PostCommentCount

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
postIdstringPflicht

Post public id (content__post.external_id).

Beispiel6IU2SWgP76FO2UXw

Antwortschema

1 dokumentierter Statuscode

200Erfolg
object | object
Eine von 2 Varianten:
Variante 1
countnumberPflicht
Beispiel12
Variante 2
state"error"Pflicht
messagestringPflicht
code"200"Pflicht
hintstring | nullPflicht

Antwortbeispiel

application/json
{
  "count": 12
}

Anfragebeispiel

GET /api/v1/post/comment/count

get
curl -X GET "https://api.bizkithub.com/api/v1/post/comment/count?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&postId=6IU2SWgP76FO2UXw" \
  -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