28 lines
534 B
YAML
28 lines
534 B
YAML
Creates new dashboard widget
|
|
Requires Widget object and creates dashboard
|
|
---
|
|
tags:
|
|
- Dashboard
|
|
parameters:
|
|
- in: path
|
|
name: dashboard_id
|
|
required: true
|
|
type: integer
|
|
description: Id of the owning dashboard
|
|
- in: body
|
|
name: body
|
|
required: true
|
|
schema:
|
|
type: object
|
|
$ref: '#/definitions/WidgetCreation'
|
|
responses:
|
|
200:
|
|
description: Success
|
|
schema:
|
|
type: object
|
|
required:
|
|
- content
|
|
properties:
|
|
content:
|
|
$ref: '#/definitions/Widget'
|