Returns a single comment with its author profile, optionally in the shape the editor expects.
Pass context=edit to receive media_images resolved from the stored media metadata instead of the raw meta blob. Access is checked against the parent post, so a comment on a post the caller cannot reach returns a 404.
The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.
Returns a single comment with its author profile, optionally in the shape the editor expects.
Pass
context=editto receivemedia_imagesresolved from the stored media metadata instead of the rawmetablob. Access is checked against the parent post, so a comment on a post the caller cannot reach returns a 404.Endpoint
GET/comments/{id}CommentsController@showfluent-community/app/Http/Routes/api.php:144fluent-community/app/Http/Controllers/CommentsController.phpLive sample
The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.
GET Get Comment
Returns a single comment with its author profile, optionally in the shape the editor expects.
Controller:
CommentsController@showRoute source:
fluent-community/app/Http/Routes/api.php:144Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Path Parameters
ID extracted from the URL path.
Query Parameters
Context read via
$request->get()in show().Responses
Successful response
Playground
Authorization
Variables
Samples