v1

latestOpenAPI 3.1.02026-07-24318141.2 MB

Create a Comment

post/comments/

Headers

Authorizationstring required

Bearer Token

Request body

comment_board_idstring required
textstring

Comment text

custom_datastring
parent_comment_idstring

Comment id of the parent comment for which this comment be treated as a reply

is_excluded_from_trendingboolean
is_excluded_from_qualityboolean

Response

201

idstring
urlstring
comment_board_idstring
parent_comment_idstring
thread_comment_idstring
textstring
comment_depthinteger
{"stackTrail":"paths:/comments/:post:responses:201:content:application/json:schema:properties:custom_data","oasType":"schema","type":"unknown"}
author_idstring
is_deletedboolean
created_atstring
{"stackTrail":"paths:/comments/:post:responses:201:content:application/json:schema:properties:replies_url","oasType":"schema","type":"unknown"}
is_excluded_from_qualityboolean
is_excluded_from_trendingboolean

Example response

{
  "id": "69d1c606-7759-4aa7-9a8d-747da62d10e6",
  "url": "https://cf-blast.livelikecdn.com/api/v1/comments/69d1c606-7759-4aa7-9a8d-747da62d10e6/",
  "comment_board_id": "d849e096-d36d-406e-bff0-0627f13b19d4",
  "parent_comment_id": "822b69ea-cee0-422b-b0f8-4001a8cdee01",
  "thread_comment_id": "822b69ea-cee0-422b-b0f8-4001a8cdee01",
  "text": "Sample Comment",
  "comment_depth": 1,
  "author_id": "460c435b-d3b7-4add-bc63-628b0911f811",
  "created_at": "2022-12-22T08:59:32.761643Z",
  "attributes": [
    {
      "key": "key-1",
      "value": "value-1"
    }
  ]
}