Returns every comment on a post in chronological order, with each author profile attached and the current user liked state flagged.
Comments are not paginated — the whole thread is returned in one response. Pending comments are only visible to moderators when content moderation is enabled. A post the caller cannot reach, or an unpublished post they cannot edit, returns a 404 rather than an empty list.
Comments from deactivated or blocked profiles are excluded.
Live 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.
Returns every comment on a post in chronological order, with each author profile attached and the current user liked state flagged.
Comments are not paginated — the whole thread is returned in one response. Pending comments are only visible to moderators when content moderation is enabled. A post the caller cannot reach, or an unpublished post they cannot edit, returns a 404 rather than an empty list.
Endpoint
Method:
GETPath:
/feeds/{feed_id}/commentsEdition: Core
Controller:
CommentsController@getCommentsRoute source:
fluent-community/app/Http/Routes/api.php:52Controller source:
fluent-community/app/Http/Controllers/CommentsController.phpComments from deactivated or blocked profiles are excluded.
Live 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 List Feed Comments
Returns every comment on a post in chronological order, with each author profile attached and the current user liked state flagged.
Controller:
CommentsController@getCommentsRoute source:
fluent-community/app/Http/Routes/api.php:52Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Path Parameters
Feed ID extracted from the URL path.
Responses
Successful response
Playground
Authorization
Variables
Samples