Skip to content

Comments API

Feed comment listing, creation, updates, deletes, and single comment retrieval.

Authentication

Comment routes are protected by PortalPolicy and then validated against feed and space permissions inside the controller.

Endpoints

MethodPathEditionOperationController
GET/feeds/{feed_id}/commentsCoreList Feed CommentsCommentsController@getComments
POST/feeds/{feed_id}/commentsCoreCreate CommentCommentsController@store
POST/feeds/{feed_id}/comments/{comment_id}CoreUpdate CommentCommentsController@update
PATCH/feeds/{feed_id}/comments/{comment_id}CorePatch CommentCommentsController@patchComment
DELETE/feeds/{feed_id}/comments/{comment_id}CoreDelete CommentCommentsController@deleteComment
GET/profile/{username}/commentsCoreGet Get CommentsProfileController@getComments
GET/comments/{id}CoreGet CommentCommentsController@show
GET/admin/courses/{course_id}/commentsCoreGet Get Course CommentsCourseAdminController@getCourseComments

FluentCommunity developer documentation