You can also view
You are viewing documentation for version 14. This is the most recent stable release!

List Rooms

You can use the REST API to list all of the Rooms in an app.

Request

GET https://cameratag.com/api/v14/apps/[YOUR_APP_UUID]/rooms.json

Parameters

Below is a list of parameters that this endpoint accepts.

Parameter Accepted Values Description Required
api_key a valid user api_key All Room endpoints require authentcation with an API key Required

Example Response

{
  "rooms": [
    {
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "Interview room 1",
      "uuid": "0663ac2eadcd95fc4af3139d14324b2987357df56c59adfb88ead98b054fc5bc",
      "start_time": "2020-12-16T03:12:27.316Z",
      "end_time": "2020-12-17T03:12:34.280Z",
      "composited_at": null,
      "state": "closed"
    },
    {
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "chat_room_e3acf2d7",
      "uuid": "3d37e053a30c3f4d25c0b78f25444ab5f932d14c9e715c6a649499ef2beb7bbf",
      "start_time": "2021-01-15T03:02:20.630Z",
      "end_time": "2021-01-15T03:22:20.630Z",
      "composited_at": null,
      "state": "closed"
    },
    {
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "chat_room_53637e13",
      "uuid": "4fba0c1bda3f1388477e53cd8aea302d3eb71b0686374ebd4c470c05e2b7c645",
      "start_time": "2021-01-15T03:04:57.971Z",
      "end_time": "2021-01-15T03:24:57.971Z",
      "composited_at": null,
      "state": "closed"
    },
    {
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "chat_room_3e585c46",
      "uuid": "d62f487e1fccab12b0f31ecf9591dd4f0a6eb22a4d68f88e10f2722a766b0232",
      "start_time": "2021-01-28T02:08:58.968Z",
      "end_time": "2021-01-28T02:28:58.968Z",
      "composited_at": null,
      "state": "closed"
    }
  ],
  "current_page": 1
}