# DVIR API

This is a design for an external DVIR API

Version: 1.0.11

## Servers

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

## Security

### bearerAuth

Type: http
Scheme: bearer

## Download OpenAPI description

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

## DVIR (DriveCam)

### Retrieve All DVIRs

 - [GET /v1/dvir](https://developer.lytx.com/openapispec/dvir.openapi/dvir-(drivecam)/getdvirs.md): Retrieves a list of driver-vehicle inspection reports (DVIRs) including details on defects found and defects resolved.

### Retrieve Specified DVIR

 - [GET /v1/dvir/{reportIdentifier}](https://developer.lytx.com/openapispec/dvir.openapi/dvir-(drivecam)/getdvirbyid.md): Retrieve a specific driver-vehicle inspection report (DVIR) by report ID.

### Retrieve List of Inspection Lists

 - [GET /v1/dvir/inspectionlists](https://developer.lytx.com/openapispec/dvir.openapi/dvir-(drivecam)/getinspectionlists.md): Retrieves a list of inspection lists, including their inspection points and schedules.

### Retrieve List of Inspection Schedules

 - [GET /v1/dvir/schedules](https://developer.lytx.com/openapispec/dvir.openapi/dvir-(drivecam)/getschedules.md): Retrieves a list of inspection schedules for assets with details on the most recent inspections for each asset.

