2018-05-08 14:45:09 +00:00
|
|
|
Gets all recordings for given device
|
|
|
|
---
|
|
|
|
tags:
|
|
|
|
- Device
|
|
|
|
- Recording
|
|
|
|
parameters:
|
|
|
|
- in: path
|
|
|
|
name: device_id
|
|
|
|
required: true
|
|
|
|
type: integer
|
|
|
|
description: Id of the device
|
2018-09-22 16:14:45 +00:00
|
|
|
- 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
|
2018-05-08 14:45:09 +00:00
|
|
|
responses:
|
|
|
|
200:
|
|
|
|
description: Success
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
required:
|
|
|
|
- recordings
|
|
|
|
properties:
|
|
|
|
recordings:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/Recording'
|