PUT/spaces/api/v1/reactions/spaces/{spaceID}/pages/{pageID}.json

Add/remove a reaction against a specified resource

Path Params

  • Name
    spaceID
    Type
    integer
    required
    Description
  • Name
    pageID
    Type
    integer
    required
    Description

Body Params

    • Name
      reaction
      Type
      object
      Description
      ReactionUpdate represents the incoming payload in the request to update a reaction against a resource

    Responses

    • Code
      204
      Description
      204 No Content No Data
    • Code
      400
      Type
      object
      Schema
      Description
      400 Bad Request
    • Code
      405
      Type
      object
      Schema
      Description
      405 Method Not Allowed
    • Code
      500
      Type
      object
      Schema
      Description
      500 Internal Server Error

    Examples

    400 Bad Request

    errResp
    {
      "Code": 0,
      "Detail": "string",
      "ID": "string",
      "Title": "string"
    }