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

25 lines
464 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
required:
- dashboard
properties:
device:
$ref: '#/definitions/DashboardCreation'
responses:
204:
description: Success