Skip to content

Returns a single post by slug, fully transformed, along with its reactions summary and author profile.

Pass context=edit to receive the raw editable form instead of the rendered one; that variant requires edit access and fails otherwise. Only published and unlisted posts are readable by link — anything else returns a 404 unless the caller can edit it.

Endpoint

  • Method: GET

  • Path: /feeds/{feed_slug}/by-slug

  • Edition: Core

  • Controller: FeedsController@getFeedBySlug

  • Route source: fluent-community/app/Http/Routes/api.php:49

  • Controller source: fluent-community/app/Http/Controllers/FeedsController.php

  • A post in a space the caller cannot reach returns 404 rather than 403, so post existence cannot be probed.

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 Get Feed By Slug

GET
/feeds/{feed_slug}/by-slug

Returns a single post by slug, fully transformed, along with its reactions summary and author profile.

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

Authorizations

ApplicationPasswords

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

Type
API Key (header: Authorization)

Parameters

Path Parameters

feed_slug*

Feed Slug extracted from the URL path.

Type
string
Required

Query Parameters

context

Context read via $request->get() in getFeedBySlug().

Type
string

Responses

Successful response

application/json
JSON
{
  
"current_user_follows": {
  
  
"10": "string",
  
  
"166": "string",
  
  
"242": "string",
  
  
"1707": "string",
  
  
"1785": "string",
  
  
"2813": "string",
  
  
"3217": "string",
  
  
"3511": "string",
  
  
"10522": "string"
  
},
  
"execution_time": 0,
  
"feed": {
  
  
"bookmarked": true,
  
  
"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",
  
  
"featured_image": "string",
  
  
"has_user_react": true,
  
  
"id": 0,
  
  
"is_sticky": 0,
  
  
"message_rendered": "string",
  
  
"meta": {
  
  
  
"preview_data": "string"
  
  
},
  
  
"permalink": "string",
  
  
"priority": 0,
  
  
"privacy": "string",
  
  
"reactions": [
  
  
  
{
  
  
  
  
"additionalProperties": "string"
  
  
  
}
  
  
],
  
  
"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",
  
  
"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
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation