university-final-iot-backend/app/api/resources/swagger/create_device_spec.yaml

20 lines
353 B
YAML
Raw Normal View History

2018-05-08 14:45:09 +00:00
Creates new device
Requires Device object and creates device
---
tags:
- Device
parameters:
- in: body
name: body
required: true
schema:
type: object
required:
- device
properties:
device:
2018-09-19 21:04:49 +00:00
$ref: '#/definitions/DeviceCreation'
2018-05-08 14:45:09 +00:00
responses:
201:
description: Successful creation