Media comments

React to the specified comment

Changed on

React to the specified comment.

post/media-comments/{id}/react

Request

Request body application/x-www-form-urlencoded

reaction_idinteger required

ID of the reaction to use. Use the current reaction ID to undo.

Response

OK

successboolean
actionstring

"insert" or "delete" based on whether the reaction was added or removed.

Changes

    • breaking

      request body became required

    • breaking

      removed the media type application/json from the request body

    • breaking

      the response's property type changed from string to boolean for status

    • warning

      deleted the path request parameter id

    • info

      api operation id post_media_comments_id_react removed and replaced with postMediaCommentsIdReact

    • info

      the endpoint scheme security XF-Api-Key was added to the API

    • info

      the endpoint scheme security XF-OAuth2 was added to the API

    • info

      added the new optional header request parameter XF-Api-User to all path's operations

    • info

      added the new optional query request parameter api_bypass_permissions to all path's operations

    • info

      api tag Media comments added

    • info

      api tag media-comments removed

    • info

      added optional request body

    • info

      added the media type application/json for the response with the status