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

27 lines
447 B
YAML
Raw Normal View History

2018-10-22 21:54:31 +00:00
Gets 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
responses:
200:
description: Success
schema:
type: object
required:
- content
properties:
content:
$ref: '#/definitions/Widget'