Skip to content

Endpoint

  • Method: GET
  • Path: /profile/{username}/comments
  • Edition: Core
  • Controller: ProfileController@getComments
  • Route source: fluent-community/app/Http/Routes/api.php:89
  • Controller source: fluent-community/app/Http/Controllers/ProfileController.php

GET Get Get Comments

GET
/profile/{username}/comments

Get Get Comments for the FluentCommunity Comments API.

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

Authorizations

ApplicationPasswords

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

Type
API Key (header: Authorization)

Parameters

Path Parameters

username*

Username extracted from the URL path.

Type
string
Required

Responses

Successful response

application/json
JSON
{
  
"comments": {
  
  
"data": [
  
  
  
{
  
  
  
  
"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",
  
  
  
  
"post": {
  
  
  
  
  
"id": 0,
  
  
  
  
  
"title": "string",
  
  
  
  
  
"message": "string",
  
  
  
  
  
"type": "string",
  
  
  
  
  
"space_id": 0,
  
  
  
  
  
"slug": "string",
  
  
  
  
  
"created_at": "string",
  
  
  
  
  
"space": {
  
  
  
  
  
  
"id": 0,
  
  
  
  
  
  
"title": "string",
  
  
  
  
  
  
"slug": "string",
  
  
  
  
  
  
"type": "string",
  
  
  
  
  
  
"privacy": "string"
  
  
  
  
  
}
  
  
  
  
}
  
  
  
}
  
  
],
  
  
"current_page": 0,
  
  
"per_page": 0,
  
  
"from": 0,
  
  
"to": 0,
  
  
"total": 0,
  
  
"last_page": 0,
  
  
"has_more": true
  
},
  
"xprofile": {
  
  
"user_id": 0,
  
  
"badge": "string",
  
  
"permalink": "string",
  
  
"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"
  
  
  
}
  
  
}
  
}
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation