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

61 lines
1.2 KiB
YAML

type: object
properties:
id:
type: integer
description: Trigger ID.
stream_id:
type: integer
description: Flow ID
condition:
type: string
description: Condition
enum:
- not_respond
- always
- not_contains
- av_detected
target:
type: string
description: Target
enum:
- stream
- landings
- offers
- selected_page
selected_page:
type: string
description: The URL of the Page to Check
pattern:
type: string
description: Text Pattern to Check
action:
type: string
description: Action
enum:
- disable
- replace_url
- grab_from_page
interval:
type: integer
description: Interval between Checks
alternative_urls:
type: string
description: URLs for replacement (split by \n)
grab_from_page:
type: string
description: URL of the page that contains a new URL
av_settings:
type: string
description: Settings for AV Scanners
reverse:
type: boolean
description: Perform also in a reverse mode (true/false)
scan_page:
type: boolean
description: Tell AV scanner to scan the page content
required:
- condition
- action
- target
- stream_id