List Reported resources

GET /v1/reportedResources

List Reported resources

Query parameters

  • page integer | null

    The page number in a paginated set of results

  • limit integer | null

    The limit of results to be returned per page

  • status[in] array[string]

    The status of the reported resource

    Values are PendingReview, Declined, or Accepted.

  • reason[in] array[string]

    The reason of the report

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

  • creationDate[before] integer

    Reports where creation date is before a specific date (Unix timestamp format)

  • creationDate[after] integer

    Reports where creation date is after a specific date (Unix timestamp format)

Responses

  • 200 application/json

    Reported resources returned successfully

    Hide response attributes Show response attributes object
    • items array[object] Required

      The items found

      Hide items attributes Show items 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

    • total integer Required

      The total number of items found

  • 400

    Malformed payload

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