Skip to navigation

Like Comment

Toggle like on a comment. If already liked, removes the like. If not liked, adds a like.

Authentication: Required — Bearer token.

Feature gate: Requires comments feature enabled.

Path parameters:

  • id (required) — Comment ID

Response:

  • liked — Boolean indicating current like status after toggle
  • likes_count — Updated total like count

Errors:

  • 404 — Comment not found

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired
Comment ID

Response

OK