Endpoint
- Method:
POST - Path:
/feeds/{feed_id}/reactions/toggle - Edition: Core
- Controller:
ReactionController@addOrRemovePostReact - Route source:
fluent-community/app/Http/Routes/api.php:76 - Controller source:
fluent-community/app/Http/Controllers/ReactionController.php
POST Post Add Or Remove Post React
POST
/feeds/{feed_id}/reactions/toggle
Post Add Or Remove Post React for the FluentCommunity Reactions API.
Controller: ReactionController@addOrRemovePostReact
Route source: fluent-community/app/Http/Routes/api.php:76
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
Requiredinteger
Request Body
application/json
JSON "react_type": "string", "remove": "string"
{
}
Responses
Successful response
application/json
JSON "message": "string", "new_count": 0
{
}