For the complete documentation index, see llms.txt. This page is also available as Markdown.

Comments

Comment management

Get Comments by Blog

get

Retrieves all comments associated with a specific blog post.

Authorizations
AuthorizationstringRequired

JWT Access Token obtained via login/register/refresh

Path parameters
blogIdstring · objectidRequired

ID of the blog post.

Responses
200

A list of comments for the blog.

application/json
get/comments/blog/{blogId}

Create Comment

post

Adds a new comment to a specific blog post. Increments comments count.

Authorizations
AuthorizationstringRequired

JWT Access Token obtained via login/register/refresh

Path parameters
blogIdstring · objectidRequired

ID of the blog post.

Body
contentstring · max: 1000Required

The comment text

Responses
201

Comment created successfully.

application/json
post/comments/blog/{blogId}

Delete Comment

delete

Deletes a specific comment. Requires user to be author or admin. Decrements comments count.

Authorizations
AuthorizationstringRequired

JWT Access Token obtained via login/register/refresh

Path parameters
commentIdstring · objectidRequired

ID of the comment.

Responses
204

Request successful, no response body.

No content

delete/comments/{commentId}

No content

Last updated

Was this helpful?