reaction

Add a reaction to a message

Changed on
post/ocs/v2.php/apps/spreed/api/{apiVersion}/reaction/{token}/{messageId}

Request

  • The document declares no server URL.
  • Auth
    • none
    • or HTTP bearer
    • or HTTP basic

Path parameters

apiVersion'v1' required
tokenstring required
messageIdinteger required

ID of the message

Headers

x-nextcloud-federationstring

Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request

OCS-APIRequestboolean required

Required to be true for the API request to pass

Request body

reactionstring required

Emoji to add

Response

Reaction already existed

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status