Gateway GRPC

Create devices

Create new devices

post/v2/organisations/{organisation_id}/devices

Request

  • Base URL
    https://api.cautio.in (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

organisation_idstring required
Example:019aa01c-a1a9-7fae-961b-23845147892e

Organisation ID

Request body

Example request

{
  "items": [
    {
      "entity_id": "019aa01c-a1a9-7fae-961b-23845147892e",
      "device_number": "DEV001",
      "model_name": "DASHCAM-C001",
      "alias_name": "Main Entrance Camera",
      "sim_card_number": "8901234567890123456",
      "firmware_version": "1.2.3",
      "dashcam": {
        "channels": [
          {
            "alias_name": "Front Camera",
            "enabled": true,
            "index": 1
          }
        ]
      }
    }
  ]
}

Response

Response data when a single device is created, including its ID.

Example response

{
  "data": {
    "total": 5,
    "success": 4,
    "device_ids": [
      "019aa01c-a1a9-7fae-961b-23845147892e"
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.