Skip to content

Endpoint

  • Method: GET
  • Path: /feeds/{feed_id}/comments
  • Edition: Core
  • Controller: CommentsController@getComments
  • Route source: fluent-community/app/Http/Routes/api.php:51
  • Controller source: fluent-community/app/Http/Controllers/CommentsController.php

GET List Feed Comments

GET
/feeds/{feed_id}/comments

List Feed Comments for the FluentCommunity Comments API.

Controller: CommentsController@getComments
Route source: fluent-community/app/Http/Routes/api.php:51

Authorizations

ApplicationPasswords

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

Type
API Key (header: Authorization)

Parameters

Path Parameters

feed_id*

Feed ID extracted from the URL path.

Type
integer
Required

Responses

Successful response

application/json
JSON
{
  
"comments": [
  
  
{
  
  
  
"id": 0,
  
  
  
"user_id": 0,
  
  
  
"post_id": 0,
  
  
  
"parent_id": 0,
  
  
  
"message": "string",
  
  
  
"message_rendered": "string",
  
  
  
"meta": {
  
  
  
  
"media_preview": {
  
  
  
  
  
"image": "string",
  
  
  
  
  
"url": "string",
  
  
  
  
  
"type": "string",
  
  
  
  
  
"provider": "string",
  
  
  
  
  
"content_type": "string",
  
  
  
  
  
"title": "string",
  
  
  
  
  
"author_name": "string",
  
  
  
  
  
"html": "string",
  
  
  
  
  
"width": 0,
  
  
  
  
  
"height": 0,
  
  
  
  
  
"media_id": 0,
  
  
  
  
  
"player": "string"
  
  
  
  
},
  
  
  
  
"media_items": [
  
  
  
  
  
{
  
  
  
  
  
  
"url": "string",
  
  
  
  
  
  
"type": "string",
  
  
  
  
  
  
"media_id": 0,
  
  
  
  
  
  
"width": 0,
  
  
  
  
  
  
"height": 0,
  
  
  
  
  
  
"provider": "string"
  
  
  
  
  
}
  
  
  
  
],
  
  
  
  
"mentioned_user_ids": [
  
  
  
  
  
0
  
  
  
  
]
  
  
  
},
  
  
  
"type": "string",
  
  
  
"content_type": "string",
  
  
  
"status": "string",
  
  
  
"is_sticky": true,
  
  
  
"reactions_count": 0,
  
  
  
"created_at": "string",
  
  
  
"updated_at": "string",
  
  
  
"xprofile": {
  
  
  
  
"user_id": 0,
  
  
  
  
"display_name": "string",
  
  
  
  
"username": "string",
  
  
  
  
"avatar": "string",
  
  
  
  
"status": "string",
  
  
  
  
"total_points": 0,
  
  
  
  
"is_verified": true,
  
  
  
  
"meta": {
  
  
  
  
  
"website": "string",
  
  
  
  
  
"cover_photo": "string",
  
  
  
  
  
"badge_slug": [
  
  
  
  
  
  
"string"
  
  
  
  
  
],
  
  
  
  
  
"social_links": {
  
  
  
  
  
  
"instagram": "string",
  
  
  
  
  
  
"twitter": "string",
  
  
  
  
  
  
"youtube": "string",
  
  
  
  
  
  
"linkedin": "string",
  
  
  
  
  
  
"fb": "string",
  
  
  
  
  
  
"blue_sky": "string",
  
  
  
  
  
  
"tiktok": "string",
  
  
  
  
  
  
"pinterest": "string",
  
  
  
  
  
  
"telegram": "string",
  
  
  
  
  
  
"snapchat": "string",
  
  
  
  
  
  
"reddit": "string",
  
  
  
  
  
  
"twitch": "string",
  
  
  
  
  
  
"vk": "string",
  
  
  
  
  
  
"github": "string",
  
  
  
  
  
  
"mastodon": "string"
  
  
  
  
  
}
  
  
  
  
},
  
  
  
  
"created_at": "string",
  
  
  
  
"short_description": "string",
  
  
  
  
"last_activity": "string",
  
  
  
  
"badge": "string",
  
  
  
  
"permalink": "string"
  
  
  
}
  
  
}
  
]
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation