Returns a paginated list of the comments one member has written, each with the full parent post eager-loaded so the post can open without a second request.
Despite living under the comments group this is a profile endpoint, addressed by {username}. Viewing another member list is restricted to posts that member can see and to plain text posts; the profile owner and community moderators see everything.
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 paginated list of the comments one member has written, each with the full parent post eager-loaded so the post can open without a second request.
Returns a paginated list of the comments one member has written, each with the full parent post eager-loaded so the post can open without a second request.
Despite living under the comments group this is a profile endpoint, addressed by
{username}. Viewing another member list is restricted to posts that member can see and to plain text posts; the profile owner and community moderators see everything.Endpoint
GET/profile/{username}/commentsProfileController@getCommentsfluent-community/app/Http/Routes/api.php:93fluent-community/app/Http/Controllers/ProfileController.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 Comments
Returns a paginated list of the comments one member has written, each with the full parent post eager-loaded so the post can open without a second request.
Controller:
ProfileController@getCommentsRoute source:
fluent-community/app/Http/Routes/api.php:93Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Path Parameters
Username extracted from the URL path.
Responses
Successful response
Playground
Authorization
Variables
Samples