Skip to content

Returns the full transformed payload for a list of post ids in one request, for refreshing items a ticker call flagged as changed.

Send feed_ids; only the first 20 are honoured and the rest are dropped silently. Only published posts the caller may read come back, so the returned count can be lower than the number requested.

Endpoint ​

  • Method: POST
  • Path: /feeds/batch
  • Edition: Core
  • Controller: FeedsController@batchFetch
  • Route source: fluent-community/app/Http/Routes/api.php:69
  • Controller source: fluent-community/app/Http/Controllers/FeedsController.php

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.

POST Batch Fetch Feeds​

POST
/feeds/batch

Returns the full transformed payload for a list of post ids in one request, for refreshing items a ticker call flagged as changed.

Controller: FeedsController@batchFetch
Route source: fluent-community/app/Http/Routes/api.php:69

Authorizations​

ApplicationPasswords

WordPress Application Passwords — use Basic auth with username:application_password.

Type
API Key (header: Authorization)

Request Body​

application/json
JSON
{
  
"feed_ids": [
  
  
"string"
  
]
}

Responses​

Successful response

application/json
JSON
{
  
"count": 0,
  
"feeds": [
  
  
{
  
  
  
"comments": [
  
  
  
  
{
  
  
  
  
  
"content_type": "string",
  
  
  
  
  
"created_at": "string",
  
  
  
  
  
"id": 0,
  
  
  
  
  
"is_sticky": 0,
  
  
  
  
  
"message": "string",
  
  
  
  
  
"message_rendered": "string",
  
  
  
  
  
"meta": [
  
  
  
  
  
  
{
  
  
  
  
  
  
  
"additionalProperties": "string"
  
  
  
  
  
  
}
  
  
  
  
  
],
  
  
  
  
  
"parent_id": "string",
  
  
  
  
  
"post_id": "string",
  
  
  
  
  
"reactions_count": "string",
  
  
  
  
  
"status": "string",
  
  
  
  
  
"type": "string",
  
  
  
  
  
"updated_at": "string",
  
  
  
  
  
"user_id": "string",
  
  
  
  
  
"xprofile": {
  
  
  
  
  
  
"avatar": "string",
  
  
  
  
  
  
"badge": "string",
  
  
  
  
  
  
"created_at": "string",
  
  
  
  
  
  
"display_name": "string",
  
  
  
  
  
  
"is_verified": 0,
  
  
  
  
  
  
"last_activity": "string",
  
  
  
  
  
  
"meta": {
  
  
  
  
  
  
  
"badge_slug": "string",
  
  
  
  
  
  
  
"cover_photo": "string",
  
  
  
  
  
  
  
"social_links": {
  
  
  
  
  
  
  
  
"fb": "string",
  
  
  
  
  
  
  
  
"instagram": "string",
  
  
  
  
  
  
  
  
"linkedin": "string",
  
  
  
  
  
  
  
  
"twitter": "string",
  
  
  
  
  
  
  
  
"youtube": "string"
  
  
  
  
  
  
  
},
  
  
  
  
  
  
  
"website": "string"
  
  
  
  
  
  
},
  
  
  
  
  
  
"permalink": "string",
  
  
  
  
  
  
"short_description": "string",
  
  
  
  
  
  
"status": "string",
  
  
  
  
  
  
"total_points": 0,
  
  
  
  
  
  
"user_id": 0,
  
  
  
  
  
  
"username": "string"
  
  
  
  
  
}
  
  
  
  
}
  
  
  
],
  
  
  
"comments_count": 0,
  
  
  
"content_type": "string",
  
  
  
"created_at": "string",
  
  
  
"default_comment_sort_by": "string",
  
  
  
"expired_at": "string",
  
  
  
"featured_image": "string",
  
  
  
"id": 0,
  
  
  
"is_sticky": 0,
  
  
  
"message": "string",
  
  
  
"message_rendered": "string",
  
  
  
"meta": {
  
  
  
  
"last_edited": {
  
  
  
  
  
"time": "string",
  
  
  
  
  
"user_id": 0
  
  
  
  
}
  
  
  
},
  
  
  
"parent_id": "string",
  
  
  
"permalink": "string",
  
  
  
"priority": 0,
  
  
  
"privacy": "string",
  
  
  
"reactions": [
  
  
  
  
{
  
  
  
  
  
"created_at": "string",
  
  
  
  
  
"id": 0,
  
  
  
  
  
"object_id": "string",
  
  
  
  
  
"object_type": "string",
  
  
  
  
  
"parent_id": "string",
  
  
  
  
  
"type": "string",
  
  
  
  
  
"updated_at": "string",
  
  
  
  
  
"user_id": "string",
  
  
  
  
  
"xprofile": {
  
  
  
  
  
  
"avatar": "string",
  
  
  
  
  
  
"badge": "string",
  
  
  
  
  
  
"display_name": "string",
  
  
  
  
  
  
"permalink": "string",
  
  
  
  
  
  
"user_id": 0
  
  
  
  
  
}
  
  
  
  
}
  
  
  
],
  
  
  
"reactions_count": 0,
  
  
  
"scheduled_at": "string",
  
  
  
"slug": "string",
  
  
  
"space": {
  
  
  
  
"id": 0,
  
  
  
  
"settings": {
  
  
  
  
  
"can_request_join": "string",
  
  
  
  
  
"custom_lock_screen": "string",
  
  
  
  
  
"default_comment_sort_by": "string",
  
  
  
  
  
"default_post_sort_by": "string",
  
  
  
  
  
"disable_layout_style": "string",
  
  
  
  
  
"disable_post_sort_by": "string",
  
  
  
  
  
"document_access": "string",
  
  
  
  
  
"document_library": "string",
  
  
  
  
  
"document_upload": "string",
  
  
  
  
  
"emoji": "string",
  
  
  
  
  
"hide_members_count": "string",
  
  
  
  
  
"layout_style": "string",
  
  
  
  
  
"links": [
  
  
  
  
  
  
{
  
  
  
  
  
  
  
"additionalProperties": "string"
  
  
  
  
  
  
}
  
  
  
  
  
],
  
  
  
  
  
"media_access": "string",
  
  
  
  
  
"media_gallery": "string",
  
  
  
  
  
"members_page_status": "string",
  
  
  
  
  
"og_image": "string",
  
  
  
  
  
"restricted_post_only": "string",
  
  
  
  
  
"shape_svg": "string",
  
  
  
  
  
"show_paywalls": "string",
  
  
  
  
  
"show_sidebar": "string",
  
  
  
  
  
"topic_required": "string"
  
  
  
  
},
  
  
  
  
"slug": "string",
  
  
  
  
"title": "string",
  
  
  
  
"type": "string"
  
  
  
},
  
  
  
"space_id": "string",
  
  
  
"status": "string",
  
  
  
"terms": [
  
  
  
  
{
  
  
  
  
  
"additionalProperties": "string"
  
  
  
  
}
  
  
  
],
  
  
  
"title": "string",
  
  
  
"type": "string",
  
  
  
"updated_at": "string",
  
  
  
"user_id": "string",
  
  
  
"xprofile": {
  
  
  
  
"avatar": "string",
  
  
  
  
"badge": "string",
  
  
  
  
"created_at": "string",
  
  
  
  
"display_name": "string",
  
  
  
  
"is_verified": 0,
  
  
  
  
"last_activity": "string",
  
  
  
  
"meta": {
  
  
  
  
  
"badge_slug": "string",
  
  
  
  
  
"cover_photo": "string",
  
  
  
  
  
"social_links": {
  
  
  
  
  
  
"fb": "string",
  
  
  
  
  
  
"instagram": "string",
  
  
  
  
  
  
"linkedin": "string",
  
  
  
  
  
  
"twitter": "string",
  
  
  
  
  
  
"youtube": "string"
  
  
  
  
  
},
  
  
  
  
  
"website": "string"
  
  
  
  
},
  
  
  
  
"permalink": "string",
  
  
  
  
"short_description": "string",
  
  
  
  
"status": "string",
  
  
  
  
"total_points": 0,
  
  
  
  
"user_id": 0,
  
  
  
  
"username": "string"
  
  
  
}
  
  
}
  
]
}

Playground​

Authorization
Body

Samples​

Powered by VitePress OpenAPI

FluentCommunity developer documentation