losant_rest 1.15.2 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/_schemas.md +5233 -1385
- data/docs/application.md +3 -4
- data/docs/applications.md +3 -2
- data/docs/flows.md +38 -0
- data/docs/instanceCustomNode.md +222 -0
- data/docs/instanceCustomNodes.md +91 -0
- data/lib/losant_rest/client.rb +10 -2
- data/lib/losant_rest/flows.rb +44 -0
- data/lib/losant_rest/instance_custom_node.rb +282 -0
- data/lib/losant_rest/instance_custom_nodes.rb +136 -0
- data/lib/losant_rest/version.rb +1 -1
- data/lib/losant_rest.rb +2 -0
- data/schemas/apiTokenPost.json +11 -1
- data/schemas/applicationImportOptions.json +11 -0
- data/schemas/experienceLinkedResources.json +20 -5
- data/schemas/flow.json +18 -0
- data/schemas/flowPatch.json +19 -0
- data/schemas/flowPost.json +19 -0
- data/schemas/flowVersion.json +2 -5
- data/schemas/flowVersionPost.json +1 -0
- data/schemas/flowVersions.json +2 -5
- data/schemas/flows.json +18 -0
- data/schemas/flowsImportPost.json +29 -2
- data/schemas/flowsImportResult.json +20 -5
- data/schemas/githubLogin.json +11 -1
- data/schemas/instanceCustomNode.json +580 -0
- data/schemas/instanceCustomNodePatch.json +674 -0
- data/schemas/instanceCustomNodePost.json +679 -0
- data/schemas/instanceCustomNodes.json +625 -0
- data/schemas/integration.json +27 -0
- data/schemas/integrationPatch.json +27 -0
- data/schemas/integrationPost.json +27 -0
- data/schemas/integrations.json +27 -0
- data/schemas/paletteResponse.json +785 -0
- data/schemas/userCredentials.json +11 -1
- data/schemas/userPost.json +11 -1
- metadata +12 -2
data/schemas/flowVersions.json
CHANGED
@@ -99,6 +99,7 @@
|
|
99
99
|
"deviceIdsTagsDisconnect",
|
100
100
|
"eeaInit",
|
101
101
|
"flowError",
|
102
|
+
"azureEventHub",
|
102
103
|
"googlePubSub",
|
103
104
|
"meridian",
|
104
105
|
"mqtt",
|
@@ -2614,11 +2615,6 @@
|
|
2614
2615
|
"type": "string",
|
2615
2616
|
"maxLength": 32767
|
2616
2617
|
},
|
2617
|
-
"iconData": {
|
2618
|
-
"type": "string",
|
2619
|
-
"maxLength": 32767,
|
2620
|
-
"pattern": "^data:image/(jpg|jpeg|png|svg\\+xml);base64,[0-9a-zA-Z+/=]*$"
|
2621
|
-
},
|
2622
2618
|
"flowClass": {
|
2623
2619
|
"type": "string",
|
2624
2620
|
"enum": [
|
@@ -2687,6 +2683,7 @@
|
|
2687
2683
|
"deviceIdsTagsDisconnect",
|
2688
2684
|
"eeaInit",
|
2689
2685
|
"flowError",
|
2686
|
+
"azureEventHub",
|
2690
2687
|
"googlePubSub",
|
2691
2688
|
"meridian",
|
2692
2689
|
"mqtt",
|
data/schemas/flows.json
CHANGED
@@ -38,11 +38,28 @@
|
|
38
38
|
"type": "string",
|
39
39
|
"maxLength": 32767
|
40
40
|
},
|
41
|
+
"shortDescription": {
|
42
|
+
"type": "string",
|
43
|
+
"maxLength": 1024
|
44
|
+
},
|
41
45
|
"iconData": {
|
42
46
|
"type": "string",
|
43
47
|
"maxLength": 32767,
|
44
48
|
"pattern": "^data:image/(jpg|jpeg|png|svg\\+xml);base64,[0-9a-zA-Z+/=]*$"
|
45
49
|
},
|
50
|
+
"docsUrl": {
|
51
|
+
"type": "string",
|
52
|
+
"maxLength": 1024
|
53
|
+
},
|
54
|
+
"category": {
|
55
|
+
"type": "string",
|
56
|
+
"enum": [
|
57
|
+
"data",
|
58
|
+
"experience",
|
59
|
+
"logic",
|
60
|
+
"output"
|
61
|
+
]
|
62
|
+
},
|
46
63
|
"enabled": {
|
47
64
|
"type": "boolean"
|
48
65
|
},
|
@@ -115,6 +132,7 @@
|
|
115
132
|
"deviceIdsTagsDisconnect",
|
116
133
|
"eeaInit",
|
117
134
|
"flowError",
|
135
|
+
"azureEventHub",
|
118
136
|
"googlePubSub",
|
119
137
|
"meridian",
|
120
138
|
"mqtt",
|
@@ -25,10 +25,35 @@
|
|
25
25
|
"type": "string",
|
26
26
|
"maxLength": 32767
|
27
27
|
},
|
28
|
+
"shortDescription": {
|
29
|
+
"type": "string",
|
30
|
+
"maxLength": 1024
|
31
|
+
},
|
28
32
|
"iconData": {
|
33
|
+
"oneOf": [
|
34
|
+
{
|
35
|
+
"type": "string",
|
36
|
+
"maxLength": 32767,
|
37
|
+
"pattern": "^data:image/(jpg|jpeg|png|svg\\+xml);base64,[0-9a-zA-Z+/=]*$"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"type": "null"
|
41
|
+
}
|
42
|
+
]
|
43
|
+
},
|
44
|
+
"docsUrl": {
|
45
|
+
"type": "string",
|
46
|
+
"maxLength": 1024
|
47
|
+
},
|
48
|
+
"category": {
|
29
49
|
"type": "string",
|
30
|
-
"
|
31
|
-
|
50
|
+
"enum": [
|
51
|
+
"data",
|
52
|
+
"experience",
|
53
|
+
"logic",
|
54
|
+
"output",
|
55
|
+
""
|
56
|
+
]
|
32
57
|
},
|
33
58
|
"enabled": {
|
34
59
|
"type": "boolean"
|
@@ -84,6 +109,7 @@
|
|
84
109
|
"deviceIdsTagsDisconnect",
|
85
110
|
"eeaInit",
|
86
111
|
"flowError",
|
112
|
+
"azureEventHub",
|
87
113
|
"googlePubSub",
|
88
114
|
"meridian",
|
89
115
|
"mqtt",
|
@@ -2654,6 +2680,7 @@
|
|
2654
2680
|
"deviceIdsTagsDisconnect",
|
2655
2681
|
"eeaInit",
|
2656
2682
|
"flowError",
|
2683
|
+
"azureEventHub",
|
2657
2684
|
"googlePubSub",
|
2658
2685
|
"meridian",
|
2659
2686
|
"mqtt",
|
@@ -39,11 +39,28 @@
|
|
39
39
|
"type": "string",
|
40
40
|
"maxLength": 32767
|
41
41
|
},
|
42
|
+
"shortDescription": {
|
43
|
+
"type": "string",
|
44
|
+
"maxLength": 1024
|
45
|
+
},
|
42
46
|
"iconData": {
|
43
47
|
"type": "string",
|
44
48
|
"maxLength": 32767,
|
45
49
|
"pattern": "^data:image/(jpg|jpeg|png|svg\\+xml);base64,[0-9a-zA-Z+/=]*$"
|
46
50
|
},
|
51
|
+
"docsUrl": {
|
52
|
+
"type": "string",
|
53
|
+
"maxLength": 1024
|
54
|
+
},
|
55
|
+
"category": {
|
56
|
+
"type": "string",
|
57
|
+
"enum": [
|
58
|
+
"data",
|
59
|
+
"experience",
|
60
|
+
"logic",
|
61
|
+
"output"
|
62
|
+
]
|
63
|
+
},
|
47
64
|
"enabled": {
|
48
65
|
"type": "boolean"
|
49
66
|
},
|
@@ -116,6 +133,7 @@
|
|
116
133
|
"deviceIdsTagsDisconnect",
|
117
134
|
"eeaInit",
|
118
135
|
"flowError",
|
136
|
+
"azureEventHub",
|
119
137
|
"googlePubSub",
|
120
138
|
"meridian",
|
121
139
|
"mqtt",
|
@@ -2704,6 +2722,7 @@
|
|
2704
2722
|
"deviceIdsTagsDisconnect",
|
2705
2723
|
"eeaInit",
|
2706
2724
|
"flowError",
|
2725
|
+
"azureEventHub",
|
2707
2726
|
"googlePubSub",
|
2708
2727
|
"meridian",
|
2709
2728
|
"mqtt",
|
@@ -5219,11 +5238,6 @@
|
|
5219
5238
|
"type": "string",
|
5220
5239
|
"maxLength": 32767
|
5221
5240
|
},
|
5222
|
-
"iconData": {
|
5223
|
-
"type": "string",
|
5224
|
-
"maxLength": 32767,
|
5225
|
-
"pattern": "^data:image/(jpg|jpeg|png|svg\\+xml);base64,[0-9a-zA-Z+/=]*$"
|
5226
|
-
},
|
5227
5241
|
"flowClass": {
|
5228
5242
|
"type": "string",
|
5229
5243
|
"enum": [
|
@@ -5292,6 +5306,7 @@
|
|
5292
5306
|
"deviceIdsTagsDisconnect",
|
5293
5307
|
"eeaInit",
|
5294
5308
|
"flowError",
|
5309
|
+
"azureEventHub",
|
5295
5310
|
"googlePubSub",
|
5296
5311
|
"meridian",
|
5297
5312
|
"mqtt",
|
data/schemas/githubLogin.json
CHANGED
@@ -257,6 +257,7 @@
|
|
257
257
|
"flows.get",
|
258
258
|
"flows.getByVersion",
|
259
259
|
"flows.import",
|
260
|
+
"flows.palette",
|
260
261
|
"flows.post",
|
261
262
|
"flowVersion.delete",
|
262
263
|
"flowVersion.errors",
|
@@ -371,7 +372,16 @@
|
|
371
372
|
"instanceApiToken.*",
|
372
373
|
"instanceApiToken.get",
|
373
374
|
"instanceApiToken.patch",
|
374
|
-
"instanceApiToken.delete"
|
375
|
+
"instanceApiToken.delete",
|
376
|
+
"instanceCustomNodes.*",
|
377
|
+
"instanceCustomNodes.get",
|
378
|
+
"instanceCustomNodes.post",
|
379
|
+
"instanceCustomNode.*",
|
380
|
+
"instanceCustomNode.get",
|
381
|
+
"instanceCustomNode.patch",
|
382
|
+
"instanceCustomNode.delete",
|
383
|
+
"instanceCustomNode.errors",
|
384
|
+
"instanceCustomNode.stats"
|
375
385
|
]
|
376
386
|
},
|
377
387
|
{
|