Skip to main content
PATCH
/
reviews
/
{review_id}
/
comments
/
{comment_id}
Edit a comment to a review
curl --request PATCH \
  --url https://api.example.com/reviews/{review_id}/comments/{comment_id}
{
  "review_id": "<string>",
  "author_id": 123,
  "content": "<string>",
  "id": "<string>",
  "author": {
    "id": 123,
    "username": "<string>",
    "avatar": "<string>"
  },
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Path Parameters

review_id
string
required

Unique Identifier of a review.

comment_id
string
required

Unique Identifier of a comment.

Response

Successful Response

Class for GET of a Comment on a review

review_id
string
required

Unique Identifier of a review

author_id
integer
required

Unique Identifier of a user

content
string
required
id
string
required

Unique Identifier of a comment

author
User · object
required
created_at
string<date-time>
required
updated_at
string<date-time>
required