Skip to content

Get blog comment collection (storefront callers see approved comments only)​

GET
/rest/v1/cms/blog/comment

Storefront callers — guest (no token) and authenticated customer — receive APPROVED comments only: filter[status] is server-forced to approved for them, so a supplied value is ignored rather than ANDed with it. They also cannot pivot or order the listing by commenter email — filter[email], sort=email and sort=children.email are silently dropped — and the email and status fields are omitted from the response entirely. Backend callers are unaffected on every count.

Parameters​

Query Parameters

filter[id]

Filter by comment IDs

Type
string
filter[parentId]

Filter by comment parent ID

Type
integer
filter[blogId]

Filter by blog article ID

Type
integer
filter[status]

Filter by moderation status (approved|pending|rejected). Backend callers only — for storefront (guest/customer) callers this value is server-forced to approved and any supplied value is ignored.

Type
string
filter[name]

Partial filter by name

Type
string
filter[email]

Partial filter by email. BACKEND CALLERS ONLY — silently dropped for storefront (guest/customer) callers.

Type
string
filter[content]

Partial filter by content

Type
string
sort

Sort order. email and children.email are BACKEND CALLERS ONLY and are silently dropped for storefront (guest/customer) callers.

Type
string
page

Page number

Type
integer
limit

Pagination limit

Type
integer
with

With relations

Type
string

Responses​

Successful operation

application/json
JSON
[
]

Playground​

Variables
Key
Value

Samples​

Powered by VitePress OpenAPI