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

27 lines
464 B
YAML

Creates new recoding
---
tags:
- Recording
- Device
parameters:
- in: path
name: device_id
required: true
type: integer
description: Id of the device
- in: body
name: body
required: true
schema:
$ref: '#/definitions/RecordingCreation'
responses:
201:
description: Success
schema:
type: object
required:
- content
properties:
content:
$ref: '#/definitions/Recording'