v1

latestOpenAPI 3.1.02026-07-24318141.2 MB

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/

Query parameters

chat_room_idstring

Filter reported chat messages by chat room

Response

200

countinteger
{"stackTrail":"paths:/reported-chat-room-messages/:get:responses:200:content:application/json:schema:properties:next","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/reported-chat-room-messages/:get:responses:200:content:application/json:schema:properties:previous","oasType":"schema","type":"unknown"}

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"
    }
  ]
}