21 lines
407 B
YAML
21 lines
407 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:
|
||
|
201:
|
||
|
description: Successful creation
|