Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions models_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 32 additions & 5 deletions openapi/openapi.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -11387,7 +11387,7 @@
"type": "integer"
},
"deleted_at": {
"description": "Soft-delete timestamp (ms). Zero if not deleted.",
"description": "Soft-delete timestamp in milliseconds. Zero if not deleted.",
"format": "int64",
"type": "integer"
},
Expand Down Expand Up @@ -29665,7 +29665,7 @@
"$ref": "#/components/schemas/DashboardPanelQuery"
},
"maxItems": 26,
"description": "Queries in the panel. `time_series` accepts 1–26, `text` accepts none, every other kind accepts exactly one."
"description": "Queries in the panel. `time_series` accepts 1–26, `text` and `incident_list` accept none, every other kind accepts exactly one."
},
"viz_config": {
"$ref": "#/components/schemas/DashboardVizConfig"
Expand Down Expand Up @@ -30190,6 +30190,9 @@
},
{
"$ref": "#/components/schemas/DashboardTextViz"
},
{
"$ref": "#/components/schemas/DashboardIncidentListViz"
}
],
"discriminator": {
Expand All @@ -30201,7 +30204,8 @@
"bar": "#/components/schemas/DashboardBarViz",
"gauge": "#/components/schemas/DashboardGaugeViz",
"logs": "#/components/schemas/DashboardLogsViz",
"text": "#/components/schemas/DashboardTextViz"
"text": "#/components/schemas/DashboardTextViz",
"incident_list": "#/components/schemas/DashboardIncidentListViz"
}
}
},
Expand Down Expand Up @@ -30573,6 +30577,28 @@
"markdown"
]
},
"DashboardIncidentListViz": {
"type": "object",
"description": "Incident-list panel. The rows are filled by the client from the Flashduty incident API, so the panel runs no queries and needs no datasource.",
"properties": {
"kind": {
"type": "string",
"enum": [
"incident_list"
],
"description": "Visualization kind discriminator; always `incident_list`."
},
"options": {
"type": "object",
"additionalProperties": true,
"description": "Open options object for the chosen visualization kind; the only part of the definition that round-trips losslessly. Missing or null normalizes to `{}`."
}
},
"required": [
"kind",
"options"
]
},
"DashboardThreshold": {
"type": "object",
"description": "Colour threshold for a numeric value. At least one of `warning`/`critical` is required, and with both set the pair must be ordered according to `mode`.",
Expand Down Expand Up @@ -31396,9 +31422,10 @@
"bar",
"gauge",
"logs",
"text"
"text",
"incident_list"
],
"description": "Visualization kind: `time_series` = time series; `table` = table; `stat` = single value; `bar` = bar chart; `gauge` = gauge; `logs` = log stream; `text` = Markdown text."
"description": "Visualization kind: `time_series` = time series; `table` = table; `stat` = single value; `bar` = bar chart; `gauge` = gauge; `logs` = log stream; `text` = Markdown text; `incident_list` = incident list."
}
},
"required": [
Expand Down
Loading