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:
|
|
|
|
$ref: '#/definitions/Device'
|
|
|
|
|