Flows and dashboards are created by POST under an issued or superuser-pinned id; PUT only updates; deleted flows leave a tombstone with their key; the controller stores by id and runs by key, hooks live under /hooks/<flow id>; a key with state or queued work behind it is refused until cleared

This commit is contained in:
2026-11-02 17:41:23 +01:00
parent fae85f5ecb
commit 08a6376836
63 changed files with 2832 additions and 936 deletions
+2 -2
View File
@@ -161,7 +161,7 @@ class HttpNode(Node):
url: str = Field(
description=(
"A path such as /tick, served as a webhook at /hooks/<flow>/<path>, "
"A path such as /tick, served as a webhook at /hooks/<flow id>/<path>, "
"or the full URL a sender requests."
)
)
@@ -197,7 +197,7 @@ class HttpNode(Node):
default="",
description=(
"Shared secret for a webhook, appended to its URL: "
"/hooks/<flow>/<url>/<secret>. Empty leaves the webhook open "
"/hooks/<flow id>/<url>/<secret>. Empty leaves the webhook open "
"to anyone."
),
json_schema_extra={"x-secret": True},
+3 -3
View File
@@ -31,7 +31,7 @@ class WebSocketNode(Node):
The URL picks the role: ``ws://`` or ``wss://`` dials out and holds the
connection, a path such as ``/ticker`` is served at
``/hooks/<flow>/<path>[/<secret>]`` while the flow runs. The ports pick the
``/hooks/<flow id>/<path>[/<secret>]`` while the flow runs. The ports pick the
direction, as on the mqtt node: outputs only make a **listener**, inputs a
**sender**.
@@ -79,7 +79,7 @@ class WebSocketNode(Node):
url: str = Field(
description=(
"ws:// or wss:// to connect to a server, or a path such as "
"/ticker to serve one at /hooks/<flow>/<path>."
"/ticker to serve one at /hooks/<flow id>/<path>."
)
)
headers: dict[str, str] = Field(
@@ -100,7 +100,7 @@ class WebSocketNode(Node):
default="",
description=(
"Shared secret for a served socket, appended to its URL: "
"/hooks/<flow>/<url>/<secret>. Empty leaves it open to anyone."
"/hooks/<flow id>/<url>/<secret>. Empty leaves it open to anyone."
),
json_schema_extra={"x-secret": True},
)