Service: Flow

Get

Get a flow by id

Request

Flow get request

Table 2. Available fields in blickfeld.flow.services.FlowGetRequest
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.

Response

Flow get response

Table 3. Available fields in blickfeld.flow.services.FlowGetResponse
Field Type Default Unit

flow

config.Flow

-

-

Blickfeld Flow config with well-defined high-level attributes

node_red_json

config.NodeRedJson

-

-

NodeRed JSON format which can be directly imported

List

Return list of flow ids

Response

Flow list response

Table 4. Available fields in blickfeld.flow.services.FlowListResponse
Field Type Default Unit

ids

repeated string

-

-

List of Blickfeld Flow identifiers.

Store

Store flow

Request

Flow store request

Table 5. Available fields in blickfeld.flow.services.FlowStoreRequest
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

config.Flow

-

-

Blickfeld Flow config with well-defined high-level attributes

node_red_json

config.NodeRedJson

-

-

NodeRed JSON format which can be directly exported from NodeRED Admin UI

Delete

Delete stored flow

Request

Flow delete request

Table 6. Available fields in blickfeld.flow.services.FlowDeleteRequest
Field Type Default Unit

id

string

-

-

Id of Blickfeld Flow

Watch

Watch flow changes

Request

Flow watch request

Table 7. Available fields in blickfeld.flow.services.FlowWatchRequest
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

Table 8. Available fields in blickfeld.flow.services.FlowWatchResponse
Field Type Default Unit

id

string

-

-

Id of Blickfeld Flow

flow

config.Flow

-

-

Blickfeld Flow config with well-defined high-level attributes

node_red_json

config.NodeRedJson

-

-

NodeRed JSON format which can be directly exported from NodeRED Admin UI

type

config.data.WatchEvent.Type

-

-

Type of change

StoreGlobalNodes

Store global nodes

Request

Flow store global nodes request

Table 9. Available fields in blickfeld.flow.services.FlowStoreGlobalNodesRequest
Field Type Default Unit

node_red_json

config.NodeRedJson

-

-

NodeRed JSON format of all global configuration nodes

GetGlobalNodes

Get global nodes

Response

Flow get global nodes response

Table 10. Available fields in blickfeld.flow.services.FlowGetGlobalNodesResponse
Field Type Default Unit

node_red_json

config.NodeRedJson

-

-

NodeRed JSON format of all global configuration nodes

WatchGlobalNodes

Watch global nodes

Response

Flow watch global nodes response

Table 11. Available fields in blickfeld.flow.services.FlowWatchGlobalNodesResponse
Field Type Default Unit

node_red_json

config.NodeRedJson

-

-

NodeRed JSON format of all global configuration nodes