Service: Flow
This API is not yet officially released nor maintained. |
Service to store and control Blickfeld flows.
It is used to implement the custom storage API: https://nodered.org/docs/api/storage/
Method | Request | Response |
---|---|---|
FlowWatchResponseStream |
||
Get
Get a flow by id
Request
Flow get request
Field | Type | Default | Unit |
---|---|---|---|
id |
string |
- |
- |
Flow id |
|||
as_node_red_json |
bool |
- |
- |
If true, the request returns the NodeRed JSON format which can be directly imported. |
Store
Store flow
A "Reload" is required to apply the operation.
Request
Flow store request
Field | Type | Default | Unit |
---|---|---|---|
id |
string |
- |
- |
ID of the flow NOTE: For node_red_json, this has to match the ID in the NodeRED JSON format. |
|||
flow |
- |
- |
|
Blickfeld Flow config with well-defined high-level attributes |
|||
node_red_json |
- |
- |
|
NodeRed JSON format which can be directly exported from NodeRED Admin UI |
Watch
Watch flow changes
Request
Flow watch request
Field | Type | Default | Unit |
---|---|---|---|
as_node_red_json |
bool |
- |
- |
If true, the request returns the NodeRed JSON format which can be directly imported. |
Response Stream
Per change, a response is emitted
Field | Type | Default | Unit |
---|---|---|---|
id |
string |
- |
- |
Id of Blickfeld Flow |
|||
flow |
- |
- |
|
Blickfeld Flow config with well-defined high-level attributes |
|||
node_red_json |
- |
- |
|
NodeRed JSON format which can be directly exported from NodeRED Admin UI |
|||
type |
- |
- |
|
Type of change |