v1

latestOpenAPI 3.1.02026-07-24318141.2 MB

List Comments by Author

get/profiles/{profile_id}/comments/

Path parameters

profile_idstring required

Profile Id whose comments are to fetched

Query parameters

comment_board_idstring

Optional comment_board filter

parent_comment_idstring

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

orderingstring
  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
top_levelboolean

Set to true to return only top level comments

without_deleted_threadboolean

Set to true to exclude deleted threads in response

Response

200

countinteger
{"stackTrail":"paths:/profiles/{profile_id}/comments/:get:responses:200:content:application/json:schema:properties:next","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/profiles/{profile_id}/comments/:get:responses:200:content:application/json:schema:properties:previous","oasType":"schema","type":"unknown"}

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"
    }
  ]
}