mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-11-30 00:07:30 +00:00
* fix: describe exponential retry as multiplier × seconds^attempt in openflow schema Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: update folded exponential retry description in openapi-deref.yaml Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: phrase exponential retry summary per n-th retry, matching seconds field Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: update ee-repo-ref to acb254ac509aff244849c09e50a8d39aae185138 This commit updates the EE repository reference after PR #852 was merged in windmill-ee-private. Previous ee-repo-ref: 9cc330f1a8e80bc075a6ad9839966d3b344f8ddd New ee-repo-ref: acb254ac509aff244849c09e50a8d39aae185138 Automated by sync-ee-ref workflow. --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com> Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
169 lines
5.2 KiB
YAML
169 lines
5.2 KiB
YAML
type: object
|
||
properties:
|
||
script_path:
|
||
type: string
|
||
description: Path to the script or flow to execute when triggered
|
||
is_flow:
|
||
type: boolean
|
||
description: True if script_path points to a flow, false if it points to a script
|
||
labels:
|
||
type: array
|
||
items:
|
||
type: string
|
||
draft_only:
|
||
type: boolean
|
||
description: 'True when this row is a per-user draft with no deployed
|
||
|
||
trigger at the same path. Set by list endpoints when
|
||
|
||
`include_draft_only=true` synthesizes the row from the
|
||
|
||
draft. Frontend renders a "Draft" badge.
|
||
|
||
'
|
||
is_draft:
|
||
type: boolean
|
||
description: 'True when the authed user has a per-user draft at this path
|
||
|
||
(over a deployed row or a synthesized draft-only row).
|
||
|
||
Frontend appends a `*` to the displayed name.
|
||
|
||
'
|
||
route_path:
|
||
type: string
|
||
description: The URL route path that will trigger this endpoint (e.g., 'api/myendpoint').
|
||
Must NOT start with a /.
|
||
static_asset_config:
|
||
type: object
|
||
properties:
|
||
s3:
|
||
type: string
|
||
description: S3 bucket path for static assets
|
||
storage:
|
||
type: string
|
||
description: Storage path for static assets
|
||
filename:
|
||
type: string
|
||
description: Filename for the static asset
|
||
description: Configuration for serving static assets (s3 bucket, storage path,
|
||
filename)
|
||
http_method:
|
||
type: string
|
||
enum:
|
||
- get
|
||
- post
|
||
- put
|
||
- delete
|
||
- patch
|
||
authentication_resource_path:
|
||
type: string
|
||
description: Path to the resource containing authentication configuration (for
|
||
api_key, basic_http, custom_script, signature methods)
|
||
summary:
|
||
type: string
|
||
description: Short summary describing the purpose of this trigger
|
||
description:
|
||
type: string
|
||
description: Detailed description of what this trigger does
|
||
request_type:
|
||
type: string
|
||
enum:
|
||
- sync
|
||
- async
|
||
- sync_sse
|
||
authentication_method:
|
||
type: string
|
||
enum:
|
||
- none
|
||
- windmill
|
||
- api_key
|
||
- basic_http
|
||
- custom_script
|
||
- signature
|
||
is_static_website:
|
||
type: boolean
|
||
description: If true, serves static files from S3/storage instead of running a
|
||
script
|
||
workspaced_route:
|
||
type: boolean
|
||
description: If true, the route includes the workspace ID in the path
|
||
wrap_body:
|
||
type: boolean
|
||
description: If true, wraps the request body in a 'body' parameter
|
||
raw_string:
|
||
type: boolean
|
||
description: If true, passes the request body as a raw string instead of parsing
|
||
as JSON
|
||
allowed_origins:
|
||
type: array
|
||
items:
|
||
type: string
|
||
description: 'Origins allowed to call this route cross-origin, matched against
|
||
the request''s Origin header (ignoring case) and echoed back on a match. When
|
||
set, the list governs both the preflight and the response, overriding any Access-Control-Allow-Origin
|
||
the runnable returns via wm_headers. Use [''*''] to opt out of any restriction,
|
||
including the http_route_default_allowed_origins instance setting. An empty
|
||
list is not a configuration and resolves exactly as null does. When null, the
|
||
instance setting applies, or Access-Control-Allow-Origin: * if it is unset.
|
||
Ignored on a static website, which has no authentication of its own and so hands
|
||
out public files: restricting which browsers may read them protects nothing
|
||
while breaking cross-origin webfonts and fetches. A single-file static asset
|
||
is not exempt, since it can carry an authentication_method.'
|
||
error_handler_path:
|
||
type: string
|
||
description: Path to a script to run when the triggered job fails. A bare path,
|
||
without the script/ or flow/ prefix a schedule error handler takes; it cannot
|
||
be a flow.
|
||
error_handler_args:
|
||
type: object
|
||
description: The arguments to pass to the script or flow
|
||
retry:
|
||
type: object
|
||
properties:
|
||
constant:
|
||
type: object
|
||
description: Retry with constant delay between attempts
|
||
properties:
|
||
attempts:
|
||
type: integer
|
||
description: Number of retry attempts
|
||
seconds:
|
||
type: integer
|
||
description: Seconds to wait between retries
|
||
exponential:
|
||
type: object
|
||
description: 'Retry with exponential backoff: the n-th retry waits multiplier
|
||
× seconds^n'
|
||
properties:
|
||
attempts:
|
||
type: integer
|
||
description: Number of retry attempts
|
||
multiplier:
|
||
type: integer
|
||
description: Multiplier for exponential backoff
|
||
seconds:
|
||
type: integer
|
||
minimum: 1
|
||
description: Base of the exponential (seconds); the n-th retry waits multiplier
|
||
× seconds^n, where n counts constant retries too
|
||
random_factor:
|
||
type: integer
|
||
minimum: 0
|
||
maximum: 100
|
||
description: Random jitter percentage (0-100) to avoid thundering herd
|
||
retry_if:
|
||
$ref: '#/components/schemas/RetryIf'
|
||
description: Retry configuration for failed module executions
|
||
required:
|
||
- script_path
|
||
- is_flow
|
||
- route_path
|
||
- request_type
|
||
- authentication_method
|
||
- http_method
|
||
- is_static_website
|
||
- workspaced_route
|
||
- wrap_body
|
||
- raw_string
|