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
@@ -63,6 +63,7 @@
|
|
63
63
|
"deviceCommand",
|
64
64
|
"deviceIdsTagsConnect",
|
65
65
|
"deviceIdsTagsDisconnect",
|
66
|
+
"eeaInit",
|
66
67
|
"flowError",
|
67
68
|
"googlePubSub",
|
68
69
|
"meridian",
|
@@ -126,7 +127,8 @@
|
|
126
127
|
"type": "array",
|
127
128
|
"items": {
|
128
129
|
"type": "string",
|
129
|
-
"maxLength":
|
130
|
+
"maxLength": 48,
|
131
|
+
"minLength": 1
|
130
132
|
},
|
131
133
|
"maxItems": 100
|
132
134
|
},
|
@@ -230,7 +232,8 @@
|
|
230
232
|
"type": "array",
|
231
233
|
"items": {
|
232
234
|
"type": "string",
|
233
|
-
"maxLength":
|
235
|
+
"maxLength": 48,
|
236
|
+
"minLength": 1
|
234
237
|
},
|
235
238
|
"maxItems": 100
|
236
239
|
},
|
@@ -374,7 +377,8 @@
|
|
374
377
|
"type": "array",
|
375
378
|
"items": {
|
376
379
|
"type": "string",
|
377
|
-
"maxLength":
|
380
|
+
"maxLength": 48,
|
381
|
+
"minLength": 1
|
378
382
|
},
|
379
383
|
"maxItems": 100
|
380
384
|
},
|
@@ -470,8 +474,101 @@
|
|
470
474
|
"type": "array",
|
471
475
|
"items": {
|
472
476
|
"type": "string",
|
477
|
+
"maxLength": 48,
|
478
|
+
"minLength": 1
|
479
|
+
},
|
480
|
+
"maxItems": 100
|
481
|
+
},
|
482
|
+
"maxItems": 100
|
483
|
+
}
|
484
|
+
},
|
485
|
+
"required": [
|
486
|
+
"type"
|
487
|
+
],
|
488
|
+
"additionalProperties": false
|
489
|
+
},
|
490
|
+
{
|
491
|
+
"type": "object",
|
492
|
+
"properties": {
|
493
|
+
"key": {
|
494
|
+
"type": "string",
|
495
|
+
"maxLength": 1024
|
496
|
+
},
|
497
|
+
"type": {
|
498
|
+
"type": "string",
|
499
|
+
"enum": [
|
500
|
+
"direct"
|
501
|
+
]
|
502
|
+
},
|
503
|
+
"config": {
|
504
|
+
"type": "object",
|
505
|
+
"properties": {},
|
506
|
+
"additionalProperties": false
|
507
|
+
},
|
508
|
+
"meta": {
|
509
|
+
"type": "object",
|
510
|
+
"properties": {
|
511
|
+
"category": {
|
512
|
+
"type": "string",
|
513
|
+
"enum": [
|
514
|
+
"trigger"
|
515
|
+
]
|
516
|
+
},
|
517
|
+
"name": {
|
518
|
+
"type": "string",
|
519
|
+
"enum": [
|
520
|
+
"direct"
|
521
|
+
]
|
522
|
+
},
|
523
|
+
"label": {
|
524
|
+
"type": "string",
|
525
|
+
"minLength": 1,
|
473
526
|
"maxLength": 255
|
474
527
|
},
|
528
|
+
"x": {
|
529
|
+
"type": "number"
|
530
|
+
},
|
531
|
+
"y": {
|
532
|
+
"type": "number"
|
533
|
+
},
|
534
|
+
"uiId": {
|
535
|
+
"type": "string",
|
536
|
+
"maxLength": 48
|
537
|
+
},
|
538
|
+
"description": {
|
539
|
+
"type": "string",
|
540
|
+
"maxLength": 32767
|
541
|
+
},
|
542
|
+
"icon": {
|
543
|
+
"type": "string",
|
544
|
+
"maxLength": 1024
|
545
|
+
},
|
546
|
+
"color": {
|
547
|
+
"type": "string",
|
548
|
+
"maxLength": 1024
|
549
|
+
},
|
550
|
+
"inputCount": {
|
551
|
+
"type": "number"
|
552
|
+
},
|
553
|
+
"outputCount": {
|
554
|
+
"type": "number"
|
555
|
+
},
|
556
|
+
"id": {
|
557
|
+
"type": "string",
|
558
|
+
"maxLength": 48
|
559
|
+
}
|
560
|
+
},
|
561
|
+
"additionalProperties": false
|
562
|
+
},
|
563
|
+
"outputIds": {
|
564
|
+
"type": "array",
|
565
|
+
"items": {
|
566
|
+
"type": "array",
|
567
|
+
"items": {
|
568
|
+
"type": "string",
|
569
|
+
"maxLength": 48,
|
570
|
+
"minLength": 1
|
571
|
+
},
|
475
572
|
"maxItems": 100
|
476
573
|
},
|
477
574
|
"maxItems": 100
|
@@ -567,7 +664,8 @@
|
|
567
664
|
"type": "array",
|
568
665
|
"items": {
|
569
666
|
"type": "string",
|
570
|
-
"maxLength":
|
667
|
+
"maxLength": 48,
|
668
|
+
"minLength": 1
|
571
669
|
},
|
572
670
|
"maxItems": 100
|
573
671
|
},
|
@@ -672,7 +770,8 @@
|
|
672
770
|
"type": "array",
|
673
771
|
"items": {
|
674
772
|
"type": "string",
|
675
|
-
"maxLength":
|
773
|
+
"maxLength": 48,
|
774
|
+
"minLength": 1
|
676
775
|
},
|
677
776
|
"maxItems": 100
|
678
777
|
},
|
@@ -780,7 +879,8 @@
|
|
780
879
|
"type": "array",
|
781
880
|
"items": {
|
782
881
|
"type": "string",
|
783
|
-
"maxLength":
|
882
|
+
"maxLength": 48,
|
883
|
+
"minLength": 1
|
784
884
|
},
|
785
885
|
"maxItems": 100
|
786
886
|
},
|
@@ -891,7 +991,8 @@
|
|
891
991
|
"type": "array",
|
892
992
|
"items": {
|
893
993
|
"type": "string",
|
894
|
-
"maxLength":
|
994
|
+
"maxLength": 48,
|
995
|
+
"minLength": 1
|
895
996
|
},
|
896
997
|
"maxItems": 100
|
897
998
|
},
|
@@ -992,7 +1093,8 @@
|
|
992
1093
|
"type": "array",
|
993
1094
|
"items": {
|
994
1095
|
"type": "string",
|
995
|
-
"maxLength":
|
1096
|
+
"maxLength": 48,
|
1097
|
+
"minLength": 1
|
996
1098
|
},
|
997
1099
|
"maxItems": 100
|
998
1100
|
},
|
@@ -1095,7 +1197,8 @@
|
|
1095
1197
|
"type": "array",
|
1096
1198
|
"items": {
|
1097
1199
|
"type": "string",
|
1098
|
-
"maxLength":
|
1200
|
+
"maxLength": 48,
|
1201
|
+
"minLength": 1
|
1099
1202
|
},
|
1100
1203
|
"maxItems": 100
|
1101
1204
|
},
|
@@ -1235,7 +1338,8 @@
|
|
1235
1338
|
"type": "array",
|
1236
1339
|
"items": {
|
1237
1340
|
"type": "string",
|
1238
|
-
"maxLength":
|
1341
|
+
"maxLength": 48,
|
1342
|
+
"minLength": 1
|
1239
1343
|
},
|
1240
1344
|
"maxItems": 100
|
1241
1345
|
},
|
@@ -1358,7 +1462,8 @@
|
|
1358
1462
|
"type": "array",
|
1359
1463
|
"items": {
|
1360
1464
|
"type": "string",
|
1361
|
-
"maxLength":
|
1465
|
+
"maxLength": 48,
|
1466
|
+
"minLength": 1
|
1362
1467
|
},
|
1363
1468
|
"maxItems": 100
|
1364
1469
|
},
|
@@ -1470,7 +1575,8 @@
|
|
1470
1575
|
"type": "array",
|
1471
1576
|
"items": {
|
1472
1577
|
"type": "string",
|
1473
|
-
"maxLength":
|
1578
|
+
"maxLength": 48,
|
1579
|
+
"minLength": 1
|
1474
1580
|
},
|
1475
1581
|
"maxItems": 100
|
1476
1582
|
},
|
@@ -1613,7 +1719,8 @@
|
|
1613
1719
|
"type": "array",
|
1614
1720
|
"items": {
|
1615
1721
|
"type": "string",
|
1616
|
-
"maxLength":
|
1722
|
+
"maxLength": 48,
|
1723
|
+
"minLength": 1
|
1617
1724
|
},
|
1618
1725
|
"maxItems": 100
|
1619
1726
|
},
|
@@ -1739,7 +1846,8 @@
|
|
1739
1846
|
"type": "array",
|
1740
1847
|
"items": {
|
1741
1848
|
"type": "string",
|
1742
|
-
"maxLength":
|
1849
|
+
"maxLength": 48,
|
1850
|
+
"minLength": 1
|
1743
1851
|
},
|
1744
1852
|
"maxItems": 100
|
1745
1853
|
},
|
@@ -1854,7 +1962,8 @@
|
|
1854
1962
|
"type": "array",
|
1855
1963
|
"items": {
|
1856
1964
|
"type": "string",
|
1857
|
-
"maxLength":
|
1965
|
+
"maxLength": 48,
|
1966
|
+
"minLength": 1
|
1858
1967
|
},
|
1859
1968
|
"maxItems": 100
|
1860
1969
|
},
|
@@ -1895,7 +2004,8 @@
|
|
1895
2004
|
"type": "array",
|
1896
2005
|
"items": {
|
1897
2006
|
"type": "string",
|
1898
|
-
"maxLength":
|
2007
|
+
"maxLength": 48,
|
2008
|
+
"minLength": 1
|
1899
2009
|
},
|
1900
2010
|
"maxItems": 100
|
1901
2011
|
},
|