Skip to content

Endpoint

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

PATCH Patch Comment

PATCH
/feeds/{feed_id}/comments/{comment_id}

Patch Comment for the FluentCommunity Comments API.

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

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"
  
},
  
"message": "string"
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation