# VIDEO API

Version: 1.0.0

## Servers

```
https://lytx-api.prod2.ph.lytx.com/video
```

```
https://lytx-api.prod5.ph.lytx.com/video
```

```
https://lytx-api.prod6.lv.lytx.com/video
```

```
https://lytx-api.prod7.lv.lytx.com/video
```

```
https://lytx-api.prod8.lv.lytx.com/video
```

## Security

### APIKey

Enter your API key

Type: apiKey
In: header
Name: X-APIKey

## Download OpenAPI description

[VIDEO API](https://developer.lytx.com/_bundle/openapispec/legacy.videoplatform.openapi.yaml)

## Safety (DriveCam)

Legacy API to retrieve vehicles events data. Uses obsolete X-APIKey authentication.

### Return Accessible Events IDs

 - [GET /safety/events](https://developer.lytx.com/openapispec/legacy.videoplatform.openapi/safety-(drivecam)/events_getevents.md)

### Return Specified Event

 - [GET /safety/events/{id}](https://developer.lytx.com/openapispec/legacy.videoplatform.openapi/safety-(drivecam)/events_geteventbyid.md)

### Return Event File for Specified Event in Specified File Format

 - [GET /safety/events/{eventId}/file](https://developer.lytx.com/openapispec/legacy.videoplatform.openapi/safety-(drivecam)/events_geteventfile.md)

### Return List of Possible Event Statuses

 - [GET /safety/events/statuses](https://developer.lytx.com/openapispec/legacy.videoplatform.openapi/safety-(drivecam)/events_geteventstatuses.md)

### Return List of Possible Event Triggers

 - [GET /safety/events/triggers](https://developer.lytx.com/openapispec/legacy.videoplatform.openapi/safety-(drivecam)/events_geteventtriggers.md)

### Return List of Possible Event Trigger Subtypes

 - [GET /safety/events/triggersubtypes](https://developer.lytx.com/openapispec/legacy.videoplatform.openapi/safety-(drivecam)/events_geteventtriggersubtype.md)

### Return List of Possible Event Behaviors

 - [GET /safety/events/behaviors](https://developer.lytx.com/openapispec/legacy.videoplatform.openapi/safety-(drivecam)/events_geteventbehaviors.md)

### Return List of Possible Dynamic Risks

 - [GET /safety/events/dynamicRisks](https://developer.lytx.com/openapispec/legacy.videoplatform.openapi/safety-(drivecam)/events_getdynamicrisk.md)

### Return Accessible Events with Metadata

 - [GET /safety/eventsWithMetadata](https://developer.lytx.com/openapispec/legacy.videoplatform.openapi/safety-(drivecam)/events_geteventswithmetadata.md)

## Video (DriveCam)

Legacy API to retrieve LVS vehicle data, LVS events or image data from a device. Uses obsolete X-APIKey authentication.

### Return all Vehicles for the Specified Query Terms

 - [GET /vehicles](https://developer.lytx.com/openapispec/legacy.videoplatform.openapi/video-(drivecam)/vehicle_getvehicles.md)

### Return Timelines That Represent When Video is Available for Specified Vehicle

 - [GET /vehicles/{vehicleId}/timeline](https://developer.lytx.com/openapispec/legacy.videoplatform.openapi/video-(drivecam)/vehicle_getvehicletimeline.md)

### Return Vehicle Specified by ID or Device Serial Number

 - [GET /vehicles/{vehicleIdentifier}](https://developer.lytx.com/openapispec/legacy.videoplatform.openapi/video-(drivecam)/vehicle_getvehiclebyidentifier.md)

### Creates New Event and Return ID

 - [POST /events](https://developer.lytx.com/openapispec/legacy.videoplatform.openapi/video-(drivecam)/event_createevent.md)

### Return All Events Specified by Query Terms

 - [GET /events](https://developer.lytx.com/openapispec/legacy.videoplatform.openapi/video-(drivecam)/event_searchevents.md)

### Return Media Resource URL for Specified Event's View

 - [GET /events/{eventId}/views/{deviceViewId}/medias/{mediaType}](https://developer.lytx.com/openapispec/legacy.videoplatform.openapi/video-(drivecam)/event_geteventviewmedia.md)

### Return Event Specified by its ID

 - [GET /events/{eventId}](https://developer.lytx.com/openapispec/legacy.videoplatform.openapi/video-(drivecam)/event_geteventbyid.md)

### Retrieve Image (snapshot) from a Device's View at the Specified Time

 - [GET /deviceViews/{deviceViewId}/snapshot](https://developer.lytx.com/openapispec/legacy.videoplatform.openapi/video-(drivecam)/deviceview_getdeviceviewsnapshot.md)

