# Video API

API for managing video resources.

Version: 0.0.1

## Servers

```
https://api.lytx.com/v0/video
```

## Security

### bearerAuth

Type: http
Scheme: bearer

## Download OpenAPI description

[Video API](https://developer.lytx.com/_bundle/openapispec/video.openapi.yaml)

## Video (DriveCam)

External Vehicles API. Uses bearer token authentication.

### Retrieve List of Vehicles

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

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

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

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

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

### Create New Event and Return ID

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

### Return All Events Specified by Query Terms

 - [GET /events](https://developer.lytx.com/openapispec/video.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/video.openapi/video-(drivecam)/event_geteventviewmedia.md)

### Return Event Specified by its ID

 - [GET /events/{eventId}](https://developer.lytx.com/openapispec/video.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/video.openapi/video-(drivecam)/deviceview_getdeviceviewsnapshot.md)

