List Reports

GET /v1/reportedResources/{reportedResourceId}/reports

List Reports

Path parameters

  • reportedResourceId string Required

    The id of the reported resource

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 report

    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

    Reports 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 spot member.

      • spotId string Required

        The id of the spot.

      • userId string | null Required

        The id of the user.

      • email string Required

        The email of the spot member.

      • title string | null Required

        The title of the spot member.

      • lang string Required

        The lang of the spot member.

        Values are en, fr, de, it, es, pt, or nl.

      • role string Required

        The role of the spot member.

        Values are Member or Admin.

      • customRoleId string | null Required

        The custom role ID of the spot member.

      • status string Required

        The status of the spot member.

        Values are Accepted, Deactivated, DeclinedInvitation, Invited, Left, Pending, or Rejected.

      • firstname string Required

        The firstname of the spot member.

      • lastname string Required

        The lastname of the spot member.

      • warnings number Required

        The number of warnings the spot member has.

      • embedBaseUrls object Required

        The custom embed base URLs of the spot member.

        Hide embedBaseUrls attributes Show embedBaseUrls attributes object
        • default string
        • * string Additional properties
      • updatedAt integer | null Required

        Timestamp in ms of updated date

    • total integer Required

      The total number of items found

  • 400

    Malformed payload

GET /v1/reportedResources/{reportedResourceId}/reports
curl \
 --request GET 'https://openapi.meltingspot.io/v1/reportedResources/{reportedResourceId}/reports'
Response examples (200)
{
  "items": [
    {
      "id": "string",
      "spotId": "string",
      "userId": "string",
      "email": "string",
      "title": "string",
      "lang": "en",
      "role": "Member",
      "customRoleId": "string",
      "status": "Accepted",
      "firstname": "string",
      "lastname": "string",
      "warnings": 42.0,
      "embedBaseUrls": {
        "default": "string",
        "additionalProperty1": "string",
        "additionalProperty2": "string"
      },
      "updatedAt": 42
    }
  ],
  "total": 42
}