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

22 lines
344 B
YAML

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
properties:
content:
$ref: '#/definitions/DeviceWithConfig'