Skip to Content

TwentyThree™ API

API Method: /api/comment/promote

Promote or unpromote a comment


comment_id (required) Identifier of the comment to be promoted or unpromoted.
promoted_p Set promotion status to 1 or 0. Default is true.

Permission level

The minimum required permission level is:


Example XML Response

<response status="ok" permission_level="write" 
  message="The comment promotion status was updated" cached="0"/>

Example JSON Response

  "status": "ok", 
  "message":"The comment promotion status was updated",
  "p": "1",
  "size": "1",
  "site": { ... },
  "endpoint": "/api/comment/promote"