keitaro-api-skill/references/schemas/FilterStreamRequest.yaml

25 lines
564 B
YAML

type: object
properties:
id:
type: integer
description: Flow filter ID. Provide it if you update the filter.
name:
type: string
description: Flow filter name, see 'retrive-stream-filters' section
mode:
type: string
description: Filter mode
enum:
- accept
- reject
payload:
type: array
items:
type: string
description: >-
Flow payload. This field contains values for filters. For example, for a
"keyword" Filter an Array ["value1", "value2"] must be provided
required:
- name
- mode