Flow
Operations for managing data flows
Create a new data flow.
Enter an API key with the "NVX: " prefix, e.g. "NVX 123456abcdefg"
Successful creation response
Error response object
POST /v2/iot/logic/flow/create HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 240
{
"flow": {
"title": "Super flow",
"enabled": true,
"nodes": [
{
"id": 1,
"type": "data_source",
"data": {
"title": "Standard Data Source",
"source_ids": [
123458,
123459
]
},
"view": {
"position": {
"x": 25,
"y": 25
}
}
}
],
"edges": [
{
"from": 1,
"to": 2,
"type": "simple_edge"
}
]
}
}{
"success": true,
"id": 1723
}Read an existing flow details.
Enter an API key with the "NVX: " prefix, e.g. "NVX 123456abcdefg"
Flow ID
12Successful response to read a flow
Error response object
GET /v2/iot/logic/flow/read?flow_id=12 HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Accept: */*
{
"success": true,
"value": {
"id": 543,
"title": "Super flow",
"description": null,
"enabled": true,
"default_flow": false,
"nodes": [
{
"id": 1,
"type": "data_source",
"data": {
"title": "Standard Data Source",
"source_ids": [
123458,
123459
]
},
"view": {
"position": {
"x": 25,
"y": 25
}
}
}
],
"edges": [
{
"from": 1,
"to": 2,
"type": "simple_edge"
}
]
}
}Update details of an existing flow.
Enter an API key with the "NVX: " prefix, e.g. "NVX 123456abcdefg"
Flowchart object
Successful response
Error response object
POST /v2/iot/logic/flow/update HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 240
{
"flow": {
"title": "Super flow",
"enabled": true,
"nodes": [
{
"id": 1,
"type": "data_source",
"data": {
"title": "Standard Data Source",
"source_ids": [
123458,
123459
]
},
"view": {
"position": {
"x": 25,
"y": 25
}
}
}
],
"edges": [
{
"from": 1,
"to": 2,
"type": "simple_edge"
}
]
}
}{
"success": true
}Delete a flow.
Enter an API key with the "NVX: " prefix, e.g. "NVX 123456abcdefg"
Flow ID
12Successful response to delete a flow
Error response object
POST /v2/iot/logic/flow/delete HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 14
{
"flow_id": 12
}{
"success": true
}Get list of flows existing in a user account.
Enter an API key with the "NVX: " prefix, e.g. "NVX 123456abcdefg"
Successful response to read a list of flows
Error response object
GET /v2/iot/logic/flow/list HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Accept: */*
{
"success": true,
"list": [
{
"id": 1234,
"title": "Super flow"
}
]
}Last updated
Was this helpful?