dify/api/controllers
Harry 814787677a feat(trigger): update plugin trigger API and model to use trigger_name
- Modified `PluginTriggerApi` to accept `trigger_name` as a JSON argument and return encoded plugin triggers.
- Updated `WorkflowPluginTrigger` model to replace `trigger_id` with `trigger_name` for better clarity.
- Adjusted `WorkflowPluginTriggerService` to handle the new `trigger_name` field and ensure proper error handling for subscriptions.
- Enhanced `workflow_trigger_fields` to include `trigger_name` in the plugin trigger schema.

This change improves the API's clarity and aligns the model with the updated naming conventions.
2025-09-05 15:56:13 +08:00
..
common feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
console feat(trigger): update plugin trigger API and model to use trigger_name 2025-09-05 15:56:13 +08:00
files feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
inner_api example of decorator typing (#24857) 2025-09-01 10:04:24 +08:00
mcp Merge branch 'main' into feat/trigger 2025-09-01 18:05:31 +08:00
service_api example enum to StrEnum (#24877) 2025-09-01 15:40:26 +08:00
trigger chore: (trigger) add WEBHOOK_REQUEST_BODY_MAX_SIZE (#25217) 2025-09-05 12:23:11 +08:00
web chore: cleanup unnecessary mypy suppressions on imports (#24712) 2025-08-28 23:17:25 +08:00
__init__.py chore(api/controllers): Apply Ruff Formatter. (#7645) 2024-08-26 15:29:10 +08:00