loading

Comment: Create

Creates a new Comment on a Review.

Required fields

  • content

    Optional fields

  • parentId
  • visibility

path Parameters
accountId
required
string
reviewId
required
integer

ID of this Review.

query Parameters
v
required
string

A date in YYYYMMDD format.

Request Body schema: application/json
parentId
integer

If this comment is in response to another comment, this is the ID of the parent comment.

content
string

Content of the comment.

visibility
string
Enum: "PUBLIC" "PRIVATE"

Defaults to PUBLIC when creating a comment

Responses

Request samples

Content type
application/json
{
  • "parentId": 0,
  • "content": "string",
  • "visibility": "PUBLIC"
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "response": {
    }
}

Comment: Update

Updates a Comment on a Review.

Optional fields

  • content
  • visibility

path Parameters
accountId
required
string
reviewId
required
integer

ID of this Review.

commentId
required
string
query Parameters
v
required
string

A date in YYYYMMDD format.

Request Body schema: application/json
content
string

Content of the comment.

visibility
string
Enum: "PUBLIC" "PRIVATE"

Responses

Request samples

Content type
application/json
{
  • "content": "string",
  • "visibility": "PUBLIC"
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "response": { }
}

Comment: Delete

Deletes a Comment on a Review.

path Parameters
accountId
required
string
reviewId
required
integer

ID of this Review.

commentId
required
string
query Parameters
v
required
string

A date in YYYYMMDD format.

Responses

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "response": { }
}