Returns the paginated document posts of one space, newest first, each with its author and topics attached.
space_id is required. Filter with search and an optional search_in list of columns. Only posts whose content type is document and whose status is published or unlisted are listed.
Endpoint
Method:
GETPath:
/documentsEdition: PRO
Controller:
DocumentController@indexRoute source:
fluent-community-pro/app/Modules/DocumentLibrary/DocumentModule.php:41Requires the
can_view_documentspermission in the space; failure comes back as an error carryingpermission_failed.Requires FluentCommunity Pro.
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 Documents
Returns the paginated document posts of one space, newest first, each with its author and topics attached.
Controller: DocumentController@index
Route source: fluent-community-pro/app/Modules/DocumentLibrary/DocumentModule.php:41
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Responses
Successful response