v1

latestOpenAPI 3.0.12026-07-243266138.0 KB
Endpoints

Get a review Veto by reviewID

This endpoint retrieves the veto for a specific review.

get/reviews/{reviewId}/vetos

Path parameters

reviewIdstring required

The review ID.

Headers

Authorizationstring required

An OAuth2 authorization header with an access token, see OAuth2

Response

The vetos for the given reviews.

idstring required

The veto UUID.

ticketIdstring required

A reference to the ticket that was created internally at Trusted Shops for this veto. The ID is a sequence of six digits.

commentstring required

The comment in the ticket that was created internally at Trusted Shops for this veto.

reasonstring required

The reason for this veto.

This string may only have the following values:

  • UNTRUTHFUL
  • ABUSIVE
  • VIOLATES_THE_TERMS_OF_USE
  • INAPPROPRIATE_IMAGE
createdAtstring date-time required

The date and time when the veto was created, in the ISO 8601 and RFC 3339 compliant format yyyy-MM-dd’T’HH:mm:ss.SSSZ.

updatedAtstring date-time

The date and time when the veto was last modified, in the ISO 8601 and RFC 3339 compliant format yyyy-MM-dd’T’HH:mm:ss.SSSZ.

Example response

{
  "id": "vet-xxxxxxxx-yyyy-xxxx-yyyy-xxxxxxxxxxxx",
  "ticketId": "123123",
  "comment": "example comment",
  "reason": "UNTRUTHFUL",
  "createdAt": "2018-02-01T17:09:41.790Z",
  "updatedAt": "2018-02-01T17:09:41.790Z"
}