BizKitHub
DokumentationAPI-ExplorerPost/api/v1/post/comment/restore
postPostÖffentliche API v1

/api/v1/post/comment/restore

INTERNAL. Restore a soft-deleted comment (sets deleted_date = null).

postpostApiV1PostCommentRestore

Parameter

1 in der Query · JSON-Body

Query-Parameter

· 1
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

Request-Body

application/json
commentIdstringPflicht

Comment external ID (content__post_comment.external_id), 16-char string.

BeispielAbc1dEf2gHiJ3kL4

Antwortschema

1 dokumentierter Statuscode

200Erfolg
object | object
Eine von 2 Varianten:
Variante 1
success"true"Pflicht
Variante 2
success"false"Pflicht
messagestringPflicht

Antwortbeispiel

application/json
{
  "success": true
}

Anfragebeispiel

POST /api/v1/post/comment/restore

post
curl -X POST "https://api.bizkithub.com/api/v1/post/comment/restore?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "commentId": "Abc1dEf2gHiJ3kL4"
}'

Sie brauchen einen API-Schlüssel?

Alle öffentlichen Endpunkte der BizKitHub-API authentifizieren per API-Schlüssel.

API-Schlüssel erhalten