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

21 lines
390 B
YAML
Raw Normal View History

2018-09-19 23:42:37 +00:00
Updates a dashboard
2018-10-15 17:51:51 +00:00
Updating active state disables previous active dashboard
2018-09-19 23:42:37 +00:00
---
tags:
- Dashboard
parameters:
- in: path
name: dashboard_id
required: true
type: integer
2018-09-20 22:16:01 +00:00
description: Id of the dashboard
2018-09-19 23:42:37 +00:00
- in: body
name: body
required: true
schema:
type: object
2018-10-22 21:54:31 +00:00
$ref: '#/definitions/DashboardCreation'
2018-09-19 23:42:37 +00:00
responses:
204:
description: Success