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

23 lines
419 B
YAML
Raw Normal View History

2018-09-19 23:42:37 +00:00
Creates new dashboard
Requires Dashboard object and creates dashboard
---
tags:
- Dashboard
parameters:
- in: body
name: body
required: true
schema:
type: object
$ref: '#/definitions/DashboardCreation'
2018-09-19 23:42:37 +00:00
responses:
200:
description: Success
schema:
type: object
required:
- content
properties:
content:
$ref: '#/definitions/Dashboard'