Skip to content

Endpoint

  • Method: POST
  • Path: /feeds/{feed_id}/comments/{comment_id}
  • Edition: Core
  • Controller: CommentsController@update
  • Route source: fluent-community/app/Http/Routes/api.php:53
  • Controller source: fluent-community/app/Http/Controllers/CommentsController.php

POST Update Comment

POST
/feeds/{feed_id}/comments/{comment_id}

Update Comment for the FluentCommunity Comments API.

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

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
comment_id*

Comment ID extracted from the URL path.

Type
integer
Required

Responses

Successful response

application/json
JSON
{
  
"comment": {
  
  
"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"
  
  
},
  
  
"media": {
  
  
  
"id": 0,
  
  
  
"object_source": "string",
  
  
  
"user_id": 0,
  
  
  
"media_key": "string",
  
  
  
"feed_id": 0,
  
  
  
"sub_object_id": 0,
  
  
  
"media_type": "string",
  
  
  
"driver": "string",
  
  
  
"media_path": "string",
  
  
  
"media_url": "string",
  
  
  
"settings": {
  
  
  
  
"src": "string",
  
  
  
  
"title": "string",
  
  
  
  
"original_name": "string",
  
  
  
  
"width": 0,
  
  
  
  
"height": 0,
  
  
  
  
"provider": "string",
  
  
  
  
"crossorigin": true,
  
  
  
  
"posterSrc": "string",
  
  
  
  
"playerWidth": 0,
  
  
  
  
"brandColor": "string",
  
  
  
  
"controlBarColor": "string",
  
  
  
  
"aspectRatio": "string"
  
  
  
},
  
  
  
"is_active": true,
  
  
  
"public_url": "string"
  
  
}
  
},
  
"message": "string"
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation