# Create camera Link a camera to an organisation. Endpoint: POST /cameras Version: 0.0.1 Security: o_auth ## Request fields (application/json): - `name` (string) - `serialNumber` (string, required) - `siteId` (string, required) ## Response 201 fields (application/json): - `cameraPositionId` (string) - `claimedAt` (string) - `direction1Alias` (string) - `direction2Alias` (string) - `encodedFramesProportion` (number,null) The number of frames encoded over the expected number of frames in the last 2 minutes. - `id` (string) - `isOnline` (boolean,null) - `lastSeenAt` (string,null) - `lastVideoAt` (string,null) - `name` (string) - `networkTransmitRate` (number,null) The rate in bytes/second the camera sends information over the network at. - `organisationId` (string) - `serialNumber` (string) - `siteId` (string) - `state` (string) Enum: "running", "decommissioned", "paused" - `videoBacklog` (number,null) The number of milliseconds of video the camera is waiting to upload. - `videoUploadLatency` (number,null) The number of milliseconds it took the latest video uploaded to be uploaded. ## Response 400 fields (application/json): - `code` (integer) - `message` (string) ## Response 401 fields (application/json): - `code` (integer) - `message` (string) ## Response 403 fields (application/json): - `code` (integer) - `message` (string) ## Response 404 fields (application/json): - `code` (integer) - `message` (string) ## Response 409 fields (application/json): - `code` (integer) - `message` (string) ## Response 500 fields