university-final-iot-backend/app/api/resources/swagger/update_dashboard_widget_spe...

32 lines
570 B
YAML
Raw Permalink Normal View History

2018-10-22 21:54:31 +00:00
Updates a widget
---
tags:
- Dashboard
parameters:
- in: path
name: dashboard_id
required: true
type: integer
description: Id of the dashboard
- in: path
name: widget_id
required: true
type: integer
description: Id of the widget
- in: body
name: body
required: true
schema:
type: object
$ref: '#/definitions/WidgetCreation'
responses:
200:
2018-10-22 21:54:31 +00:00
description: Success
schema:
type: object
required:
- content
properties:
content:
$ref: '#/definitions/Widget'