Get a report

GET /v1/reportedResources/{reportedResourceId}/reports/{reportId}

Get a report

Path parameters

  • reportedResourceId string Required

    The id of the reported resource

  • reportId string Required

    The id of the report

Responses

  • 200 application/json

    Report found and returned successfully

    Hide response attributes Show response attributes object
    • id string Required

      The id of the report.

    • content object Required

      The content of the report

      One of:
    • status string Required

      The status of the report.

      Values are PendingReview, Declined, or Accepted.

    • reason string Required

      The reason of the report.

      Values are Misinformation, InappropriateContent, HateSpeechOrDiscrimination, HarassmentOrOffensive, Spam, or Other.

    • reporter object Required

      The reporter of the report.

      Hide reporter attributes Show reporter attributes object
      • firstName string Required

        The firstName of the reporter.

      • lastName string Required

        The lastName of the reporter.

      • spotMemberId string Required

        The spotMemberId of the reporter.

    • internalNote string | null Required

      The internal note of the report.

    • createdAt integer Required

      Timestamp in ms of creation date

  • 400

    Malformed payload

  • 404

    Report not found

GET /v1/reportedResources/{reportedResourceId}/reports/{reportId}
curl \
 --request GET 'https://openapi.meltingspot.io/v1/reportedResources/{reportedResourceId}/reports/{reportId}'
Response examples (200)
{
  "id": "string",
  "content": {
    "content": [
      {}
    ]
  },
  "status": "PendingReview",
  "reason": "Misinformation",
  "reporter": {
    "firstName": "string",
    "lastName": "string",
    "spotMemberId": "string"
  },
  "internalNote": "string",
  "createdAt": 42
}