Appearance
Get a single blog comment by ID (storefront callers see approved comments only)
GET
/rest/v1/cms/blog/comment/{id}
Storefront callers — guest (no token) and authenticated customer — can only retrieve an APPROVED comment: requesting a pending or rejected comment by ID returns 404 Entity not found rather than the row. show() fetches by primary key OUTSIDE the filter pipeline, so the forced status filter cannot reach it and this is enforced per-row instead. Backend callers are unaffected and retrieve unmoderated comments normally. This route honours relation sorts on the embedded reply tree, so the same commenter-email sort denial as the collection applies: sort=children.email (and the root sort=email) are silently dropped for storefront callers.
Parameters
Path Parameters
id*
ID of the comment to retrieve
Type
Requiredinteger
Format
"int64"Query Parameters
with
With relations
Type
string
sort
Sort order for the embedded relations (e.g. children.date). email and children.email are BACKEND CALLERS ONLY and are silently dropped for storefront (guest/customer) callers.
Type
string
Responses
Successful operation
application/json
JSON
"string"