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

28 lines
532 B
YAML

Updates a dashboard
Updating active state disables previous active dashboard
---
tags:
- Dashboard
parameters:
- in: path
name: dashboard_id
required: true
type: integer
description: Id of the dashboard
- in: body
name: body
required: true
schema:
type: object
$ref: '#/definitions/DashboardCreation'
responses:
200:
description: Success
schema:
type: object
required:
- content
properties:
content:
$ref: '#/definitions/Dashboard'