windmill-api 1.683.1

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
# WebsocketTrigger

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**url** | **String** | The WebSocket URL to connect to (can be a static URL or computed by a runnable) | 
**server_id** | Option<**String**> | ID of the server currently handling this trigger (internal) | [optional]
**last_server_ping** | Option<**String**> | Timestamp of last server heartbeat (internal) | [optional]
**error** | Option<**String**> | Last error message if the trigger failed | [optional]
**filters** | [**Vec<serde_json::Value>**]serde_json::Value.md | Array of key-value filters to match incoming messages (only matching messages trigger the script) | 
**filter_logic** | Option<**String**> | Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match. | [optional][default to And]
**initial_messages** | Option<[**Vec<models::WebsocketTriggerInitialMessage>**]WebsocketTriggerInitialMessage.md> | Messages to send immediately after connecting (can be raw strings or computed by runnables) | [optional]
**url_runnable_args** | Option<[**std::collections::HashMap<String, serde_json::Value>**]serde_json::Value.md> | The arguments to pass to the script or flow | [optional]
**can_return_message** | **bool** | If true, the script can return a message to send back through the WebSocket | 
**can_return_error_result** | **bool** | If true, error results are sent back through the WebSocket | 
**heartbeat** | Option<[**models::WebsocketHeartbeat**]WebsocketHeartbeat.md> |  | [optional]
**error_handler_path** | Option<**String**> | Path to a script or flow to run when the triggered job fails | [optional]
**error_handler_args** | Option<[**std::collections::HashMap<String, serde_json::Value>**]serde_json::Value.md> | The arguments to pass to the script or flow | [optional]
**retry** | Option<[**models::Retry**]Retry.md> |  | [optional]
**path** | **String** | The unique path identifier for this trigger | 
**script_path** | **String** | Path to the script or flow to execute when triggered | 
**permissioned_as** | **String** | The user or group this trigger runs as (permissioned_as) | 
**extra_perms** | **std::collections::HashMap<String, bool>** | Additional permissions for this trigger | 
**workspace_id** | **String** | The workspace this trigger belongs to | 
**edited_by** | **String** | Username of the last person who edited this trigger | 
**edited_at** | **String** | Timestamp of the last edit | 
**is_flow** | **bool** | True if script_path points to a flow, false if it points to a script | 
**mode** | [**models::TriggerMode**]TriggerMode.md |  | 
**labels** | Option<**Vec<String>**> |  | [optional][default to []]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)