Presets
Generated from openapi.json (API version 0.54.3). 9 endpoints. See the API overview for the base URL and how to sign requests.
Get Presets
Section titled “Get Presets”GET /preset
Needs read:preset.
Get all presets for tenant
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
time_stamp |
string or null | no |
Responses
200Successful Response: array ofPresetDto
Create Preset
Section titled “Create Preset”POST /preset
Needs write:presets.
Create a preset for tenant
Body (application/json, required): CreateOrUpdatePresetDto
| Field | Type | Required | Description |
|---|---|---|---|
name |
string or null | no | |
options |
array of PresetOption |
yes | |
is_private |
boolean | no | |
is_noisy |
boolean | no | |
tags |
array of TagDto |
no | |
counter_shows_firing_only |
boolean | no |
Responses
200Successful Response:PresetDto
Update Preset
Section titled “Update Preset”PUT /preset/{preset_id}
Needs write:presets.
Update a preset for tenant
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
preset_id |
string (uuid) | yes |
Body (application/json, required): CreateOrUpdatePresetDto
| Field | Type | Required | Description |
|---|---|---|---|
name |
string or null | no | |
options |
array of PresetOption |
yes | |
is_private |
boolean | no | |
is_noisy |
boolean | no | |
tags |
array of TagDto |
no | |
counter_shows_firing_only |
boolean | no |
Responses
200Successful Response:PresetDto
Delete Preset
Section titled “Delete Preset”DELETE /preset/{preset_id}
Needs delete:presets.
Delete a preset for tenant
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
preset_id |
string (uuid) | yes |
Responses
200Successful Response: object
Get Preset Alerts
Section titled “Get Preset Alerts”GET /preset/{preset_name}/alerts
Needs read:presets.
Get the alerts of a preset
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
preset_name |
string | yes |
Responses
200Successful Response: array of object
Create Preset Tab
Section titled “Create Preset Tab”POST /preset/{preset_id}/tab
Needs write:presets.
Create a tab for a preset
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
preset_id |
string (uuid) | yes |
Body (application/json, required): CreatePresetTab
| Field | Type | Required | Description |
|---|---|---|---|
name |
string | yes | |
filter |
string | yes |
Responses
200Successful Response: object
Delete Tab
Section titled “Delete Tab”DELETE /preset/{preset_id}/tab/{tab_id}
Needs delete:presets.
Delete a tab from a preset
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
preset_id |
string (uuid) | yes | |
tab_id |
string | yes |
Responses
200Successful Response: object
Get Preset Column Config
Section titled “Get Preset Column Config”GET /preset/{preset_id}/column-config
Needs read:preset.
Get column configuration for a preset
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
preset_id |
string (uuid) | yes |
Responses
200Successful Response:ColumnConfigurationDto
Update Preset Column Config
Section titled “Update Preset Column Config”PUT /preset/{preset_id}/column-config
Needs write:presets.
Update column configuration for a preset
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
preset_id |
string (uuid) | yes |
Body (application/json, required): ColumnConfigurationDto
| Field | Type | Required | Description |
|---|---|---|---|
column_visibility |
object | no | |
column_order |
array of string | no | |
column_rename_mapping |
object | no | |
column_time_formats |
object | no | |
column_list_formats |
object | no |
Responses
200Successful Response:PresetDto