losant_rest 1.20.0 → 1.20.1
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 +3387 -197
- data/lib/platform_rest/client.rb +2 -2
- data/lib/platform_rest/version.rb +1 -1
- data/schemas/applicationDashboardPost.json +94 -8
- data/schemas/credentialLinkedResources.json +414 -0
- data/schemas/dashboard.json +94 -8
- data/schemas/dashboardPatch.json +94 -8
- data/schemas/dashboardPost.json +94 -8
- data/schemas/dashboards.json +94 -8
- data/schemas/experienceLinkedResources.json +414 -0
- data/schemas/flow.json +138 -0
- data/schemas/flowPatch.json +138 -0
- data/schemas/flowPost.json +138 -0
- data/schemas/flowVersion.json +276 -0
- data/schemas/flowVersionPost.json +138 -0
- data/schemas/flowVersions.json +276 -0
- data/schemas/flows.json +138 -0
- data/schemas/flowsImportPost.json +276 -0
- data/schemas/flowsImportResult.json +414 -0
- metadata +2 -2
data/schemas/dashboardPatch.json
CHANGED
@@ -303,6 +303,10 @@
|
|
303
303
|
"additionalProperties": false
|
304
304
|
}
|
305
305
|
},
|
306
|
+
"query": {
|
307
|
+
"type": "string",
|
308
|
+
"maxLength": 32767
|
309
|
+
},
|
306
310
|
"label": {
|
307
311
|
"type": "string",
|
308
312
|
"maxLength": 255
|
@@ -563,6 +567,10 @@
|
|
563
567
|
"additionalProperties": false
|
564
568
|
}
|
565
569
|
},
|
570
|
+
"query": {
|
571
|
+
"type": "string",
|
572
|
+
"maxLength": 32767
|
573
|
+
},
|
566
574
|
"duration": {
|
567
575
|
"oneOf": [
|
568
576
|
{
|
@@ -746,6 +754,10 @@
|
|
746
754
|
"additionalProperties": false
|
747
755
|
}
|
748
756
|
},
|
757
|
+
"query": {
|
758
|
+
"type": "string",
|
759
|
+
"maxLength": 32767
|
760
|
+
},
|
749
761
|
"duration": {
|
750
762
|
"oneOf": [
|
751
763
|
{
|
@@ -1488,6 +1500,32 @@
|
|
1488
1500
|
"maxLength": 255
|
1489
1501
|
}
|
1490
1502
|
},
|
1503
|
+
"deviceTags": {
|
1504
|
+
"type": "array",
|
1505
|
+
"maxItems": 100,
|
1506
|
+
"items": {
|
1507
|
+
"type": "object",
|
1508
|
+
"properties": {
|
1509
|
+
"key": {
|
1510
|
+
"type": "string",
|
1511
|
+
"maxLength": 255
|
1512
|
+
},
|
1513
|
+
"value": {
|
1514
|
+
"type": "string",
|
1515
|
+
"maxLength": 255
|
1516
|
+
},
|
1517
|
+
"fromCtx": {
|
1518
|
+
"type": "string",
|
1519
|
+
"maxLength": 255
|
1520
|
+
}
|
1521
|
+
},
|
1522
|
+
"additionalProperties": false
|
1523
|
+
}
|
1524
|
+
},
|
1525
|
+
"query": {
|
1526
|
+
"type": "string",
|
1527
|
+
"maxLength": 32767
|
1528
|
+
},
|
1491
1529
|
"includeDeviceInfo": {
|
1492
1530
|
"type": "boolean"
|
1493
1531
|
}
|
@@ -1589,6 +1627,10 @@
|
|
1589
1627
|
"additionalProperties": false
|
1590
1628
|
}
|
1591
1629
|
},
|
1630
|
+
"query": {
|
1631
|
+
"type": "string",
|
1632
|
+
"maxLength": 32767
|
1633
|
+
},
|
1592
1634
|
"duration": {
|
1593
1635
|
"oneOf": [
|
1594
1636
|
{
|
@@ -2059,6 +2101,10 @@
|
|
2059
2101
|
"additionalProperties": false
|
2060
2102
|
}
|
2061
2103
|
},
|
2104
|
+
"query": {
|
2105
|
+
"type": "string",
|
2106
|
+
"maxLength": 32767
|
2107
|
+
},
|
2062
2108
|
"label": {
|
2063
2109
|
"type": "string",
|
2064
2110
|
"maxLength": 255
|
@@ -2450,6 +2496,10 @@
|
|
2450
2496
|
},
|
2451
2497
|
"additionalProperties": false
|
2452
2498
|
}
|
2499
|
+
},
|
2500
|
+
"query": {
|
2501
|
+
"type": "string",
|
2502
|
+
"maxLength": 32767
|
2453
2503
|
}
|
2454
2504
|
},
|
2455
2505
|
"additionalProperties": false
|
@@ -2637,6 +2687,10 @@
|
|
2637
2687
|
"additionalProperties": false
|
2638
2688
|
}
|
2639
2689
|
},
|
2690
|
+
"query": {
|
2691
|
+
"type": "string",
|
2692
|
+
"maxLength": 32767
|
2693
|
+
},
|
2640
2694
|
"duration": {
|
2641
2695
|
"oneOf": [
|
2642
2696
|
{
|
@@ -2671,10 +2725,6 @@
|
|
2671
2725
|
"normal",
|
2672
2726
|
"satellite"
|
2673
2727
|
]
|
2674
|
-
},
|
2675
|
-
"query": {
|
2676
|
-
"type": "string",
|
2677
|
-
"maxLength": 32767
|
2678
2728
|
}
|
2679
2729
|
},
|
2680
2730
|
"additionalProperties": false
|
@@ -3039,6 +3089,10 @@
|
|
3039
3089
|
"additionalProperties": false
|
3040
3090
|
}
|
3041
3091
|
},
|
3092
|
+
"query": {
|
3093
|
+
"type": "string",
|
3094
|
+
"maxLength": 32767
|
3095
|
+
},
|
3042
3096
|
"duration": {
|
3043
3097
|
"oneOf": [
|
3044
3098
|
{
|
@@ -3667,6 +3721,10 @@
|
|
3667
3721
|
"additionalProperties": false
|
3668
3722
|
}
|
3669
3723
|
},
|
3724
|
+
"query": {
|
3725
|
+
"type": "string",
|
3726
|
+
"maxLength": 32767
|
3727
|
+
},
|
3670
3728
|
"label": {
|
3671
3729
|
"type": "string",
|
3672
3730
|
"maxLength": 255
|
@@ -4019,6 +4077,10 @@
|
|
4019
4077
|
},
|
4020
4078
|
"additionalProperties": false
|
4021
4079
|
}
|
4080
|
+
},
|
4081
|
+
"query": {
|
4082
|
+
"type": "string",
|
4083
|
+
"maxLength": 32767
|
4022
4084
|
}
|
4023
4085
|
},
|
4024
4086
|
"additionalProperties": false
|
@@ -4253,6 +4315,10 @@
|
|
4253
4315
|
},
|
4254
4316
|
"additionalProperties": false
|
4255
4317
|
}
|
4318
|
+
},
|
4319
|
+
"query": {
|
4320
|
+
"type": "string",
|
4321
|
+
"maxLength": 32767
|
4256
4322
|
}
|
4257
4323
|
},
|
4258
4324
|
"additionalProperties": false
|
@@ -4445,6 +4511,10 @@
|
|
4445
4511
|
},
|
4446
4512
|
"additionalProperties": false
|
4447
4513
|
}
|
4514
|
+
},
|
4515
|
+
"query": {
|
4516
|
+
"type": "string",
|
4517
|
+
"maxLength": 32767
|
4448
4518
|
}
|
4449
4519
|
},
|
4450
4520
|
"additionalProperties": false
|
@@ -4635,6 +4705,10 @@
|
|
4635
4705
|
},
|
4636
4706
|
"additionalProperties": false
|
4637
4707
|
}
|
4708
|
+
},
|
4709
|
+
"query": {
|
4710
|
+
"type": "string",
|
4711
|
+
"maxLength": 32767
|
4638
4712
|
}
|
4639
4713
|
},
|
4640
4714
|
"additionalProperties": false
|
@@ -4805,6 +4879,10 @@
|
|
4805
4879
|
"additionalProperties": false
|
4806
4880
|
}
|
4807
4881
|
},
|
4882
|
+
"query": {
|
4883
|
+
"type": "string",
|
4884
|
+
"maxLength": 32767
|
4885
|
+
},
|
4808
4886
|
"commandName": {
|
4809
4887
|
"type": "string",
|
4810
4888
|
"maxLength": 255
|
@@ -4947,6 +5025,10 @@
|
|
4947
5025
|
"additionalProperties": false
|
4948
5026
|
}
|
4949
5027
|
},
|
5028
|
+
"query": {
|
5029
|
+
"type": "string",
|
5030
|
+
"maxLength": 32767
|
5031
|
+
},
|
4950
5032
|
"duration": {
|
4951
5033
|
"oneOf": [
|
4952
5034
|
{
|
@@ -5007,10 +5089,6 @@
|
|
5007
5089
|
"type": "string",
|
5008
5090
|
"maxLength": 32767
|
5009
5091
|
},
|
5010
|
-
"query": {
|
5011
|
-
"type": "string",
|
5012
|
-
"maxLength": 32767
|
5013
|
-
},
|
5014
5092
|
"resizedPins": {
|
5015
5093
|
"type": "boolean"
|
5016
5094
|
},
|
@@ -5323,6 +5401,10 @@
|
|
5323
5401
|
"additionalProperties": false
|
5324
5402
|
}
|
5325
5403
|
},
|
5404
|
+
"query": {
|
5405
|
+
"type": "string",
|
5406
|
+
"maxLength": 32767
|
5407
|
+
},
|
5326
5408
|
"label": {
|
5327
5409
|
"type": "string",
|
5328
5410
|
"maxLength": 255
|
@@ -5483,6 +5565,10 @@
|
|
5483
5565
|
"additionalProperties": false
|
5484
5566
|
}
|
5485
5567
|
},
|
5568
|
+
"query": {
|
5569
|
+
"type": "string",
|
5570
|
+
"maxLength": 32767
|
5571
|
+
},
|
5486
5572
|
"duration": {
|
5487
5573
|
"oneOf": [
|
5488
5574
|
{
|
data/schemas/dashboardPost.json
CHANGED
@@ -311,6 +311,10 @@
|
|
311
311
|
"additionalProperties": false
|
312
312
|
}
|
313
313
|
},
|
314
|
+
"query": {
|
315
|
+
"type": "string",
|
316
|
+
"maxLength": 32767
|
317
|
+
},
|
314
318
|
"label": {
|
315
319
|
"type": "string",
|
316
320
|
"maxLength": 255
|
@@ -571,6 +575,10 @@
|
|
571
575
|
"additionalProperties": false
|
572
576
|
}
|
573
577
|
},
|
578
|
+
"query": {
|
579
|
+
"type": "string",
|
580
|
+
"maxLength": 32767
|
581
|
+
},
|
574
582
|
"duration": {
|
575
583
|
"oneOf": [
|
576
584
|
{
|
@@ -754,6 +762,10 @@
|
|
754
762
|
"additionalProperties": false
|
755
763
|
}
|
756
764
|
},
|
765
|
+
"query": {
|
766
|
+
"type": "string",
|
767
|
+
"maxLength": 32767
|
768
|
+
},
|
757
769
|
"duration": {
|
758
770
|
"oneOf": [
|
759
771
|
{
|
@@ -1496,6 +1508,32 @@
|
|
1496
1508
|
"maxLength": 255
|
1497
1509
|
}
|
1498
1510
|
},
|
1511
|
+
"deviceTags": {
|
1512
|
+
"type": "array",
|
1513
|
+
"maxItems": 100,
|
1514
|
+
"items": {
|
1515
|
+
"type": "object",
|
1516
|
+
"properties": {
|
1517
|
+
"key": {
|
1518
|
+
"type": "string",
|
1519
|
+
"maxLength": 255
|
1520
|
+
},
|
1521
|
+
"value": {
|
1522
|
+
"type": "string",
|
1523
|
+
"maxLength": 255
|
1524
|
+
},
|
1525
|
+
"fromCtx": {
|
1526
|
+
"type": "string",
|
1527
|
+
"maxLength": 255
|
1528
|
+
}
|
1529
|
+
},
|
1530
|
+
"additionalProperties": false
|
1531
|
+
}
|
1532
|
+
},
|
1533
|
+
"query": {
|
1534
|
+
"type": "string",
|
1535
|
+
"maxLength": 32767
|
1536
|
+
},
|
1499
1537
|
"includeDeviceInfo": {
|
1500
1538
|
"type": "boolean"
|
1501
1539
|
}
|
@@ -1597,6 +1635,10 @@
|
|
1597
1635
|
"additionalProperties": false
|
1598
1636
|
}
|
1599
1637
|
},
|
1638
|
+
"query": {
|
1639
|
+
"type": "string",
|
1640
|
+
"maxLength": 32767
|
1641
|
+
},
|
1600
1642
|
"duration": {
|
1601
1643
|
"oneOf": [
|
1602
1644
|
{
|
@@ -2067,6 +2109,10 @@
|
|
2067
2109
|
"additionalProperties": false
|
2068
2110
|
}
|
2069
2111
|
},
|
2112
|
+
"query": {
|
2113
|
+
"type": "string",
|
2114
|
+
"maxLength": 32767
|
2115
|
+
},
|
2070
2116
|
"label": {
|
2071
2117
|
"type": "string",
|
2072
2118
|
"maxLength": 255
|
@@ -2458,6 +2504,10 @@
|
|
2458
2504
|
},
|
2459
2505
|
"additionalProperties": false
|
2460
2506
|
}
|
2507
|
+
},
|
2508
|
+
"query": {
|
2509
|
+
"type": "string",
|
2510
|
+
"maxLength": 32767
|
2461
2511
|
}
|
2462
2512
|
},
|
2463
2513
|
"additionalProperties": false
|
@@ -2645,6 +2695,10 @@
|
|
2645
2695
|
"additionalProperties": false
|
2646
2696
|
}
|
2647
2697
|
},
|
2698
|
+
"query": {
|
2699
|
+
"type": "string",
|
2700
|
+
"maxLength": 32767
|
2701
|
+
},
|
2648
2702
|
"duration": {
|
2649
2703
|
"oneOf": [
|
2650
2704
|
{
|
@@ -2679,10 +2733,6 @@
|
|
2679
2733
|
"normal",
|
2680
2734
|
"satellite"
|
2681
2735
|
]
|
2682
|
-
},
|
2683
|
-
"query": {
|
2684
|
-
"type": "string",
|
2685
|
-
"maxLength": 32767
|
2686
2736
|
}
|
2687
2737
|
},
|
2688
2738
|
"additionalProperties": false
|
@@ -3047,6 +3097,10 @@
|
|
3047
3097
|
"additionalProperties": false
|
3048
3098
|
}
|
3049
3099
|
},
|
3100
|
+
"query": {
|
3101
|
+
"type": "string",
|
3102
|
+
"maxLength": 32767
|
3103
|
+
},
|
3050
3104
|
"duration": {
|
3051
3105
|
"oneOf": [
|
3052
3106
|
{
|
@@ -3675,6 +3729,10 @@
|
|
3675
3729
|
"additionalProperties": false
|
3676
3730
|
}
|
3677
3731
|
},
|
3732
|
+
"query": {
|
3733
|
+
"type": "string",
|
3734
|
+
"maxLength": 32767
|
3735
|
+
},
|
3678
3736
|
"label": {
|
3679
3737
|
"type": "string",
|
3680
3738
|
"maxLength": 255
|
@@ -4027,6 +4085,10 @@
|
|
4027
4085
|
},
|
4028
4086
|
"additionalProperties": false
|
4029
4087
|
}
|
4088
|
+
},
|
4089
|
+
"query": {
|
4090
|
+
"type": "string",
|
4091
|
+
"maxLength": 32767
|
4030
4092
|
}
|
4031
4093
|
},
|
4032
4094
|
"additionalProperties": false
|
@@ -4261,6 +4323,10 @@
|
|
4261
4323
|
},
|
4262
4324
|
"additionalProperties": false
|
4263
4325
|
}
|
4326
|
+
},
|
4327
|
+
"query": {
|
4328
|
+
"type": "string",
|
4329
|
+
"maxLength": 32767
|
4264
4330
|
}
|
4265
4331
|
},
|
4266
4332
|
"additionalProperties": false
|
@@ -4453,6 +4519,10 @@
|
|
4453
4519
|
},
|
4454
4520
|
"additionalProperties": false
|
4455
4521
|
}
|
4522
|
+
},
|
4523
|
+
"query": {
|
4524
|
+
"type": "string",
|
4525
|
+
"maxLength": 32767
|
4456
4526
|
}
|
4457
4527
|
},
|
4458
4528
|
"additionalProperties": false
|
@@ -4643,6 +4713,10 @@
|
|
4643
4713
|
},
|
4644
4714
|
"additionalProperties": false
|
4645
4715
|
}
|
4716
|
+
},
|
4717
|
+
"query": {
|
4718
|
+
"type": "string",
|
4719
|
+
"maxLength": 32767
|
4646
4720
|
}
|
4647
4721
|
},
|
4648
4722
|
"additionalProperties": false
|
@@ -4813,6 +4887,10 @@
|
|
4813
4887
|
"additionalProperties": false
|
4814
4888
|
}
|
4815
4889
|
},
|
4890
|
+
"query": {
|
4891
|
+
"type": "string",
|
4892
|
+
"maxLength": 32767
|
4893
|
+
},
|
4816
4894
|
"commandName": {
|
4817
4895
|
"type": "string",
|
4818
4896
|
"maxLength": 255
|
@@ -4955,6 +5033,10 @@
|
|
4955
5033
|
"additionalProperties": false
|
4956
5034
|
}
|
4957
5035
|
},
|
5036
|
+
"query": {
|
5037
|
+
"type": "string",
|
5038
|
+
"maxLength": 32767
|
5039
|
+
},
|
4958
5040
|
"duration": {
|
4959
5041
|
"oneOf": [
|
4960
5042
|
{
|
@@ -5015,10 +5097,6 @@
|
|
5015
5097
|
"type": "string",
|
5016
5098
|
"maxLength": 32767
|
5017
5099
|
},
|
5018
|
-
"query": {
|
5019
|
-
"type": "string",
|
5020
|
-
"maxLength": 32767
|
5021
|
-
},
|
5022
5100
|
"resizedPins": {
|
5023
5101
|
"type": "boolean"
|
5024
5102
|
},
|
@@ -5331,6 +5409,10 @@
|
|
5331
5409
|
"additionalProperties": false
|
5332
5410
|
}
|
5333
5411
|
},
|
5412
|
+
"query": {
|
5413
|
+
"type": "string",
|
5414
|
+
"maxLength": 32767
|
5415
|
+
},
|
5334
5416
|
"label": {
|
5335
5417
|
"type": "string",
|
5336
5418
|
"maxLength": 255
|
@@ -5491,6 +5573,10 @@
|
|
5491
5573
|
"additionalProperties": false
|
5492
5574
|
}
|
5493
5575
|
},
|
5576
|
+
"query": {
|
5577
|
+
"type": "string",
|
5578
|
+
"maxLength": 32767
|
5579
|
+
},
|
5494
5580
|
"duration": {
|
5495
5581
|
"oneOf": [
|
5496
5582
|
{
|