Skip to content

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 /preset

Needs read:preset.

Get all presets for tenant

Query parameters

Name Type Required Description
time_stamp string or null no

Responses

  • 200 Successful Response: array of PresetDto

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

  • 200 Successful Response: PresetDto

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

  • 200 Successful Response: PresetDto

DELETE /preset/{preset_id}

Needs delete:presets.

Delete a preset for tenant

Path parameters

Name Type Required Description
preset_id string (uuid) yes

Responses

  • 200 Successful Response: object

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

  • 200 Successful Response: array of object

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

  • 200 Successful Response: object

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

  • 200 Successful Response: object

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

  • 200 Successful Response: ColumnConfigurationDto

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

  • 200 Successful Response: PresetDto