Get Reported Chat Messages

This API will give all the reports in a chatroom, irrespective whether the same message is reported by different users

get/reported-chat-room-messages/

Request

  • Base URL
    https://cf-blast.livelikecdn.com/api/v1
  • URL
    https://cf-blast.livelikecdn.com/api/v1/reported-chat-room-messages/
  • Auth
    none required

Query parameters

chat_room_idstring

Filter reported chat messages by chat room

Response

200

countinteger
nextunknown
previousunknown

Example response

{
  "count": 1,
  "results": [
    {
      "id": "example-report-id",
      "url": "https://cf-blast.livelikecdn.com/api/v1/reported-chat-room-messages/example-report-id/",
      "nickname": "Reportee",
      "message": "A very mean message",
      "message_id": "ed312af0-15c7-44f1-a6b6-742419bd4766",
      "pubnub_timetoken": "16547207411779117",
      "reported_by": {
        "id": "example-reporter-profile-id",
        "url": "https://cf-blast.livelikecdn.com/api/v1/profiles/example-reporter-profile-id/",
        "created_at": "2022-05-02T19:49:59.998268Z",
        "nickname": "Reporter"
      },
      "reported_profile": {
        "id": "example-reportee-profile-id",
        "url": "https://cf-blast.livelikecdn.com/api/v1/profiles/example-reportee-profile-id/",
        "created_at": "2022-05-02T19:49:59.998268Z",
        "nickname": "Reportee"
      },
      "reported_at": "2022-07-07T20:42:40.669686Z",
      "reported_count": 1,
      "status": "pending"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.