losant_rest 1.23.3 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/docs/_schemas.md CHANGED
@@ -1751,6 +1751,9 @@ Schema for advanced application key queries
1751
1751
  "oneOf": [
1752
1752
  {
1753
1753
  "oneOf": [
1754
+ {
1755
+ "type": "null"
1756
+ },
1754
1757
  {
1755
1758
  "type": "object",
1756
1759
  "properties": {
@@ -1906,6 +1909,9 @@ Schema for advanced application key queries
1906
1909
  "properties": {
1907
1910
  "$eq": {
1908
1911
  "oneOf": [
1912
+ {
1913
+ "type": "null"
1914
+ },
1909
1915
  {
1910
1916
  "type": "object",
1911
1917
  "properties": {
@@ -2067,6 +2073,9 @@ Schema for advanced application key queries
2067
2073
  "properties": {
2068
2074
  "$ne": {
2069
2075
  "oneOf": [
2076
+ {
2077
+ "type": "null"
2078
+ },
2070
2079
  {
2071
2080
  "type": "object",
2072
2081
  "properties": {
@@ -4358,6 +4367,9 @@ Schema for advanced device queries
4358
4367
  "oneOf": [
4359
4368
  {
4360
4369
  "oneOf": [
4370
+ {
4371
+ "type": "null"
4372
+ },
4361
4373
  {
4362
4374
  "type": "object",
4363
4375
  "properties": {
@@ -4513,6 +4525,9 @@ Schema for advanced device queries
4513
4525
  "properties": {
4514
4526
  "$eq": {
4515
4527
  "oneOf": [
4528
+ {
4529
+ "type": "null"
4530
+ },
4516
4531
  {
4517
4532
  "type": "object",
4518
4533
  "properties": {
@@ -4674,6 +4689,9 @@ Schema for advanced device queries
4674
4689
  "properties": {
4675
4690
  "$ne": {
4676
4691
  "oneOf": [
4692
+ {
4693
+ "type": "null"
4694
+ },
4677
4695
  {
4678
4696
  "type": "object",
4679
4697
  "properties": {
@@ -6337,6 +6355,9 @@ Schema for advanced event queries
6337
6355
  "oneOf": [
6338
6356
  {
6339
6357
  "oneOf": [
6358
+ {
6359
+ "type": "null"
6360
+ },
6340
6361
  {
6341
6362
  "type": "object",
6342
6363
  "properties": {
@@ -6492,6 +6513,9 @@ Schema for advanced event queries
6492
6513
  "properties": {
6493
6514
  "$eq": {
6494
6515
  "oneOf": [
6516
+ {
6517
+ "type": "null"
6518
+ },
6495
6519
  {
6496
6520
  "type": "object",
6497
6521
  "properties": {
@@ -6653,6 +6677,9 @@ Schema for advanced event queries
6653
6677
  "properties": {
6654
6678
  "$ne": {
6655
6679
  "oneOf": [
6680
+ {
6681
+ "type": "null"
6682
+ },
6656
6683
  {
6657
6684
  "type": "object",
6658
6685
  "properties": {
@@ -7494,6 +7521,9 @@ Schema for advanced experience group queries
7494
7521
  "oneOf": [
7495
7522
  {
7496
7523
  "oneOf": [
7524
+ {
7525
+ "type": "null"
7526
+ },
7497
7527
  {
7498
7528
  "type": "object",
7499
7529
  "properties": {
@@ -7649,6 +7679,9 @@ Schema for advanced experience group queries
7649
7679
  "properties": {
7650
7680
  "$eq": {
7651
7681
  "oneOf": [
7682
+ {
7683
+ "type": "null"
7684
+ },
7652
7685
  {
7653
7686
  "type": "object",
7654
7687
  "properties": {
@@ -7810,6 +7843,9 @@ Schema for advanced experience group queries
7810
7843
  "properties": {
7811
7844
  "$ne": {
7812
7845
  "oneOf": [
7846
+ {
7847
+ "type": "null"
7848
+ },
7813
7849
  {
7814
7850
  "type": "object",
7815
7851
  "properties": {
@@ -9055,6 +9091,9 @@ Schema for advanced experience user queries
9055
9091
  "oneOf": [
9056
9092
  {
9057
9093
  "oneOf": [
9094
+ {
9095
+ "type": "null"
9096
+ },
9058
9097
  {
9059
9098
  "type": "object",
9060
9099
  "properties": {
@@ -9210,6 +9249,9 @@ Schema for advanced experience user queries
9210
9249
  "properties": {
9211
9250
  "$eq": {
9212
9251
  "oneOf": [
9252
+ {
9253
+ "type": "null"
9254
+ },
9213
9255
  {
9214
9256
  "type": "object",
9215
9257
  "properties": {
@@ -9371,6 +9413,9 @@ Schema for advanced experience user queries
9371
9413
  "properties": {
9372
9414
  "$ne": {
9373
9415
  "oneOf": [
9416
+ {
9417
+ "type": "null"
9418
+ },
9374
9419
  {
9375
9420
  "type": "object",
9376
9421
  "properties": {
@@ -13576,6 +13621,9 @@ Schema for advanced instance organization queries
13576
13621
  "oneOf": [
13577
13622
  {
13578
13623
  "oneOf": [
13624
+ {
13625
+ "type": "null"
13626
+ },
13579
13627
  {
13580
13628
  "type": "object",
13581
13629
  "properties": {
@@ -13731,6 +13779,9 @@ Schema for advanced instance organization queries
13731
13779
  "properties": {
13732
13780
  "$eq": {
13733
13781
  "oneOf": [
13782
+ {
13783
+ "type": "null"
13784
+ },
13734
13785
  {
13735
13786
  "type": "object",
13736
13787
  "properties": {
@@ -13892,6 +13943,9 @@ Schema for advanced instance organization queries
13892
13943
  "properties": {
13893
13944
  "$ne": {
13894
13945
  "oneOf": [
13946
+ {
13947
+ "type": "null"
13948
+ },
13895
13949
  {
13896
13950
  "type": "object",
13897
13951
  "properties": {
@@ -14689,7 +14743,6 @@ Schema for the body of an API Token creation request
14689
14743
  "devices.delete",
14690
14744
  "devices.restore",
14691
14745
  "devices.removeData",
14692
- "devices.detailedSummary",
14693
14746
  "devices.deviceNames",
14694
14747
  "devices.export",
14695
14748
  "devices.get",
@@ -16030,6 +16083,11 @@ Schema for a single Application Certificate
16030
16083
  }
16031
16084
  }
16032
16085
  },
16086
+ "certificate": {
16087
+ "type": "string",
16088
+ "maxLength": 32767,
16089
+ "minLength": 50
16090
+ },
16033
16091
  "filterType": {
16034
16092
  "oneOf": [
16035
16093
  {
@@ -16775,6 +16833,11 @@ Schema for a collection of Application Certificates
16775
16833
  }
16776
16834
  }
16777
16835
  },
16836
+ "certificate": {
16837
+ "type": "string",
16838
+ "maxLength": 32767,
16839
+ "minLength": 50
16840
+ },
16778
16841
  "filterType": {
16779
16842
  "oneOf": [
16780
16843
  {
@@ -29170,7 +29233,8 @@ Schema for a single Credential
29170
29233
  "mailgun",
29171
29234
  "snowflake",
29172
29235
  "git",
29173
- "datadog"
29236
+ "datadog",
29237
+ "certificateKeyPair"
29174
29238
  ]
29175
29239
  },
29176
29240
  "awsConfig": {
@@ -29445,6 +29509,47 @@ Schema for a single Credential
29445
29509
  }
29446
29510
  },
29447
29511
  "additionalProperties": false
29512
+ },
29513
+ "certificateKeyPairConfig": {
29514
+ "type": "object",
29515
+ "properties": {
29516
+ "certificate": {
29517
+ "type": "string",
29518
+ "maxLength": 8192
29519
+ },
29520
+ "info": {
29521
+ "type": "object",
29522
+ "properties": {
29523
+ "serialNumber": {
29524
+ "type": "string",
29525
+ "minLength": 1,
29526
+ "maxLength": 1024
29527
+ },
29528
+ "fingerprint": {
29529
+ "type": "string",
29530
+ "minLength": 1,
29531
+ "maxLength": 1024
29532
+ },
29533
+ "commonName": {
29534
+ "type": "string",
29535
+ "maxLength": 1024
29536
+ },
29537
+ "issuerName": {
29538
+ "type": "string",
29539
+ "maxLength": 1024
29540
+ },
29541
+ "notValidBefore": {
29542
+ "type": "string",
29543
+ "format": "date-time"
29544
+ },
29545
+ "notValidAfter": {
29546
+ "type": "string",
29547
+ "format": "date-time"
29548
+ }
29549
+ }
29550
+ }
29551
+ },
29552
+ "additionalProperties": false
29448
29553
  }
29449
29554
  },
29450
29555
  "additionalProperties": false,
@@ -39323,6 +39428,20 @@ Schema for a Credential update request
39323
39428
  }
39324
39429
  },
39325
39430
  "additionalProperties": false
39431
+ },
39432
+ "certificateKeyPairConfig": {
39433
+ "type": "object",
39434
+ "properties": {
39435
+ "certificate": {
39436
+ "type": "string",
39437
+ "maxLength": 8192
39438
+ },
39439
+ "privateKey": {
39440
+ "type": "string",
39441
+ "maxLength": 8196
39442
+ }
39443
+ },
39444
+ "additionalProperties": false
39326
39445
  }
39327
39446
  },
39328
39447
  "additionalProperties": false
@@ -39382,7 +39501,8 @@ Schema for a Credential creation request
39382
39501
  "mailgun",
39383
39502
  "snowflake",
39384
39503
  "git",
39385
- "datadog"
39504
+ "datadog",
39505
+ "certificateKeyPair"
39386
39506
  ]
39387
39507
  },
39388
39508
  "awsConfig": {
@@ -39776,6 +39896,24 @@ Schema for a Credential creation request
39776
39896
  "required": [
39777
39897
  "secretValue"
39778
39898
  ]
39899
+ },
39900
+ "certificateKeyPairConfig": {
39901
+ "type": "object",
39902
+ "properties": {
39903
+ "certificate": {
39904
+ "type": "string",
39905
+ "maxLength": 8192
39906
+ },
39907
+ "privateKey": {
39908
+ "type": "string",
39909
+ "maxLength": 8196
39910
+ }
39911
+ },
39912
+ "additionalProperties": false,
39913
+ "required": [
39914
+ "certificate",
39915
+ "privateKey"
39916
+ ]
39779
39917
  }
39780
39918
  },
39781
39919
  "additionalProperties": false,
@@ -39888,7 +40026,8 @@ Schema for a collection of Credentials
39888
40026
  "mailgun",
39889
40027
  "snowflake",
39890
40028
  "git",
39891
- "datadog"
40029
+ "datadog",
40030
+ "certificateKeyPair"
39892
40031
  ]
39893
40032
  },
39894
40033
  "awsConfig": {
@@ -40163,6 +40302,47 @@ Schema for a collection of Credentials
40163
40302
  }
40164
40303
  },
40165
40304
  "additionalProperties": false
40305
+ },
40306
+ "certificateKeyPairConfig": {
40307
+ "type": "object",
40308
+ "properties": {
40309
+ "certificate": {
40310
+ "type": "string",
40311
+ "maxLength": 8192
40312
+ },
40313
+ "info": {
40314
+ "type": "object",
40315
+ "properties": {
40316
+ "serialNumber": {
40317
+ "type": "string",
40318
+ "minLength": 1,
40319
+ "maxLength": 1024
40320
+ },
40321
+ "fingerprint": {
40322
+ "type": "string",
40323
+ "minLength": 1,
40324
+ "maxLength": 1024
40325
+ },
40326
+ "commonName": {
40327
+ "type": "string",
40328
+ "maxLength": 1024
40329
+ },
40330
+ "issuerName": {
40331
+ "type": "string",
40332
+ "maxLength": 1024
40333
+ },
40334
+ "notValidBefore": {
40335
+ "type": "string",
40336
+ "format": "date-time"
40337
+ },
40338
+ "notValidAfter": {
40339
+ "type": "string",
40340
+ "format": "date-time"
40341
+ }
40342
+ }
40343
+ }
40344
+ },
40345
+ "additionalProperties": false
40166
40346
  }
40167
40347
  },
40168
40348
  "additionalProperties": false,
@@ -73960,6 +74140,9 @@ Schema for exporting the data for multiple devices
73960
74140
  "oneOf": [
73961
74141
  {
73962
74142
  "oneOf": [
74143
+ {
74144
+ "type": "null"
74145
+ },
73963
74146
  {
73964
74147
  "type": "object",
73965
74148
  "properties": {
@@ -74115,6 +74298,9 @@ Schema for exporting the data for multiple devices
74115
74298
  "properties": {
74116
74299
  "$eq": {
74117
74300
  "oneOf": [
74301
+ {
74302
+ "type": "null"
74303
+ },
74118
74304
  {
74119
74305
  "type": "object",
74120
74306
  "properties": {
@@ -74276,6 +74462,9 @@ Schema for exporting the data for multiple devices
74276
74462
  "properties": {
74277
74463
  "$ne": {
74278
74464
  "oneOf": [
74465
+ {
74466
+ "type": "null"
74467
+ },
74279
74468
  {
74280
74469
  "type": "object",
74281
74470
  "properties": {
@@ -76101,6 +76290,9 @@ Schema for the body of a bulk device deletion or restoration request
76101
76290
  "oneOf": [
76102
76291
  {
76103
76292
  "oneOf": [
76293
+ {
76294
+ "type": "null"
76295
+ },
76104
76296
  {
76105
76297
  "type": "object",
76106
76298
  "properties": {
@@ -76256,6 +76448,9 @@ Schema for the body of a bulk device deletion or restoration request
76256
76448
  "properties": {
76257
76449
  "$eq": {
76258
76450
  "oneOf": [
76451
+ {
76452
+ "type": "null"
76453
+ },
76259
76454
  {
76260
76455
  "type": "object",
76261
76456
  "properties": {
@@ -76417,6 +76612,9 @@ Schema for the body of a bulk device deletion or restoration request
76417
76612
  "properties": {
76418
76613
  "$ne": {
76419
76614
  "oneOf": [
76615
+ {
76616
+ "type": "null"
76617
+ },
76420
76618
  {
76421
76619
  "type": "object",
76422
76620
  "properties": {
@@ -78217,6 +78415,9 @@ Schema for the body of a device payload count export request
78217
78415
  "oneOf": [
78218
78416
  {
78219
78417
  "oneOf": [
78418
+ {
78419
+ "type": "null"
78420
+ },
78220
78421
  {
78221
78422
  "type": "object",
78222
78423
  "properties": {
@@ -78372,6 +78573,9 @@ Schema for the body of a device payload count export request
78372
78573
  "properties": {
78373
78574
  "$eq": {
78374
78575
  "oneOf": [
78576
+ {
78577
+ "type": "null"
78578
+ },
78375
78579
  {
78376
78580
  "type": "object",
78377
78581
  "properties": {
@@ -78533,6 +78737,9 @@ Schema for the body of a device payload count export request
78533
78737
  "properties": {
78534
78738
  "$ne": {
78535
78739
  "oneOf": [
78740
+ {
78741
+ "type": "null"
78742
+ },
78536
78743
  {
78537
78744
  "type": "object",
78538
78745
  "properties": {
@@ -80327,6 +80534,9 @@ Schema for the body of a device metadata export request
80327
80534
  "oneOf": [
80328
80535
  {
80329
80536
  "oneOf": [
80537
+ {
80538
+ "type": "null"
80539
+ },
80330
80540
  {
80331
80541
  "type": "object",
80332
80542
  "properties": {
@@ -80482,6 +80692,9 @@ Schema for the body of a device metadata export request
80482
80692
  "properties": {
80483
80693
  "$eq": {
80484
80694
  "oneOf": [
80695
+ {
80696
+ "type": "null"
80697
+ },
80485
80698
  {
80486
80699
  "type": "object",
80487
80700
  "properties": {
@@ -80643,6 +80856,9 @@ Schema for the body of a device metadata export request
80643
80856
  "properties": {
80644
80857
  "$ne": {
80645
80858
  "oneOf": [
80859
+ {
80860
+ "type": "null"
80861
+ },
80646
80862
  {
80647
80863
  "type": "object",
80648
80864
  "properties": {
@@ -82684,6 +82900,9 @@ Schema for the body of a Devices modification request
82684
82900
  "oneOf": [
82685
82901
  {
82686
82902
  "oneOf": [
82903
+ {
82904
+ "type": "null"
82905
+ },
82687
82906
  {
82688
82907
  "type": "object",
82689
82908
  "properties": {
@@ -82839,6 +83058,9 @@ Schema for the body of a Devices modification request
82839
83058
  "properties": {
82840
83059
  "$eq": {
82841
83060
  "oneOf": [
83061
+ {
83062
+ "type": "null"
83063
+ },
82842
83064
  {
82843
83065
  "type": "object",
82844
83066
  "properties": {
@@ -83000,6 +83222,9 @@ Schema for the body of a Devices modification request
83000
83222
  "properties": {
83001
83223
  "$ne": {
83002
83224
  "oneOf": [
83225
+ {
83226
+ "type": "null"
83227
+ },
83003
83228
  {
83004
83229
  "type": "object",
83005
83230
  "properties": {
@@ -85602,6 +85827,9 @@ Schema for the body of a bulk data removal request
85602
85827
  "oneOf": [
85603
85828
  {
85604
85829
  "oneOf": [
85830
+ {
85831
+ "type": "null"
85832
+ },
85605
85833
  {
85606
85834
  "type": "object",
85607
85835
  "properties": {
@@ -85757,6 +85985,9 @@ Schema for the body of a bulk data removal request
85757
85985
  "properties": {
85758
85986
  "$eq": {
85759
85987
  "oneOf": [
85988
+ {
85989
+ "type": "null"
85990
+ },
85760
85991
  {
85761
85992
  "type": "object",
85762
85993
  "properties": {
@@ -85918,6 +86149,9 @@ Schema for the body of a bulk data removal request
85918
86149
  "properties": {
85919
86150
  "$ne": {
85920
86151
  "oneOf": [
86152
+ {
86153
+ "type": "null"
86154
+ },
85921
86155
  {
85922
86156
  "type": "object",
85923
86157
  "properties": {
@@ -90282,6 +90516,9 @@ Export options for events
90282
90516
  "oneOf": [
90283
90517
  {
90284
90518
  "oneOf": [
90519
+ {
90520
+ "type": "null"
90521
+ },
90285
90522
  {
90286
90523
  "type": "object",
90287
90524
  "properties": {
@@ -90437,6 +90674,9 @@ Export options for events
90437
90674
  "properties": {
90438
90675
  "$eq": {
90439
90676
  "oneOf": [
90677
+ {
90678
+ "type": "null"
90679
+ },
90440
90680
  {
90441
90681
  "type": "object",
90442
90682
  "properties": {
@@ -90598,6 +90838,9 @@ Export options for events
90598
90838
  "properties": {
90599
90839
  "$ne": {
90600
90840
  "oneOf": [
90841
+ {
90842
+ "type": "null"
90843
+ },
90601
90844
  {
90602
90845
  "type": "object",
90603
90846
  "properties": {
@@ -148750,7 +148993,6 @@ Schema for the body of a Github login request
148750
148993
  "devices.delete",
148751
148994
  "devices.restore",
148752
148995
  "devices.removeData",
148753
- "devices.detailedSummary",
148754
148996
  "devices.deviceNames",
148755
148997
  "devices.export",
148756
148998
  "devices.get",
@@ -162085,6 +162327,9 @@ Schema for the body of a last value query request
162085
162327
  "oneOf": [
162086
162328
  {
162087
162329
  "oneOf": [
162330
+ {
162331
+ "type": "null"
162332
+ },
162088
162333
  {
162089
162334
  "type": "object",
162090
162335
  "properties": {
@@ -162240,6 +162485,9 @@ Schema for the body of a last value query request
162240
162485
  "properties": {
162241
162486
  "$eq": {
162242
162487
  "oneOf": [
162488
+ {
162489
+ "type": "null"
162490
+ },
162243
162491
  {
162244
162492
  "type": "object",
162245
162493
  "properties": {
@@ -162401,6 +162649,9 @@ Schema for the body of a last value query request
162401
162649
  "properties": {
162402
162650
  "$ne": {
162403
162651
  "oneOf": [
162652
+ {
162653
+ "type": "null"
162654
+ },
162404
162655
  {
162405
162656
  "type": "object",
162406
162657
  "properties": {
@@ -164998,6 +165249,9 @@ Schema for the body of a request to send a command to multiple Devices
164998
165249
  "oneOf": [
164999
165250
  {
165000
165251
  "oneOf": [
165252
+ {
165253
+ "type": "null"
165254
+ },
165001
165255
  {
165002
165256
  "type": "object",
165003
165257
  "properties": {
@@ -165153,6 +165407,9 @@ Schema for the body of a request to send a command to multiple Devices
165153
165407
  "properties": {
165154
165408
  "$eq": {
165155
165409
  "oneOf": [
165410
+ {
165411
+ "type": "null"
165412
+ },
165156
165413
  {
165157
165414
  "type": "object",
165158
165415
  "properties": {
@@ -165314,6 +165571,9 @@ Schema for the body of a request to send a command to multiple Devices
165314
165571
  "properties": {
165315
165572
  "$ne": {
165316
165573
  "oneOf": [
165574
+ {
165575
+ "type": "null"
165576
+ },
165317
165577
  {
165318
165578
  "type": "object",
165319
165579
  "properties": {
@@ -175663,7 +175923,6 @@ SAML Response body for login
175663
175923
  "devices.delete",
175664
175924
  "devices.restore",
175665
175925
  "devices.removeData",
175666
- "devices.detailedSummary",
175667
175926
  "devices.deviceNames",
175668
175927
  "devices.export",
175669
175928
  "devices.get",
@@ -178062,6 +178321,9 @@ Schema for the body of a time series query request
178062
178321
  "oneOf": [
178063
178322
  {
178064
178323
  "oneOf": [
178324
+ {
178325
+ "type": "null"
178326
+ },
178065
178327
  {
178066
178328
  "type": "object",
178067
178329
  "properties": {
@@ -178217,6 +178479,9 @@ Schema for the body of a time series query request
178217
178479
  "properties": {
178218
178480
  "$eq": {
178219
178481
  "oneOf": [
178482
+ {
178483
+ "type": "null"
178484
+ },
178220
178485
  {
178221
178486
  "type": "object",
178222
178487
  "properties": {
@@ -178378,6 +178643,9 @@ Schema for the body of a time series query request
178378
178643
  "properties": {
178379
178644
  "$ne": {
178380
178645
  "oneOf": [
178646
+ {
178647
+ "type": "null"
178648
+ },
178381
178649
  {
178382
178650
  "type": "object",
178383
178651
  "properties": {
@@ -179090,7 +179358,6 @@ Schema for the body of a User authentication request
179090
179358
  "devices.delete",
179091
179359
  "devices.restore",
179092
179360
  "devices.removeData",
179093
- "devices.detailedSummary",
179094
179361
  "devices.deviceNames",
179095
179362
  "devices.export",
179096
179363
  "devices.get",
@@ -179711,7 +179978,6 @@ Schema for the body of a User creation request
179711
179978
  "devices.delete",
179712
179979
  "devices.restore",
179713
179980
  "devices.removeData",
179714
- "devices.detailedSummary",
179715
179981
  "devices.deviceNames",
179716
179982
  "devices.export",
179717
179983
  "devices.get",