Create a new dashboard panel
POST /api/v1/projects/:project_id/dashboards/:dashboard_id/panels
Creates a new dashboard panel into the dashboard of the project.
Path Parameters
- project_id string required
Project ID
- dashboard_id string required
Dashboard ID
- application/json
Request Body required
Dashboard Panel Create Body
- dashboard_id string required
- data_config string required
- definition string required
- org_id string
- panel_description string
- panel_type string required
Possible values: [
LINE_CHART
,GAUGE
,GRAPH
,BAR_CHART
,PIE_CHART
,GEO_MAP
,NUMERIC
] - project_id string
- title string required
Possible values:
non-empty
Responses
- 200
- 400
Success" {"ok":1,"data":{"dashboardPanelId":"<dashboard_panel_id>"}}
- application/json
- Schema
- Example (from schema)
Schema
{}
Error" {"ok":0,"error":{"message":"<error_message>","code":<error_code>,"details":"<error_details>"}}
- application/json
- Schema
- Example (from schema)
Schema
{}
Loading...