Comments

Get a comment

Retrieve a single comment by ID.

get/comments/{comment_id}

Request

  • Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.presscart.com/comments/{comment_id}
  • Auth: HTTP bearer

Path parameters

comment_idstring required
Example:a7B9c2D4e6F8

Response

Comment retrieved successfully

idstring required

Public comment reference.

contentunknown
content_htmlstring nullable required
parent_comment_idstring nullable required

Parent comment reference. Null for root comments.

is_internalboolean required

Whether this comment is internal (team only) or public

entity_typestring required

Type of entity being commented on (article, campaign, etc.)

entity_idstring uuid required

ID of the entity being commented on

team_idstring uuid required
user_idstring uuid nullable required

Presscart user author. Null for API-token comments with external authors.

Example response

{
  "id": "a7B9c2D4e6F8",
  "is_internal": true,
  "entity_type": "article",
  "entity_id": "123e4567-e89b-12d3-a456-426614174000",
  "team_id": "123e4567-e89b-12d3-a456-426614174000",
  "user_id": "123e4567-e89b-12d3-a456-426614174000"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.