v1

latestOpenAPI 3.1.02026-07-24318141.2 MB

Create a Comment Board

post/comment-boards/

Headers

Authorizationstring required

Bearer Token

Request body

custom_idstring required
allow_commentsboolean

This will determine whether comments are allowed in this board or not

replies_depthinteger

This will determine the maximum number of nesting for a comment

titlestring

Board title

descriptionstring
custom_datastring

Custom data is used for things like: Storing extra context for the comment board

content_filter'none' | 'filtered'

To manage the type of comments allowed in a comment board, we provide two levels of content filtering. Each level determines how messages are moderated. 1. none: No content filtering, all users can post freely. 2.filtered: Profanity is automatically filtered.

attributesobject[]

list of comment board attributes in {"key": <>, "value": <>} format

Response

201

idstring
urlstring
client_idstring
custom_idstring
titlestring
{"stackTrail":"paths:/comment-boards/:post:responses:201:content:application/json:schema:properties:custom_data","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/comment-boards/:post:responses:201:content:application/json:schema:properties:description","oasType":"schema","type":"unknown"}
allow_commentsboolean
replies_depthinteger
comments_urlstring
comment_detail_url_templatestring
created_bystring
created_atstring
reaction_space_idstring

Example response

{
  "id": "eefa00d2-cf12-48de-99a0-3f10a1d3587a",
  "url": "https://cf-blast.livelikecdn.com/api/v1/comment-boards/eefa00d2-cf12-48de-99a0-3f10a1d3587a/",
  "client_id": "lom9db0XtQUhOZQq1vz8QPfSpiyyxppiUVGMcAje",
  "custom_id": "a0",
  "title": "User_Test",
  "allow_comments": true,
  "replies_depth": 2,
  "comments_url": "https://cf-blast.livelikecdn.com/api/v1/comments/",
  "comment_detail_url_template": "https://cf-blast.livelikecdn.com/api/v1/comments/{comment_id}/",
  "created_by": "460c435b-d3b7-4add-bc63-628b0911f811",
  "created_at": "2022-12-21T10:58:46.151911Z",
  "reaction_space_id": "a0e8a202-0674-4124-b494-f5e32c056dc0"
}