42 lines
788 B
YAML
42 lines
788 B
YAML
Gets all recordings for given device
|
|
---
|
|
tags:
|
|
- Device
|
|
- Recording
|
|
parameters:
|
|
- in: path
|
|
name: device_id
|
|
required: true
|
|
type: integer
|
|
description: Id of the device
|
|
- in: path
|
|
name: record_type
|
|
required: false
|
|
schema:
|
|
type: integer
|
|
description: requested record_type
|
|
- in: path
|
|
name: start_date
|
|
required: false
|
|
schema:
|
|
type: string
|
|
description: start date of filter
|
|
- in: path
|
|
name: end_date
|
|
required: false
|
|
schema:
|
|
type: string
|
|
description: end date of filter
|
|
responses:
|
|
200:
|
|
description: Success
|
|
schema:
|
|
type: object
|
|
required:
|
|
- recordings
|
|
properties:
|
|
recordings:
|
|
type: array
|
|
items:
|
|
$ref: '#/definitions/Recording'
|