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

22 lines
342 B
YAML
Raw Normal View History

2018-05-08 14:45:09 +00:00
Gets a device
---
tags:
- Device
parameters:
- in: path
name: device_id
required: true
type: integer
description: Id of the device
responses:
200:
description: Success
schema:
type: object
required:
2018-08-24 12:32:31 +00:00
- device
2018-05-08 14:45:09 +00:00
properties:
device:
2018-09-19 22:23:22 +00:00
$ref: '#/definitions/DeviceWithConfig'
2018-05-08 14:45:09 +00:00