Examples

PATCH /api/v2/comments/32/unlike
{}
200
{
  "data": {
    "id": "32",
    "type": "comments",
    "links": {
      "self": "/api/v2/comments/32"
    },
    "attributes": {
      "body": "comment text",
      "created-at": "2017-08-29T10:46:13.801+08:00",
      "body-updated-at": "2017-08-29T10:46:13.800+08:00",
      "updated-at": "2017-08-29T10:46:13.801+08:00",
      "anonymize": false,
      "likes-count": 0,
      "is-liked": false,
      "revisions-count": 0,
      "has-parent": false
    },
    "relationships": {
      "attachment": {
        "links": {
          "self": "/api/v2/comments/32/relationships/attachment",
          "related": "/api/v2/comments/32/attachment"
        }
      },
      "commentable": {
        "links": {
          "self": "/api/v2/comments/32/relationships/commentable",
          "related": "/api/v2/comments/32/commentable"
        }
      },
      "commenter": {
        "links": {
          "self": "/api/v2/comments/32/relationships/commenter",
          "related": "/api/v2/comments/32/commenter"
        }
      },
      "parent": {
        "links": {
          "self": "/api/v2/comments/32/relationships/parent",
          "related": "/api/v2/comments/32/parent"
        }
      },
      "children": {
        "links": {
          "self": "/api/v2/comments/32/relationships/children",
          "related": "/api/v2/comments/32/children"
        }
      },
      "commentable-insights": {
        "links": {
          "self": "/api/v2/comments/32/relationships/commentable-insights",
          "related": "/api/v2/comments/32/commentable-insights"
        }
      },
      "commentable-entities": {
        "links": {
          "self": "/api/v2/comments/32/relationships/commentable-entities",
          "related": "/api/v2/comments/32/commentable-entities"
        }
      },
      "comment-likes": {
        "links": {
          "self": "/api/v2/comments/32/relationships/comment-likes",
          "related": "/api/v2/comments/32/comment-likes"
        }
      },
      "comment-revisions": {
        "links": {
          "self": "/api/v2/comments/32/relationships/comment-revisions",
          "related": "/api/v2/comments/32/comment-revisions"
        }
      }
    }
  }
}