Returns a page of posts the current user is allowed to read, transformed for display, with the pinned post of a space returned separately on the first page.
Pass space to scope to one space, user_id to scope to one author, topic_slug to filter by topic, and search with an optional search_in list of columns. order_by_type selects the sort. per_page defaults to 10 and is capped by the fluent_community/max_per_page filter (100 by default). Pagination is cursor-like rather than counted: total is an estimate derived from the page size, and has_more means only that the page came back full.
Endpoint
Method:
GETPath:
/feedsEdition: Core
Controller:
FeedsController@getRoute source:
fluent-community/app/Http/Routes/api.php:42Controller source:
fluent-community/app/Http/Controllers/FeedsController.phpSticky posts are hoisted into the separate
stickykey on page 1 of a space, and suppressed entirely when searching, filtering by topic, or whendisable_sticky=yes.Posts from spaces the caller is not a member of, and posts by deactivated or blocked profiles, are excluded.
Filtering by
statusis only honoured for moderators or for a caller reading their own posts.
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 Feeds
Returns a page of posts the current user is allowed to read, transformed for display, with the pinned post of a space returned separately on the first page.
Controller: FeedsController@get
Route source: fluent-community/app/Http/Routes/api.php:42
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Query Parameters
Space read via $request->get() in get().
User ID read via $request->getSafe() in get().
Topic Slug read via $request->getSafe() in get().
Search read via $request->getSafe() in get().
Status read via $request->getSafe() in get().
Per Page read via $request->get() in get().
10Page read via $request->get() in get().
1Search In read via $request->get() in get().
"post_content"Order By Type read via $request->getSafe() in get().
Disable Sticky read via $request->get() in get().
Responses
Successful response