university-final-iot-backend/app/api/resources/swagger/get_device_recordings_spec....

42 lines
849 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: query
name: record_type
required: false
schema:
type: integer
description: requested record_type
- in: query
name: start_date
required: false
schema:
type: string
description: start date of filter in format %d-%m-%Y (21-09-2018)
- in: query
name: end_date
required: false
schema:
type: string
description: end date of filter in format %d-%m-%Y (21-09-2018)
responses:
200:
description: Success
schema:
type: object
required:
- content
properties:
content:
type: array
items:
$ref: '#/definitions/Recording'