losant_rest 1.20.0 → 1.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +139 -13
- data/docs/_schemas.md +7585 -2999
- data/docs/instanceNotificationRule.md +219 -0
- data/docs/instanceNotificationRules.md +91 -0
- data/lib/platform_rest/client.rb +10 -2
- data/lib/platform_rest/instance_notification_rule.rb +275 -0
- data/lib/platform_rest/instance_notification_rules.rb +136 -0
- data/lib/platform_rest/version.rb +1 -1
- data/lib/platform_rest.rb +2 -0
- data/schemas/apiTokenPost.json +9 -0
- data/schemas/applicationDashboardPost.json +94 -8
- data/schemas/applicationSearchResult.json +46 -6
- data/schemas/credentialLinkedResources.json +426 -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/experienceEndpoint.json +6 -1
- data/schemas/experienceEndpointPatch.json +6 -1
- data/schemas/experienceEndpointPost.json +6 -1
- data/schemas/experienceEndpoints.json +6 -1
- data/schemas/experienceLinkedResources.json +432 -1
- data/schemas/flow.json +142 -0
- data/schemas/flowPatch.json +142 -0
- data/schemas/flowPost.json +142 -0
- data/schemas/flowVersion.json +284 -0
- data/schemas/flowVersionPost.json +142 -0
- data/schemas/flowVersions.json +284 -0
- data/schemas/flows.json +142 -0
- data/schemas/flowsImportPost.json +284 -0
- data/schemas/flowsImportResult.json +426 -0
- data/schemas/githubLogin.json +9 -0
- data/schemas/instance.json +9 -0
- data/schemas/instanceAuditLog.json +2 -1
- data/schemas/instanceAuditLogFilter.json +2 -1
- data/schemas/instanceOrg.json +4 -0
- data/schemas/instanceOrgs.json +4 -0
- data/schemas/instances.json +9 -0
- data/schemas/notificationRule.json +161 -0
- data/schemas/notificationRuleDeliveryLogs.json +123 -0
- data/schemas/notificationRuleEvaluationOptions.json +10 -0
- data/schemas/notificationRulePatch.json +128 -0
- data/schemas/notificationRulePost.json +140 -0
- data/schemas/notificationRules.json +212 -0
- data/schemas/samlResponse.json +9 -0
- data/schemas/userCredentials.json +9 -0
- data/schemas/userPost.json +9 -0
- metadata +12 -2
data/schemas/dashboard.json
CHANGED
@@ -509,6 +509,10 @@
|
|
509
509
|
"additionalProperties": false
|
510
510
|
}
|
511
511
|
},
|
512
|
+
"query": {
|
513
|
+
"type": "string",
|
514
|
+
"maxLength": 32767
|
515
|
+
},
|
512
516
|
"label": {
|
513
517
|
"type": "string",
|
514
518
|
"maxLength": 255
|
@@ -769,6 +773,10 @@
|
|
769
773
|
"additionalProperties": false
|
770
774
|
}
|
771
775
|
},
|
776
|
+
"query": {
|
777
|
+
"type": "string",
|
778
|
+
"maxLength": 32767
|
779
|
+
},
|
772
780
|
"duration": {
|
773
781
|
"oneOf": [
|
774
782
|
{
|
@@ -952,6 +960,10 @@
|
|
952
960
|
"additionalProperties": false
|
953
961
|
}
|
954
962
|
},
|
963
|
+
"query": {
|
964
|
+
"type": "string",
|
965
|
+
"maxLength": 32767
|
966
|
+
},
|
955
967
|
"duration": {
|
956
968
|
"oneOf": [
|
957
969
|
{
|
@@ -1694,6 +1706,32 @@
|
|
1694
1706
|
"maxLength": 255
|
1695
1707
|
}
|
1696
1708
|
},
|
1709
|
+
"deviceTags": {
|
1710
|
+
"type": "array",
|
1711
|
+
"maxItems": 100,
|
1712
|
+
"items": {
|
1713
|
+
"type": "object",
|
1714
|
+
"properties": {
|
1715
|
+
"key": {
|
1716
|
+
"type": "string",
|
1717
|
+
"maxLength": 255
|
1718
|
+
},
|
1719
|
+
"value": {
|
1720
|
+
"type": "string",
|
1721
|
+
"maxLength": 255
|
1722
|
+
},
|
1723
|
+
"fromCtx": {
|
1724
|
+
"type": "string",
|
1725
|
+
"maxLength": 255
|
1726
|
+
}
|
1727
|
+
},
|
1728
|
+
"additionalProperties": false
|
1729
|
+
}
|
1730
|
+
},
|
1731
|
+
"query": {
|
1732
|
+
"type": "string",
|
1733
|
+
"maxLength": 32767
|
1734
|
+
},
|
1697
1735
|
"includeDeviceInfo": {
|
1698
1736
|
"type": "boolean"
|
1699
1737
|
}
|
@@ -1795,6 +1833,10 @@
|
|
1795
1833
|
"additionalProperties": false
|
1796
1834
|
}
|
1797
1835
|
},
|
1836
|
+
"query": {
|
1837
|
+
"type": "string",
|
1838
|
+
"maxLength": 32767
|
1839
|
+
},
|
1798
1840
|
"duration": {
|
1799
1841
|
"oneOf": [
|
1800
1842
|
{
|
@@ -2265,6 +2307,10 @@
|
|
2265
2307
|
"additionalProperties": false
|
2266
2308
|
}
|
2267
2309
|
},
|
2310
|
+
"query": {
|
2311
|
+
"type": "string",
|
2312
|
+
"maxLength": 32767
|
2313
|
+
},
|
2268
2314
|
"label": {
|
2269
2315
|
"type": "string",
|
2270
2316
|
"maxLength": 255
|
@@ -2656,6 +2702,10 @@
|
|
2656
2702
|
},
|
2657
2703
|
"additionalProperties": false
|
2658
2704
|
}
|
2705
|
+
},
|
2706
|
+
"query": {
|
2707
|
+
"type": "string",
|
2708
|
+
"maxLength": 32767
|
2659
2709
|
}
|
2660
2710
|
},
|
2661
2711
|
"additionalProperties": false
|
@@ -2843,6 +2893,10 @@
|
|
2843
2893
|
"additionalProperties": false
|
2844
2894
|
}
|
2845
2895
|
},
|
2896
|
+
"query": {
|
2897
|
+
"type": "string",
|
2898
|
+
"maxLength": 32767
|
2899
|
+
},
|
2846
2900
|
"duration": {
|
2847
2901
|
"oneOf": [
|
2848
2902
|
{
|
@@ -2877,10 +2931,6 @@
|
|
2877
2931
|
"normal",
|
2878
2932
|
"satellite"
|
2879
2933
|
]
|
2880
|
-
},
|
2881
|
-
"query": {
|
2882
|
-
"type": "string",
|
2883
|
-
"maxLength": 32767
|
2884
2934
|
}
|
2885
2935
|
},
|
2886
2936
|
"additionalProperties": false
|
@@ -3245,6 +3295,10 @@
|
|
3245
3295
|
"additionalProperties": false
|
3246
3296
|
}
|
3247
3297
|
},
|
3298
|
+
"query": {
|
3299
|
+
"type": "string",
|
3300
|
+
"maxLength": 32767
|
3301
|
+
},
|
3248
3302
|
"duration": {
|
3249
3303
|
"oneOf": [
|
3250
3304
|
{
|
@@ -3873,6 +3927,10 @@
|
|
3873
3927
|
"additionalProperties": false
|
3874
3928
|
}
|
3875
3929
|
},
|
3930
|
+
"query": {
|
3931
|
+
"type": "string",
|
3932
|
+
"maxLength": 32767
|
3933
|
+
},
|
3876
3934
|
"label": {
|
3877
3935
|
"type": "string",
|
3878
3936
|
"maxLength": 255
|
@@ -4225,6 +4283,10 @@
|
|
4225
4283
|
},
|
4226
4284
|
"additionalProperties": false
|
4227
4285
|
}
|
4286
|
+
},
|
4287
|
+
"query": {
|
4288
|
+
"type": "string",
|
4289
|
+
"maxLength": 32767
|
4228
4290
|
}
|
4229
4291
|
},
|
4230
4292
|
"additionalProperties": false
|
@@ -4459,6 +4521,10 @@
|
|
4459
4521
|
},
|
4460
4522
|
"additionalProperties": false
|
4461
4523
|
}
|
4524
|
+
},
|
4525
|
+
"query": {
|
4526
|
+
"type": "string",
|
4527
|
+
"maxLength": 32767
|
4462
4528
|
}
|
4463
4529
|
},
|
4464
4530
|
"additionalProperties": false
|
@@ -4651,6 +4717,10 @@
|
|
4651
4717
|
},
|
4652
4718
|
"additionalProperties": false
|
4653
4719
|
}
|
4720
|
+
},
|
4721
|
+
"query": {
|
4722
|
+
"type": "string",
|
4723
|
+
"maxLength": 32767
|
4654
4724
|
}
|
4655
4725
|
},
|
4656
4726
|
"additionalProperties": false
|
@@ -4841,6 +4911,10 @@
|
|
4841
4911
|
},
|
4842
4912
|
"additionalProperties": false
|
4843
4913
|
}
|
4914
|
+
},
|
4915
|
+
"query": {
|
4916
|
+
"type": "string",
|
4917
|
+
"maxLength": 32767
|
4844
4918
|
}
|
4845
4919
|
},
|
4846
4920
|
"additionalProperties": false
|
@@ -5011,6 +5085,10 @@
|
|
5011
5085
|
"additionalProperties": false
|
5012
5086
|
}
|
5013
5087
|
},
|
5088
|
+
"query": {
|
5089
|
+
"type": "string",
|
5090
|
+
"maxLength": 32767
|
5091
|
+
},
|
5014
5092
|
"commandName": {
|
5015
5093
|
"type": "string",
|
5016
5094
|
"maxLength": 255
|
@@ -5153,6 +5231,10 @@
|
|
5153
5231
|
"additionalProperties": false
|
5154
5232
|
}
|
5155
5233
|
},
|
5234
|
+
"query": {
|
5235
|
+
"type": "string",
|
5236
|
+
"maxLength": 32767
|
5237
|
+
},
|
5156
5238
|
"duration": {
|
5157
5239
|
"oneOf": [
|
5158
5240
|
{
|
@@ -5213,10 +5295,6 @@
|
|
5213
5295
|
"type": "string",
|
5214
5296
|
"maxLength": 32767
|
5215
5297
|
},
|
5216
|
-
"query": {
|
5217
|
-
"type": "string",
|
5218
|
-
"maxLength": 32767
|
5219
|
-
},
|
5220
5298
|
"resizedPins": {
|
5221
5299
|
"type": "boolean"
|
5222
5300
|
},
|
@@ -5529,6 +5607,10 @@
|
|
5529
5607
|
"additionalProperties": false
|
5530
5608
|
}
|
5531
5609
|
},
|
5610
|
+
"query": {
|
5611
|
+
"type": "string",
|
5612
|
+
"maxLength": 32767
|
5613
|
+
},
|
5532
5614
|
"label": {
|
5533
5615
|
"type": "string",
|
5534
5616
|
"maxLength": 255
|
@@ -5689,6 +5771,10 @@
|
|
5689
5771
|
"additionalProperties": false
|
5690
5772
|
}
|
5691
5773
|
},
|
5774
|
+
"query": {
|
5775
|
+
"type": "string",
|
5776
|
+
"maxLength": 32767
|
5777
|
+
},
|
5692
5778
|
"duration": {
|
5693
5779
|
"oneOf": [
|
5694
5780
|
{
|
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
|
{
|