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

22 lines
344 B
YAML
Raw Permalink 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:
- content
2018-05-08 14:45:09 +00:00
properties:
content:
2018-09-19 22:23:22 +00:00
$ref: '#/definitions/DeviceWithConfig'
2018-05-08 14:45:09 +00:00