List Comments with Mentions

Changed on
get/comments/ (COPY)

Request

  • Base URL
    https://cf-blast.livelikecdn.com/api/v1
  • URL
    https://cf-blast.livelikecdn.com/api/v1/comments/ (COPY)
  • Auth
    none required

Query parameters

comment_board_idstring required
parent_comment_idstring

This will return all the replies to the parent_comment_id within that board

ordering'created_at' | '-created_at' | 'reaction_count' | '-reaction_count'
  1. created_at → default ordering, returns comments in ascending order of created_at 2. -created_at. → opposite of created at, returns comments in descending order of created_at, 3. reaction_count -> order by reaction_count of a particular reaction *(reaction_id mandatory), in desc order 4. -reaction_count -> opposite of reaction_count
top_levelboolean

Set to true to return only top level comments

without_deleted_threadboolean

Set to true to exclude deleted threads in response

reaction_idstring

Mandatory if ordering = reaction_count / -reaction_count

Response

200

countinteger
nextunknown
previousunknown

Example response

{
  "count": 1,
  "results": [
    {
      "id": "3437f488-5c45-468b-8a14-c9b67ee77337",
      "url": "https://cf-blast.livelikecdn.com/api/v1/comments/3437f488-5c45-468b-8a14-c9b67ee77337/",
      "comment_board_id": "d849e096-d36d-406e-bff0-0627f13b19d4",
      "thread_comment_id": "3437f488-5c45-468b-8a14-c9b67ee77337",
      "text": "test_comment",
      "custom_data": "custom data",
      "author_id": "96819c56-063d-4fad-929a-79a0648122f4",
      "created_at": "2022-12-09T13:06:39.379146Z",
      "replies_url": "https://cf-blast.livelikecdn.com/api/v1/comments/?comment_board_id=d849e096-d36d-406e-bff0-0627f13b19d4&parent_comment_id=3437f488-5c45-468b-8a14-c9b67ee77337",
      "reactions": [
        {
          "reaction_id": "ad6aea57-f4d3-4336-b12e-914147f3940b",
          "count": 14,
          "self_reacted_user_reaction_id": "2aed404b-e44f-4159-b53a-84cce0996203"
        }
      ],
      "mentions": [
        {
          "id": "ab43b3be-197a-4579-b1df-3b9335967012",
          "mentioned_profile_id": "84e16917-6b30-4e23-9598-458e70baa5e9",
          "mentioned_profile_nickname": "Final Dog",
          "mentioned_by_profile_id": "ddacd28b-93da-4d05-9ea6-eeed35e74d90",
          "mentioned_by_profile_nickname": "Spicy Kicker",
          "start_index": 3,
          "end_index": 10
        }
      ]
    }
  ]
}

Changes