Create a new thread.
POST /boards/{board_id}
Creates a new thread in the specified board.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The id for the board in which the thread will be created.
Examples
The id for the gore board.
c6d3d10e-8e49-4d73-b28a-9d652b41beecRequest Body required
Section titled “Request Body required ”Request body
object
The content of the first post in the thread.
The default view that the thread will display as.
The identity the original poster will use to create the thread.
The accessory that the original poster will use in the thread.
The whisper tags associated with the thread.
The searchable tags associated with the thread.
The content warnings associated with the thread.
The categories associated with the thread.
Examples
The request body for making a thread on the gore board.
{ "content": "[{\"insert\":\"Gore. Gore? Gore!\"}]", "forceAnonymous": false, "defaultView": "thread", "whisper_tags": [ "whisper" ], "index_tags": [ "search" ], "content_warnings": [ "content notice" ], "category_tags": [ "filter" ]}Responses
Section titled “ Responses ”Thread has been created.
object
A contribution to a thread.
object
Types of tags associated to a contribution.
object
A map from post_id to its comments.
object
object
The contribution that starts the thread.
object
Types of tags associated to a contribution.
object
Whether the thread is new. False when the user is logged out.
Whether the thread is muted. False when the user is logged out.
Whether the thread is hidden. False when the user is logged out.
Whether the thread is starred.
Examples
The response body for making a thread on the gore board.
{ "id": "60634506-6ab1-4083-9867-905cef85cef6", "parent_board_slug": "gore", "parent_board_id": "c6d3d10e-8e49-4d73-b28a-9d652b41beec", "parent_realm_slug": "twisted-minds", "parent_realm_id": "76ef4cc3-1603-4278-95d7-99c59f481d2e", "starter": { "id": "30f7b263-2406-495a-8ab7-4bd559738510", "parent_thread_id": "60634506-6ab1-4083-9867-905cef85cef6", "parent_post_id": null, "created_at": "2021-11-15T13:32:26.00Z", "content": "[{\"insert\":\"Gore. Gore? Gore!\"}]", "secret_identity": { "name": "Him Free", "avatar": "https://firebasestorage.googleapis.com/v0/b/bobaboard-fb.appspot.com/o/images%2Fbobaland%2Fundefined%2F4e72a52a-9fdd-4a49-a7f0-ffa56a46836d?alt=media&token=153015fa-c46b-4184-a17f-10c3e609bf70", "color": null, "accessory": null }, "user_identity": { "name": "bobatan", "avatar": "/bobatan.png" }, "friend": false, "own": true, "new": false, "tags": { "whisper_tags": [ "whisper" ], "index_tags": [ "search" ], "category_tags": [ "filter" ], "content_warnings": [ "content notice" ] }, "total_comments_amount": 0, "new_comments_amount": 0 }, "default_view": "thread", "muted": false, "hidden": false, "starred": false, "new": false, "new_posts_amount": 0, "new_comments_amount": 0, "total_comments_amount": 0, "total_posts_amount": 1, "last_activity_at": "2021-11-15T13:32:26.00Z", "direct_threads_amount": 0, "posts": [ { "id": "30f7b263-2406-495a-8ab7-4bd559738510", "parent_thread_id": "60634506-6ab1-4083-9867-905cef85cef6", "parent_post_id": null, "created_at": "2021-11-15T13:32:26.00Z", "content": "[{\"insert\":\"Gore. Gore? Gore!\"}]", "secret_identity": { "name": "Him Free", "avatar": "https://firebasestorage.googleapis.com/v0/b/bobaboard-fb.appspot.com/o/images%2Fbobaland%2Fundefined%2F4e72a52a-9fdd-4a49-a7f0-ffa56a46836d?alt=media&token=153015fa-c46b-4184-a17f-10c3e609bf70", "color": null, "accessory": null }, "user_identity": null, "friend": false, "own": true, "new": false, "tags": { "whisper_tags": [ "whisper" ], "index_tags": [ "search" ], "category_tags": [ "filter" ], "content_warnings": [ "content notice" ] }, "total_comments_amount": 0, "new_comments_amount": 0 } ], "comments": { "30f7b263-2406-495a-8ab7-4bd559738510": [] }}User was not found in request that requires authentication.
Generic response object
object
Examples
No authentication token given.
{ "message": "No authenticated user found."}Expired authentication token given.
{ "message": "Authentication token expired."}User is unauthorized to perform board operation.
Generic response object
object
Examples
Insufficient permissions.
{ "message": "User does not have required permissions for board operation."}The specified board could not be found.
Generic response object
object
Examples
Board not found.
{ "message": "The board with id 29d1b2da-3289-454a-9089-2ed47db4967b was not found."}