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.
@@ -27,7 +27,7 @@ module PlatformRest
27
27
  #
28
28
  # User API for accessing platform data
29
29
  #
30
- # Built For Version 1.26.9
30
+ # Built For Version 1.26.11
31
31
  class Client
32
32
  attr_accessor :auth_token, :url
33
33
 
@@ -398,7 +398,7 @@ module PlatformRest
398
398
 
399
399
  headers["Accept"] = "application/json"
400
400
  headers["Content-Type"] = "application/json"
401
- headers["Accept-Version"] = "^1.26.9"
401
+ headers["Accept-Version"] = "^1.26.11"
402
402
  headers["Authorization"] = "Bearer #{self.auth_token}" if self.auth_token
403
403
  path = self.url + options.fetch(:path, "")
404
404
 
@@ -21,5 +21,5 @@
21
21
  # SOFTWARE.
22
22
 
23
23
  module PlatformRest
24
- VERSION = "1.20.0"
24
+ VERSION = "1.20.1"
25
25
  end
@@ -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
  {