Get a reported resource context

GET /v1/reportedResources/{reportedResourceId}/context

Get a reported resource context

Path parameters

  • reportedResourceId string Required

    The id of the reported resource

Responses

  • 200 application/json

    Report found and returned successfully

    Hide response attributes Show response attributes object
    • reportedResource object Required

      The reported resource

      Hide reportedResource attributes Show reportedResource attributes object
      • id string Required

        The id of the reported resource.

      • ownerId string Required

        The ownerId of the reported resource.

      • ownerType string Required

        The type of the owner of the reported resource.

        Values are ThreadMessage or Topic.

      • status string Required

        The status of the reported resource.

        Values are PendingReview, Declined, or Accepted.

      • author object Required

        The author of the reported resource.

        Hide author attributes Show author attributes object
        • firstName string Required

          The firstName of the author.

        • lastName string Required

          The lastName of the author.

        • profilePicture string | null Required

          The profile picture of the author.

        • spotMemberId string Required

          The spotMemberId of the author.

      • lastReportId string | null Required

        The id of the last report.

      • createdAt integer Required

        Timestamp in ms of creation date

    • context object Required

      The context of the reported resource

      One of:
  • 400

    Malformed payload

  • 404

    Reported resource not found

GET /v1/reportedResources/{reportedResourceId}/context
curl \
 --request GET 'https://openapi.meltingspot.io/v1/reportedResources/{reportedResourceId}/context'
Response examples (200)
{
  "reportedResource": {
    "id": "string",
    "ownerId": "string",
    "ownerType": "ThreadMessage",
    "status": "PendingReview",
    "author": {
      "firstName": "string",
      "lastName": "string",
      "profilePicture": "string",
      "spotMemberId": "string"
    },
    "lastReportId": "string",
    "createdAt": 42
  },
  "context": {
    "createdAt": 42,
    "content": {
      "content": [
        {}
      ]
    },
    "channelId": "string",
    "channelName": "string"
  }
}