20 lines
345 B
YAML
20 lines
345 B
YAML
|
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:
|
||
|
$ref: '#/definitions/Device'
|
||
|
responses:
|
||
|
201:
|
||
|
description: Successful creation
|