/v1/camera_connections

Purpose: This endpoint provides information about camera connection events. It details when a camera came online or went offline, which driver and vehicle were associated, the camera type, and other status information. This data is useful for monitoring camera uptime, diagnosing potential connectivity issues, and ensuring compliance or safety standards are maintained.

Response Parameters

camera_connections

  • Type: Array of Objects
  • Description: Contains the list of camera connection events.

camera_connection

  • Type: Object
  • Description: Contains details about a single camera connection event.

id

  • Type: Integer
  • Description: The unique identifier of the camera connection record.

offline_id

  • Type: String
  • Description: The offline UUID representing the camera connection event.

created_at

  • Type: String (DateTime)
  • Description: The timestamp when the camera connection event was created.

updated_at

  • Type: String (DateTime)
  • Description: The timestamp when the camera connection event was last updated.

type

  • Type: String
  • Description: The type of connection event (e.g., "disconnected").

duration

  • Type: Number (Float)
  • Description: The duration (in seconds) for which the camera was connected or disconnected.

cam_type

  • Type: String
  • Description: The type of camera (e.g., "dc54").

cam_serial_num

  • Type: String
  • Description: The serial number of the camera.

sw_pkg_version

  • Type: Integer
  • Description: The software package version running on the camera.

status

  • Type: String
  • Description: The status of the camera event (e.g., "correct").

vehicle

  • Type: Object
  • Description: Information about the vehicle associated with the camera connection event.

id

  • Type: Integer
  • Description: The unique identifier of the vehicle.

number

  • Type: String
  • Description: The number (or name) assigned to the vehicle.

current_driver

  • Type: Object
  • Description: The driver currently operating the vehicle during the camera connection event.

id

  • Type: Integer
  • Description: The unique identifier of the current driver.

first_name

  • Type: String
  • Description: The first name of the current driver.

last_name

  • Type: String
  • Description: The last name of the current driver.

driver_company_id

  • Type: String
  • Description: The company ID associated with the current driver (if any).

previous_driver

  • Type: Object
  • Description: The driver who was operating the vehicle before the current driver (if applicable).

next_driver

  • Type: Object
  • Description: The driver who operates the vehicle after the current driver (if applicable).

dispatcher

  • Type: Object
  • Description: The dispatcher associated with the camera connection event (if applicable).

Language
Credentials
Header
Click Try It! to start a request and see the response here!