Skip to content

List Blog Comments​

GET
/api/v1/posts/{id}/comments

Parameters​

Path Parameters

id*
Type
string
Required

Responses​

Comments list

Playground​

Server
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

List comments for a blog post.

Auth: optional.

Parameters ​

NameInTypeRequiredDescription
idpathstringYesPost id

Request Body ​

None.

Response 200 ​

json
{
	"data": [
		{ "id": "com_1", "body": "Great post" }
	],
	"user_context": { "authenticated": false },
	"meta": {}
}

Response Errors ​

  • 404 post not found

Notes ​

  • Public posts may expose public comments.
  • Response shape follows the blog envelope with data, user_context, and meta.