[WIP] workflow builder

This commit is contained in:
2026-02-23 20:45:10 -06:00
parent d629da32fa
commit 53a3fbb6b1
66 changed files with 7887 additions and 1608 deletions

View File

@@ -188,7 +188,7 @@ Authorization: Bearer {sensor_token}
Content-Type: application/json
{
"trigger_type": "core.timer",
"trigger_ref": "core.timer",
"payload": {
"timestamp": "2025-01-27T12:34:56Z",
"scheduled_time": "2025-01-27T12:34:56Z"
@@ -197,6 +197,8 @@ Content-Type: application/json
}
```
> **Note**: `trigger_type` is accepted as an alias for `trigger_ref` for backward compatibility, but `trigger_ref` is the canonical field name.
**Important**: Sensors can only emit events for trigger types declared in their token's `metadata.trigger_types`. The API will reject event creation requests for unauthorized trigger types with a `403 Forbidden` error.
### Event Payload Guidelines