losant_rest 1.14.1 → 1.15.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 +4268 -1402
- data/docs/embeddedDeployment.md +49 -0
- data/docs/embeddedDeployments.md +215 -0
- data/docs/flow.md +2 -2
- data/docs/flows.md +2 -2
- data/lib/losant_rest/client.rb +10 -2
- data/lib/losant_rest/embedded_deployment.rb +81 -0
- data/lib/losant_rest/embedded_deployments.rb +280 -0
- data/lib/losant_rest/flow.rb +2 -2
- data/lib/losant_rest/flows.rb +2 -2
- data/lib/losant_rest/version.rb +1 -1
- data/lib/losant_rest.rb +2 -0
- data/schemas/apiTokenPost.json +8 -0
- data/schemas/application.json +32 -32
- data/schemas/applicationCreationByTemplateResult.json +32 -32
- data/schemas/applicationDashboardPost.json +8 -5
- data/schemas/applicationPatch.json +13 -13
- data/schemas/applicationPost.json +13 -13
- data/schemas/applicationTemplate.json +16 -16
- data/schemas/applicationTemplates.json +16 -16
- data/schemas/applications.json +32 -32
- data/schemas/authedDevice.json +2 -1
- data/schemas/dashboard.json +8 -5
- data/schemas/dashboardPatch.json +8 -5
- data/schemas/dashboardPost.json +8 -5
- data/schemas/dashboardSendReport.json +6 -6
- data/schemas/dashboards.json +8 -5
- data/schemas/device.json +2 -1
- data/schemas/deviceClassFilter.json +4 -2
- data/schemas/devicePatch.json +2 -1
- data/schemas/devicePost.json +2 -1
- data/schemas/deviceRecipe.json +2 -1
- data/schemas/deviceRecipePatch.json +2 -1
- data/schemas/deviceRecipePost.json +2 -1
- data/schemas/deviceRecipes.json +2 -1
- data/schemas/devices.json +4 -2
- data/schemas/devicesPatch.json +4 -2
- data/schemas/edgeDeployment.json +4 -0
- data/schemas/edgeDeployments.json +4 -0
- data/schemas/embeddedDeployment.json +179 -0
- data/schemas/embeddedDeploymentExport.json +44 -0
- data/schemas/embeddedDeploymentRelease.json +58 -0
- data/schemas/embeddedDeploymentRemove.json +25 -0
- data/schemas/embeddedDeploymentReplace.json +29 -0
- data/schemas/embeddedDeployments.json +212 -0
- data/schemas/experienceEndpoint.json +6 -8
- data/schemas/experienceEndpointPatch.json +6 -8
- data/schemas/experienceEndpointPost.json +6 -8
- data/schemas/experienceEndpoints.json +6 -8
- data/schemas/experienceLinkedResources.json +387 -57
- data/schemas/flow.json +127 -16
- data/schemas/flowPatch.json +126 -16
- data/schemas/flowPost.json +127 -16
- data/schemas/flowVersion.json +253 -33
- data/schemas/flowVersionPost.json +126 -16
- data/schemas/flowVersions.json +253 -33
- data/schemas/flows.json +128 -16
- data/schemas/flowsImportPost.json +253 -32
- data/schemas/flowsImportResult.json +380 -49
- data/schemas/githubLogin.json +8 -0
- data/schemas/historicalSummary.json +87 -74
- data/schemas/instance.json +92 -79
- data/schemas/instanceMember.json +6 -0
- data/schemas/instanceMembers.json +6 -0
- data/schemas/instanceOrg.json +87 -74
- data/schemas/instanceOrgMember.json +6 -0
- data/schemas/instanceOrgPatch.json +64 -26
- data/schemas/instanceOrgPost.json +65 -27
- data/schemas/instanceOrgs.json +87 -74
- data/schemas/instancePatch.json +2 -2
- data/schemas/me.json +104 -91
- data/schemas/org.json +115 -96
- data/schemas/orgs.json +115 -96
- data/schemas/userCredentials.json +8 -0
- data/schemas/userPost.json +8 -0
- metadata +16 -6
data/schemas/flowPost.json
CHANGED
@@ -75,6 +75,7 @@
|
|
75
75
|
"deviceCommand",
|
76
76
|
"deviceIdsTagsConnect",
|
77
77
|
"deviceIdsTagsDisconnect",
|
78
|
+
"eeaInit",
|
78
79
|
"flowError",
|
79
80
|
"googlePubSub",
|
80
81
|
"meridian",
|
@@ -138,7 +139,8 @@
|
|
138
139
|
"type": "array",
|
139
140
|
"items": {
|
140
141
|
"type": "string",
|
141
|
-
"maxLength":
|
142
|
+
"maxLength": 48,
|
143
|
+
"minLength": 1
|
142
144
|
},
|
143
145
|
"maxItems": 100
|
144
146
|
},
|
@@ -242,7 +244,8 @@
|
|
242
244
|
"type": "array",
|
243
245
|
"items": {
|
244
246
|
"type": "string",
|
245
|
-
"maxLength":
|
247
|
+
"maxLength": 48,
|
248
|
+
"minLength": 1
|
246
249
|
},
|
247
250
|
"maxItems": 100
|
248
251
|
},
|
@@ -386,7 +389,8 @@
|
|
386
389
|
"type": "array",
|
387
390
|
"items": {
|
388
391
|
"type": "string",
|
389
|
-
"maxLength":
|
392
|
+
"maxLength": 48,
|
393
|
+
"minLength": 1
|
390
394
|
},
|
391
395
|
"maxItems": 100
|
392
396
|
},
|
@@ -482,8 +486,101 @@
|
|
482
486
|
"type": "array",
|
483
487
|
"items": {
|
484
488
|
"type": "string",
|
489
|
+
"maxLength": 48,
|
490
|
+
"minLength": 1
|
491
|
+
},
|
492
|
+
"maxItems": 100
|
493
|
+
},
|
494
|
+
"maxItems": 100
|
495
|
+
}
|
496
|
+
},
|
497
|
+
"required": [
|
498
|
+
"type"
|
499
|
+
],
|
500
|
+
"additionalProperties": false
|
501
|
+
},
|
502
|
+
{
|
503
|
+
"type": "object",
|
504
|
+
"properties": {
|
505
|
+
"key": {
|
506
|
+
"type": "string",
|
507
|
+
"maxLength": 1024
|
508
|
+
},
|
509
|
+
"type": {
|
510
|
+
"type": "string",
|
511
|
+
"enum": [
|
512
|
+
"direct"
|
513
|
+
]
|
514
|
+
},
|
515
|
+
"config": {
|
516
|
+
"type": "object",
|
517
|
+
"properties": {},
|
518
|
+
"additionalProperties": false
|
519
|
+
},
|
520
|
+
"meta": {
|
521
|
+
"type": "object",
|
522
|
+
"properties": {
|
523
|
+
"category": {
|
524
|
+
"type": "string",
|
525
|
+
"enum": [
|
526
|
+
"trigger"
|
527
|
+
]
|
528
|
+
},
|
529
|
+
"name": {
|
530
|
+
"type": "string",
|
531
|
+
"enum": [
|
532
|
+
"direct"
|
533
|
+
]
|
534
|
+
},
|
535
|
+
"label": {
|
536
|
+
"type": "string",
|
537
|
+
"minLength": 1,
|
485
538
|
"maxLength": 255
|
486
539
|
},
|
540
|
+
"x": {
|
541
|
+
"type": "number"
|
542
|
+
},
|
543
|
+
"y": {
|
544
|
+
"type": "number"
|
545
|
+
},
|
546
|
+
"uiId": {
|
547
|
+
"type": "string",
|
548
|
+
"maxLength": 48
|
549
|
+
},
|
550
|
+
"description": {
|
551
|
+
"type": "string",
|
552
|
+
"maxLength": 32767
|
553
|
+
},
|
554
|
+
"icon": {
|
555
|
+
"type": "string",
|
556
|
+
"maxLength": 1024
|
557
|
+
},
|
558
|
+
"color": {
|
559
|
+
"type": "string",
|
560
|
+
"maxLength": 1024
|
561
|
+
},
|
562
|
+
"inputCount": {
|
563
|
+
"type": "number"
|
564
|
+
},
|
565
|
+
"outputCount": {
|
566
|
+
"type": "number"
|
567
|
+
},
|
568
|
+
"id": {
|
569
|
+
"type": "string",
|
570
|
+
"maxLength": 48
|
571
|
+
}
|
572
|
+
},
|
573
|
+
"additionalProperties": false
|
574
|
+
},
|
575
|
+
"outputIds": {
|
576
|
+
"type": "array",
|
577
|
+
"items": {
|
578
|
+
"type": "array",
|
579
|
+
"items": {
|
580
|
+
"type": "string",
|
581
|
+
"maxLength": 48,
|
582
|
+
"minLength": 1
|
583
|
+
},
|
487
584
|
"maxItems": 100
|
488
585
|
},
|
489
586
|
"maxItems": 100
|
@@ -579,7 +676,8 @@
|
|
579
676
|
"type": "array",
|
580
677
|
"items": {
|
581
678
|
"type": "string",
|
582
|
-
"maxLength":
|
679
|
+
"maxLength": 48,
|
680
|
+
"minLength": 1
|
583
681
|
},
|
584
682
|
"maxItems": 100
|
585
683
|
},
|
@@ -684,7 +782,8 @@
|
|
684
782
|
"type": "array",
|
685
783
|
"items": {
|
686
784
|
"type": "string",
|
687
|
-
"maxLength":
|
785
|
+
"maxLength": 48,
|
786
|
+
"minLength": 1
|
688
787
|
},
|
689
788
|
"maxItems": 100
|
690
789
|
},
|
@@ -792,7 +891,8 @@
|
|
792
891
|
"type": "array",
|
793
892
|
"items": {
|
794
893
|
"type": "string",
|
795
|
-
"maxLength":
|
894
|
+
"maxLength": 48,
|
895
|
+
"minLength": 1
|
796
896
|
},
|
797
897
|
"maxItems": 100
|
798
898
|
},
|
@@ -903,7 +1003,8 @@
|
|
903
1003
|
"type": "array",
|
904
1004
|
"items": {
|
905
1005
|
"type": "string",
|
906
|
-
"maxLength":
|
1006
|
+
"maxLength": 48,
|
1007
|
+
"minLength": 1
|
907
1008
|
},
|
908
1009
|
"maxItems": 100
|
909
1010
|
},
|
@@ -1004,7 +1105,8 @@
|
|
1004
1105
|
"type": "array",
|
1005
1106
|
"items": {
|
1006
1107
|
"type": "string",
|
1007
|
-
"maxLength":
|
1108
|
+
"maxLength": 48,
|
1109
|
+
"minLength": 1
|
1008
1110
|
},
|
1009
1111
|
"maxItems": 100
|
1010
1112
|
},
|
@@ -1107,7 +1209,8 @@
|
|
1107
1209
|
"type": "array",
|
1108
1210
|
"items": {
|
1109
1211
|
"type": "string",
|
1110
|
-
"maxLength":
|
1212
|
+
"maxLength": 48,
|
1213
|
+
"minLength": 1
|
1111
1214
|
},
|
1112
1215
|
"maxItems": 100
|
1113
1216
|
},
|
@@ -1247,7 +1350,8 @@
|
|
1247
1350
|
"type": "array",
|
1248
1351
|
"items": {
|
1249
1352
|
"type": "string",
|
1250
|
-
"maxLength":
|
1353
|
+
"maxLength": 48,
|
1354
|
+
"minLength": 1
|
1251
1355
|
},
|
1252
1356
|
"maxItems": 100
|
1253
1357
|
},
|
@@ -1370,7 +1474,8 @@
|
|
1370
1474
|
"type": "array",
|
1371
1475
|
"items": {
|
1372
1476
|
"type": "string",
|
1373
|
-
"maxLength":
|
1477
|
+
"maxLength": 48,
|
1478
|
+
"minLength": 1
|
1374
1479
|
},
|
1375
1480
|
"maxItems": 100
|
1376
1481
|
},
|
@@ -1482,7 +1587,8 @@
|
|
1482
1587
|
"type": "array",
|
1483
1588
|
"items": {
|
1484
1589
|
"type": "string",
|
1485
|
-
"maxLength":
|
1590
|
+
"maxLength": 48,
|
1591
|
+
"minLength": 1
|
1486
1592
|
},
|
1487
1593
|
"maxItems": 100
|
1488
1594
|
},
|
@@ -1625,7 +1731,8 @@
|
|
1625
1731
|
"type": "array",
|
1626
1732
|
"items": {
|
1627
1733
|
"type": "string",
|
1628
|
-
"maxLength":
|
1734
|
+
"maxLength": 48,
|
1735
|
+
"minLength": 1
|
1629
1736
|
},
|
1630
1737
|
"maxItems": 100
|
1631
1738
|
},
|
@@ -1751,7 +1858,8 @@
|
|
1751
1858
|
"type": "array",
|
1752
1859
|
"items": {
|
1753
1860
|
"type": "string",
|
1754
|
-
"maxLength":
|
1861
|
+
"maxLength": 48,
|
1862
|
+
"minLength": 1
|
1755
1863
|
},
|
1756
1864
|
"maxItems": 100
|
1757
1865
|
},
|
@@ -1866,7 +1974,8 @@
|
|
1866
1974
|
"type": "array",
|
1867
1975
|
"items": {
|
1868
1976
|
"type": "string",
|
1869
|
-
"maxLength":
|
1977
|
+
"maxLength": 48,
|
1978
|
+
"minLength": 1
|
1870
1979
|
},
|
1871
1980
|
"maxItems": 100
|
1872
1981
|
},
|
@@ -1907,7 +2016,8 @@
|
|
1907
2016
|
"type": "array",
|
1908
2017
|
"items": {
|
1909
2018
|
"type": "string",
|
1910
|
-
"maxLength":
|
2019
|
+
"maxLength": 48,
|
2020
|
+
"minLength": 1
|
1911
2021
|
},
|
1912
2022
|
"maxItems": 100
|
1913
2023
|
},
|
@@ -1948,6 +2058,7 @@
|
|
1948
2058
|
"enum": [
|
1949
2059
|
"cloud",
|
1950
2060
|
"edge",
|
2061
|
+
"embedded",
|
1951
2062
|
"experience",
|
1952
2063
|
"customNode"
|
1953
2064
|
]
|