Applies a small state change to a post — pinning it, changing its priority, or turning comments off.
Moderators may set is_sticky, priority and comments_disabled; a plain author is restricted to comments_disabled only. Making a post sticky first clears the sticky flag from every other post in the same space, so a space holds at most one pinned post.
Endpoint
Method:
PATCHPath:
/feeds/{feed_id}Edition: Core
Controller:
FeedsController@patchFeedRoute source:
fluent-community/app/Http/Routes/api.php:45Controller source:
fluent-community/app/Http/Controllers/FeedsController.phpRequires the post author, a community moderator, or a community admin, either globally or in the space.
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.
PATCH Patch Feed
Applies a small state change to a post — pinning it, changing its priority, or turning comments off.
Controller: FeedsController@patchFeed
Route source: fluent-community/app/Http/Routes/api.php:45
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Path Parameters
Feed ID extracted from the URL path.
Request Body
Responses
Successful response