diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml index 73ff22683..8d11ba7da 100644 --- a/docs/api/swagger.yaml +++ b/docs/api/swagger.yaml @@ -10462,6 +10462,16 @@ paths: in: formData name: expires_in type: number + - description: |- + The action to be taken when a status matches this filter. + + Sample: warn + enum: + - warn + - hide + in: formData + name: filter_action + type: string produces: - application/json responses: diff --git a/internal/api/client/filters/v2/filterput.go b/internal/api/client/filters/v2/filterput.go index c86dc36dc..24f7e7567 100644 --- a/internal/api/client/filters/v2/filterput.go +++ b/internal/api/client/filters/v2/filterput.go @@ -121,6 +121,17 @@ import ( // // Sample: 86400 // type: number +// - +// name: filter_action +// in: formData +// description: |- +// The action to be taken when a status matches this filter. +// +// Sample: warn +// type: string +// enum: +// - warn +// - hide // // security: // - OAuth2 Bearer: