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-23 16:25:09 +00:00
|
|
|
- in: query
|
2018-09-22 16:14:45 +00:00
|
|
|
name: record_type
|
|
|
|
required: false
|
|
|
|
schema:
|
|
|
|
type: integer
|
|
|
|
description: requested record_type
|
2018-09-23 16:25:09 +00:00
|
|
|
- in: query
|
2018-09-22 16:14:45 +00:00
|
|
|
name: start_date
|
|
|
|
required: false
|
|
|
|
schema:
|
|
|
|
type: string
|
2018-09-23 16:25:09 +00:00
|
|
|
description: start date of filter in format %d-%m-%Y (21-09-2018)
|
|
|
|
- in: query
|
2018-09-22 16:14:45 +00:00
|
|
|
name: end_date
|
|
|
|
required: false
|
|
|
|
schema:
|
|
|
|
type: string
|
2018-09-23 16:25:09 +00:00
|
|
|
description: end date of filter in format %d-%m-%Y (21-09-2018)
|
2018-05-08 14:45:09 +00:00
|
|
|
responses:
|
|
|
|
200:
|
|
|
|
description: Success
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
required:
|
2018-10-08 19:50:34 +00:00
|
|
|
- content
|
2018-05-08 14:45:09 +00:00
|
|
|
properties:
|
2018-10-08 19:50:34 +00:00
|
|
|
content:
|
2018-05-08 14:45:09 +00:00
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/Recording'
|