losant_rest 1.19.7 → 1.19.8

Sign up to get free protection for your applications and to get access to all the features.
data/docs/_schemas.md CHANGED
@@ -8,6 +8,7 @@
8
8
  * [Advanced Workflow By Version Query](#advanced-workflow-by-version-query)
9
9
  * [Advanced Workflow Query](#advanced-workflow-query)
10
10
  * [Advanced Workflow Version Query](#advanced-workflow-version-query)
11
+ * [Advanced Instance Organization Query](#advanced-instance-organization-query)
11
12
  * [Advanced Query](#advanced-query)
12
13
  * [API Token](#api-token)
13
14
  * [API Token Patch](#api-token-patch)
@@ -108,7 +109,6 @@
108
109
  * [Device States](#device-states)
109
110
  * [Device Tag Filter](#device-tag-filter)
110
111
  * [Devices](#devices)
111
- * [Devices Data Removed](#devices-data-removed)
112
112
  * [Devices Delete Post](#devices-delete-post)
113
113
  * [Devices Payload Count Export Post](#devices-payload-count-export-post)
114
114
  * [Devices Metadata Export Post](#devices-metadata-export-post)
@@ -9455,6 +9455,1196 @@ Schema for advanced workflow queries
9455
9455
 
9456
9456
  <br/>
9457
9457
 
9458
+ ## Advanced Instance Organization Query
9459
+
9460
+ Schema for advanced instance organization queries
9461
+
9462
+ ### <a name="advanced-instance-organization-query-schema"></a> Schema
9463
+
9464
+ ```json
9465
+ {
9466
+ "$schema": "http://json-schema.org/draft-07/schema#",
9467
+ "type": "object",
9468
+ "properties": {
9469
+ "$and": {
9470
+ "type": "array",
9471
+ "items": {
9472
+ "$ref": "#/definitions/advancedInstanceOrgQuery"
9473
+ },
9474
+ "maxItems": 100
9475
+ },
9476
+ "$or": {
9477
+ "type": "array",
9478
+ "items": {
9479
+ "$ref": "#/definitions/advancedInstanceOrgQuery"
9480
+ },
9481
+ "maxItems": 100
9482
+ },
9483
+ "$nor": {
9484
+ "type": "array",
9485
+ "items": {
9486
+ "$ref": "#/definitions/advancedInstanceOrgQuery"
9487
+ },
9488
+ "maxItems": 100
9489
+ },
9490
+ "id": {
9491
+ "oneOf": [
9492
+ {
9493
+ "oneOf": [
9494
+ {
9495
+ "type": "string",
9496
+ "pattern": "^[A-Fa-f\\d]{24}$"
9497
+ },
9498
+ {
9499
+ "type": "null"
9500
+ }
9501
+ ]
9502
+ },
9503
+ {
9504
+ "type": "object",
9505
+ "properties": {
9506
+ "$eq": {
9507
+ "oneOf": [
9508
+ {
9509
+ "type": "string",
9510
+ "pattern": "^[A-Fa-f\\d]{24}$"
9511
+ },
9512
+ {
9513
+ "type": "null"
9514
+ }
9515
+ ]
9516
+ },
9517
+ "$ne": {
9518
+ "oneOf": [
9519
+ {
9520
+ "type": "string",
9521
+ "pattern": "^[A-Fa-f\\d]{24}$"
9522
+ },
9523
+ {
9524
+ "type": "null"
9525
+ }
9526
+ ]
9527
+ },
9528
+ "$gt": {
9529
+ "oneOf": [
9530
+ {
9531
+ "type": "string",
9532
+ "pattern": "^[A-Fa-f\\d]{24}$"
9533
+ },
9534
+ {
9535
+ "type": "null"
9536
+ }
9537
+ ]
9538
+ },
9539
+ "$lt": {
9540
+ "oneOf": [
9541
+ {
9542
+ "type": "string",
9543
+ "pattern": "^[A-Fa-f\\d]{24}$"
9544
+ },
9545
+ {
9546
+ "type": "null"
9547
+ }
9548
+ ]
9549
+ },
9550
+ "$gte": {
9551
+ "oneOf": [
9552
+ {
9553
+ "type": "string",
9554
+ "pattern": "^[A-Fa-f\\d]{24}$"
9555
+ },
9556
+ {
9557
+ "type": "null"
9558
+ }
9559
+ ]
9560
+ },
9561
+ "$lte": {
9562
+ "oneOf": [
9563
+ {
9564
+ "type": "string",
9565
+ "pattern": "^[A-Fa-f\\d]{24}$"
9566
+ },
9567
+ {
9568
+ "type": "null"
9569
+ }
9570
+ ]
9571
+ },
9572
+ "$in": {
9573
+ "type": "array",
9574
+ "maxItems": 100,
9575
+ "items": {
9576
+ "type": "string",
9577
+ "pattern": "^[A-Fa-f\\d]{24}$"
9578
+ }
9579
+ },
9580
+ "$nin": {
9581
+ "type": "array",
9582
+ "maxItems": 100,
9583
+ "items": {
9584
+ "type": "string",
9585
+ "pattern": "^[A-Fa-f\\d]{24}$"
9586
+ }
9587
+ }
9588
+ },
9589
+ "additionalProperties": false,
9590
+ "minProperties": 1,
9591
+ "maxProperties": 1
9592
+ }
9593
+ ]
9594
+ },
9595
+ "creationDate": {
9596
+ "oneOf": [
9597
+ {
9598
+ "type": [
9599
+ "string",
9600
+ "number",
9601
+ "boolean",
9602
+ "null"
9603
+ ]
9604
+ },
9605
+ {
9606
+ "type": "object",
9607
+ "properties": {
9608
+ "$eq": {
9609
+ "type": [
9610
+ "string",
9611
+ "number",
9612
+ "boolean",
9613
+ "null"
9614
+ ]
9615
+ },
9616
+ "$ne": {
9617
+ "type": [
9618
+ "string",
9619
+ "number",
9620
+ "boolean",
9621
+ "null"
9622
+ ]
9623
+ },
9624
+ "$gt": {
9625
+ "type": [
9626
+ "string",
9627
+ "number",
9628
+ "boolean",
9629
+ "null"
9630
+ ]
9631
+ },
9632
+ "$lt": {
9633
+ "type": [
9634
+ "string",
9635
+ "number",
9636
+ "boolean",
9637
+ "null"
9638
+ ]
9639
+ },
9640
+ "$gte": {
9641
+ "type": [
9642
+ "string",
9643
+ "number",
9644
+ "boolean",
9645
+ "null"
9646
+ ]
9647
+ },
9648
+ "$lte": {
9649
+ "type": [
9650
+ "string",
9651
+ "number",
9652
+ "boolean",
9653
+ "null"
9654
+ ]
9655
+ },
9656
+ "$startsWith": {
9657
+ "type": "string",
9658
+ "minLength": 1
9659
+ },
9660
+ "$endsWith": {
9661
+ "type": "string",
9662
+ "minLength": 1
9663
+ },
9664
+ "$contains": {
9665
+ "type": "string",
9666
+ "minLength": 1
9667
+ },
9668
+ "$ci": {
9669
+ "type": "boolean"
9670
+ },
9671
+ "$in": {
9672
+ "type": "array",
9673
+ "maxItems": 100,
9674
+ "items": {
9675
+ "type": [
9676
+ "string",
9677
+ "number",
9678
+ "boolean"
9679
+ ]
9680
+ }
9681
+ },
9682
+ "$nin": {
9683
+ "type": "array",
9684
+ "maxItems": 100,
9685
+ "items": {
9686
+ "type": [
9687
+ "string",
9688
+ "number",
9689
+ "boolean"
9690
+ ]
9691
+ }
9692
+ }
9693
+ },
9694
+ "additionalProperties": false
9695
+ }
9696
+ ]
9697
+ },
9698
+ "lastUpdated": {
9699
+ "oneOf": [
9700
+ {
9701
+ "type": [
9702
+ "string",
9703
+ "number",
9704
+ "boolean",
9705
+ "null"
9706
+ ]
9707
+ },
9708
+ {
9709
+ "type": "object",
9710
+ "properties": {
9711
+ "$eq": {
9712
+ "type": [
9713
+ "string",
9714
+ "number",
9715
+ "boolean",
9716
+ "null"
9717
+ ]
9718
+ },
9719
+ "$ne": {
9720
+ "type": [
9721
+ "string",
9722
+ "number",
9723
+ "boolean",
9724
+ "null"
9725
+ ]
9726
+ },
9727
+ "$gt": {
9728
+ "type": [
9729
+ "string",
9730
+ "number",
9731
+ "boolean",
9732
+ "null"
9733
+ ]
9734
+ },
9735
+ "$lt": {
9736
+ "type": [
9737
+ "string",
9738
+ "number",
9739
+ "boolean",
9740
+ "null"
9741
+ ]
9742
+ },
9743
+ "$gte": {
9744
+ "type": [
9745
+ "string",
9746
+ "number",
9747
+ "boolean",
9748
+ "null"
9749
+ ]
9750
+ },
9751
+ "$lte": {
9752
+ "type": [
9753
+ "string",
9754
+ "number",
9755
+ "boolean",
9756
+ "null"
9757
+ ]
9758
+ },
9759
+ "$startsWith": {
9760
+ "type": "string",
9761
+ "minLength": 1
9762
+ },
9763
+ "$endsWith": {
9764
+ "type": "string",
9765
+ "minLength": 1
9766
+ },
9767
+ "$contains": {
9768
+ "type": "string",
9769
+ "minLength": 1
9770
+ },
9771
+ "$ci": {
9772
+ "type": "boolean"
9773
+ },
9774
+ "$in": {
9775
+ "type": "array",
9776
+ "maxItems": 100,
9777
+ "items": {
9778
+ "type": [
9779
+ "string",
9780
+ "number",
9781
+ "boolean"
9782
+ ]
9783
+ }
9784
+ },
9785
+ "$nin": {
9786
+ "type": "array",
9787
+ "maxItems": 100,
9788
+ "items": {
9789
+ "type": [
9790
+ "string",
9791
+ "number",
9792
+ "boolean"
9793
+ ]
9794
+ }
9795
+ }
9796
+ },
9797
+ "additionalProperties": false
9798
+ }
9799
+ ]
9800
+ },
9801
+ "name": {
9802
+ "oneOf": [
9803
+ {
9804
+ "type": [
9805
+ "string",
9806
+ "number",
9807
+ "boolean",
9808
+ "null"
9809
+ ]
9810
+ },
9811
+ {
9812
+ "type": "object",
9813
+ "properties": {
9814
+ "$eq": {
9815
+ "type": [
9816
+ "string",
9817
+ "number",
9818
+ "boolean",
9819
+ "null"
9820
+ ]
9821
+ },
9822
+ "$ne": {
9823
+ "type": [
9824
+ "string",
9825
+ "number",
9826
+ "boolean",
9827
+ "null"
9828
+ ]
9829
+ },
9830
+ "$gt": {
9831
+ "type": [
9832
+ "string",
9833
+ "number",
9834
+ "boolean",
9835
+ "null"
9836
+ ]
9837
+ },
9838
+ "$lt": {
9839
+ "type": [
9840
+ "string",
9841
+ "number",
9842
+ "boolean",
9843
+ "null"
9844
+ ]
9845
+ },
9846
+ "$gte": {
9847
+ "type": [
9848
+ "string",
9849
+ "number",
9850
+ "boolean",
9851
+ "null"
9852
+ ]
9853
+ },
9854
+ "$lte": {
9855
+ "type": [
9856
+ "string",
9857
+ "number",
9858
+ "boolean",
9859
+ "null"
9860
+ ]
9861
+ },
9862
+ "$startsWith": {
9863
+ "type": "string",
9864
+ "minLength": 1
9865
+ },
9866
+ "$endsWith": {
9867
+ "type": "string",
9868
+ "minLength": 1
9869
+ },
9870
+ "$contains": {
9871
+ "type": "string",
9872
+ "minLength": 1
9873
+ },
9874
+ "$ci": {
9875
+ "type": "boolean"
9876
+ },
9877
+ "$in": {
9878
+ "type": "array",
9879
+ "maxItems": 100,
9880
+ "items": {
9881
+ "type": [
9882
+ "string",
9883
+ "number",
9884
+ "boolean"
9885
+ ]
9886
+ }
9887
+ },
9888
+ "$nin": {
9889
+ "type": "array",
9890
+ "maxItems": 100,
9891
+ "items": {
9892
+ "type": [
9893
+ "string",
9894
+ "number",
9895
+ "boolean"
9896
+ ]
9897
+ }
9898
+ }
9899
+ },
9900
+ "additionalProperties": false
9901
+ }
9902
+ ]
9903
+ },
9904
+ "mfaMode": {
9905
+ "oneOf": [
9906
+ {
9907
+ "type": [
9908
+ "string",
9909
+ "number",
9910
+ "boolean",
9911
+ "null"
9912
+ ]
9913
+ },
9914
+ {
9915
+ "type": "object",
9916
+ "properties": {
9917
+ "$eq": {
9918
+ "type": [
9919
+ "string",
9920
+ "number",
9921
+ "boolean",
9922
+ "null"
9923
+ ]
9924
+ },
9925
+ "$ne": {
9926
+ "type": [
9927
+ "string",
9928
+ "number",
9929
+ "boolean",
9930
+ "null"
9931
+ ]
9932
+ },
9933
+ "$gt": {
9934
+ "type": [
9935
+ "string",
9936
+ "number",
9937
+ "boolean",
9938
+ "null"
9939
+ ]
9940
+ },
9941
+ "$lt": {
9942
+ "type": [
9943
+ "string",
9944
+ "number",
9945
+ "boolean",
9946
+ "null"
9947
+ ]
9948
+ },
9949
+ "$gte": {
9950
+ "type": [
9951
+ "string",
9952
+ "number",
9953
+ "boolean",
9954
+ "null"
9955
+ ]
9956
+ },
9957
+ "$lte": {
9958
+ "type": [
9959
+ "string",
9960
+ "number",
9961
+ "boolean",
9962
+ "null"
9963
+ ]
9964
+ },
9965
+ "$startsWith": {
9966
+ "type": "string",
9967
+ "minLength": 1
9968
+ },
9969
+ "$endsWith": {
9970
+ "type": "string",
9971
+ "minLength": 1
9972
+ },
9973
+ "$contains": {
9974
+ "type": "string",
9975
+ "minLength": 1
9976
+ },
9977
+ "$ci": {
9978
+ "type": "boolean"
9979
+ },
9980
+ "$in": {
9981
+ "type": "array",
9982
+ "maxItems": 100,
9983
+ "items": {
9984
+ "type": [
9985
+ "string",
9986
+ "number",
9987
+ "boolean"
9988
+ ]
9989
+ }
9990
+ },
9991
+ "$nin": {
9992
+ "type": "array",
9993
+ "maxItems": 100,
9994
+ "items": {
9995
+ "type": [
9996
+ "string",
9997
+ "number",
9998
+ "boolean"
9999
+ ]
10000
+ }
10001
+ }
10002
+ },
10003
+ "additionalProperties": false
10004
+ }
10005
+ ]
10006
+ },
10007
+ "isReadOnly": {
10008
+ "oneOf": [
10009
+ {
10010
+ "type": [
10011
+ "string",
10012
+ "number",
10013
+ "boolean",
10014
+ "null"
10015
+ ]
10016
+ },
10017
+ {
10018
+ "type": "object",
10019
+ "properties": {
10020
+ "$eq": {
10021
+ "type": [
10022
+ "string",
10023
+ "number",
10024
+ "boolean",
10025
+ "null"
10026
+ ]
10027
+ },
10028
+ "$ne": {
10029
+ "type": [
10030
+ "string",
10031
+ "number",
10032
+ "boolean",
10033
+ "null"
10034
+ ]
10035
+ },
10036
+ "$gt": {
10037
+ "type": [
10038
+ "string",
10039
+ "number",
10040
+ "boolean",
10041
+ "null"
10042
+ ]
10043
+ },
10044
+ "$lt": {
10045
+ "type": [
10046
+ "string",
10047
+ "number",
10048
+ "boolean",
10049
+ "null"
10050
+ ]
10051
+ },
10052
+ "$gte": {
10053
+ "type": [
10054
+ "string",
10055
+ "number",
10056
+ "boolean",
10057
+ "null"
10058
+ ]
10059
+ },
10060
+ "$lte": {
10061
+ "type": [
10062
+ "string",
10063
+ "number",
10064
+ "boolean",
10065
+ "null"
10066
+ ]
10067
+ },
10068
+ "$startsWith": {
10069
+ "type": "string",
10070
+ "minLength": 1
10071
+ },
10072
+ "$endsWith": {
10073
+ "type": "string",
10074
+ "minLength": 1
10075
+ },
10076
+ "$contains": {
10077
+ "type": "string",
10078
+ "minLength": 1
10079
+ },
10080
+ "$ci": {
10081
+ "type": "boolean"
10082
+ },
10083
+ "$in": {
10084
+ "type": "array",
10085
+ "maxItems": 100,
10086
+ "items": {
10087
+ "type": [
10088
+ "string",
10089
+ "number",
10090
+ "boolean"
10091
+ ]
10092
+ }
10093
+ },
10094
+ "$nin": {
10095
+ "type": "array",
10096
+ "maxItems": 100,
10097
+ "items": {
10098
+ "type": [
10099
+ "string",
10100
+ "number",
10101
+ "boolean"
10102
+ ]
10103
+ }
10104
+ }
10105
+ },
10106
+ "additionalProperties": false
10107
+ }
10108
+ ]
10109
+ },
10110
+ "auditLogEnabled": {
10111
+ "oneOf": [
10112
+ {
10113
+ "type": [
10114
+ "string",
10115
+ "number",
10116
+ "boolean",
10117
+ "null"
10118
+ ]
10119
+ },
10120
+ {
10121
+ "type": "object",
10122
+ "properties": {
10123
+ "$eq": {
10124
+ "type": [
10125
+ "string",
10126
+ "number",
10127
+ "boolean",
10128
+ "null"
10129
+ ]
10130
+ },
10131
+ "$ne": {
10132
+ "type": [
10133
+ "string",
10134
+ "number",
10135
+ "boolean",
10136
+ "null"
10137
+ ]
10138
+ },
10139
+ "$gt": {
10140
+ "type": [
10141
+ "string",
10142
+ "number",
10143
+ "boolean",
10144
+ "null"
10145
+ ]
10146
+ },
10147
+ "$lt": {
10148
+ "type": [
10149
+ "string",
10150
+ "number",
10151
+ "boolean",
10152
+ "null"
10153
+ ]
10154
+ },
10155
+ "$gte": {
10156
+ "type": [
10157
+ "string",
10158
+ "number",
10159
+ "boolean",
10160
+ "null"
10161
+ ]
10162
+ },
10163
+ "$lte": {
10164
+ "type": [
10165
+ "string",
10166
+ "number",
10167
+ "boolean",
10168
+ "null"
10169
+ ]
10170
+ },
10171
+ "$startsWith": {
10172
+ "type": "string",
10173
+ "minLength": 1
10174
+ },
10175
+ "$endsWith": {
10176
+ "type": "string",
10177
+ "minLength": 1
10178
+ },
10179
+ "$contains": {
10180
+ "type": "string",
10181
+ "minLength": 1
10182
+ },
10183
+ "$ci": {
10184
+ "type": "boolean"
10185
+ },
10186
+ "$in": {
10187
+ "type": "array",
10188
+ "maxItems": 100,
10189
+ "items": {
10190
+ "type": [
10191
+ "string",
10192
+ "number",
10193
+ "boolean"
10194
+ ]
10195
+ }
10196
+ },
10197
+ "$nin": {
10198
+ "type": "array",
10199
+ "maxItems": 100,
10200
+ "items": {
10201
+ "type": [
10202
+ "string",
10203
+ "number",
10204
+ "boolean"
10205
+ ]
10206
+ }
10207
+ }
10208
+ },
10209
+ "additionalProperties": false
10210
+ }
10211
+ ]
10212
+ },
10213
+ "disabledAt": {
10214
+ "oneOf": [
10215
+ {
10216
+ "type": [
10217
+ "string",
10218
+ "number",
10219
+ "boolean",
10220
+ "null"
10221
+ ]
10222
+ },
10223
+ {
10224
+ "type": "object",
10225
+ "properties": {
10226
+ "$eq": {
10227
+ "type": [
10228
+ "string",
10229
+ "number",
10230
+ "boolean",
10231
+ "null"
10232
+ ]
10233
+ },
10234
+ "$ne": {
10235
+ "type": [
10236
+ "string",
10237
+ "number",
10238
+ "boolean",
10239
+ "null"
10240
+ ]
10241
+ },
10242
+ "$gt": {
10243
+ "type": [
10244
+ "string",
10245
+ "number",
10246
+ "boolean",
10247
+ "null"
10248
+ ]
10249
+ },
10250
+ "$lt": {
10251
+ "type": [
10252
+ "string",
10253
+ "number",
10254
+ "boolean",
10255
+ "null"
10256
+ ]
10257
+ },
10258
+ "$gte": {
10259
+ "type": [
10260
+ "string",
10261
+ "number",
10262
+ "boolean",
10263
+ "null"
10264
+ ]
10265
+ },
10266
+ "$lte": {
10267
+ "type": [
10268
+ "string",
10269
+ "number",
10270
+ "boolean",
10271
+ "null"
10272
+ ]
10273
+ },
10274
+ "$startsWith": {
10275
+ "type": "string",
10276
+ "minLength": 1
10277
+ },
10278
+ "$endsWith": {
10279
+ "type": "string",
10280
+ "minLength": 1
10281
+ },
10282
+ "$contains": {
10283
+ "type": "string",
10284
+ "minLength": 1
10285
+ },
10286
+ "$ci": {
10287
+ "type": "boolean"
10288
+ },
10289
+ "$in": {
10290
+ "type": "array",
10291
+ "maxItems": 100,
10292
+ "items": {
10293
+ "type": [
10294
+ "string",
10295
+ "number",
10296
+ "boolean"
10297
+ ]
10298
+ }
10299
+ },
10300
+ "$nin": {
10301
+ "type": "array",
10302
+ "maxItems": 100,
10303
+ "items": {
10304
+ "type": [
10305
+ "string",
10306
+ "number",
10307
+ "boolean"
10308
+ ]
10309
+ }
10310
+ }
10311
+ },
10312
+ "additionalProperties": false
10313
+ }
10314
+ ]
10315
+ },
10316
+ "referralId": {
10317
+ "oneOf": [
10318
+ {
10319
+ "type": [
10320
+ "string",
10321
+ "number",
10322
+ "boolean",
10323
+ "null"
10324
+ ]
10325
+ },
10326
+ {
10327
+ "type": "object",
10328
+ "properties": {
10329
+ "$eq": {
10330
+ "type": [
10331
+ "string",
10332
+ "number",
10333
+ "boolean",
10334
+ "null"
10335
+ ]
10336
+ },
10337
+ "$ne": {
10338
+ "type": [
10339
+ "string",
10340
+ "number",
10341
+ "boolean",
10342
+ "null"
10343
+ ]
10344
+ },
10345
+ "$gt": {
10346
+ "type": [
10347
+ "string",
10348
+ "number",
10349
+ "boolean",
10350
+ "null"
10351
+ ]
10352
+ },
10353
+ "$lt": {
10354
+ "type": [
10355
+ "string",
10356
+ "number",
10357
+ "boolean",
10358
+ "null"
10359
+ ]
10360
+ },
10361
+ "$gte": {
10362
+ "type": [
10363
+ "string",
10364
+ "number",
10365
+ "boolean",
10366
+ "null"
10367
+ ]
10368
+ },
10369
+ "$lte": {
10370
+ "type": [
10371
+ "string",
10372
+ "number",
10373
+ "boolean",
10374
+ "null"
10375
+ ]
10376
+ },
10377
+ "$startsWith": {
10378
+ "type": "string",
10379
+ "minLength": 1
10380
+ },
10381
+ "$endsWith": {
10382
+ "type": "string",
10383
+ "minLength": 1
10384
+ },
10385
+ "$contains": {
10386
+ "type": "string",
10387
+ "minLength": 1
10388
+ },
10389
+ "$ci": {
10390
+ "type": "boolean"
10391
+ },
10392
+ "$in": {
10393
+ "type": "array",
10394
+ "maxItems": 100,
10395
+ "items": {
10396
+ "type": [
10397
+ "string",
10398
+ "number",
10399
+ "boolean"
10400
+ ]
10401
+ }
10402
+ },
10403
+ "$nin": {
10404
+ "type": "array",
10405
+ "maxItems": 100,
10406
+ "items": {
10407
+ "type": [
10408
+ "string",
10409
+ "number",
10410
+ "boolean"
10411
+ ]
10412
+ }
10413
+ }
10414
+ },
10415
+ "additionalProperties": false
10416
+ }
10417
+ ]
10418
+ },
10419
+ "tags": {
10420
+ "oneOf": [
10421
+ {
10422
+ "oneOf": [
10423
+ {
10424
+ "type": "object",
10425
+ "properties": {
10426
+ "$tagKey": {
10427
+ "type": "string",
10428
+ "maxLength": 255
10429
+ },
10430
+ "$tagValue": {
10431
+ "type": "string",
10432
+ "maxLength": 255
10433
+ }
10434
+ },
10435
+ "additionalProperties": false,
10436
+ "minProperties": 1
10437
+ },
10438
+ {
10439
+ "type": "object",
10440
+ "patternProperties": {
10441
+ "^[0-9a-zA-Z_-]{1,255}": {
10442
+ "type": "string",
10443
+ "maxLength": 255
10444
+ }
10445
+ },
10446
+ "additionalProperties": false
10447
+ }
10448
+ ]
10449
+ },
10450
+ {
10451
+ "type": "object",
10452
+ "properties": {
10453
+ "$eq": {
10454
+ "oneOf": [
10455
+ {
10456
+ "type": "object",
10457
+ "properties": {
10458
+ "$tagKey": {
10459
+ "type": "string",
10460
+ "maxLength": 255
10461
+ },
10462
+ "$tagValue": {
10463
+ "type": "string",
10464
+ "maxLength": 255
10465
+ }
10466
+ },
10467
+ "additionalProperties": false,
10468
+ "minProperties": 1
10469
+ },
10470
+ {
10471
+ "type": "object",
10472
+ "patternProperties": {
10473
+ "^[0-9a-zA-Z_-]{1,255}": {
10474
+ "type": "string",
10475
+ "maxLength": 255
10476
+ }
10477
+ },
10478
+ "additionalProperties": false
10479
+ }
10480
+ ]
10481
+ }
10482
+ },
10483
+ "required": [
10484
+ "$eq"
10485
+ ],
10486
+ "additionalProperties": false
10487
+ },
10488
+ {
10489
+ "type": "object",
10490
+ "properties": {
10491
+ "$ne": {
10492
+ "oneOf": [
10493
+ {
10494
+ "type": "object",
10495
+ "properties": {
10496
+ "$tagKey": {
10497
+ "type": "string",
10498
+ "maxLength": 255
10499
+ },
10500
+ "$tagValue": {
10501
+ "type": "string",
10502
+ "maxLength": 255
10503
+ }
10504
+ },
10505
+ "additionalProperties": false,
10506
+ "minProperties": 1
10507
+ },
10508
+ {
10509
+ "type": "object",
10510
+ "patternProperties": {
10511
+ "^[0-9a-zA-Z_-]{1,255}": {
10512
+ "type": "string",
10513
+ "maxLength": 255
10514
+ }
10515
+ },
10516
+ "additionalProperties": false
10517
+ }
10518
+ ]
10519
+ }
10520
+ },
10521
+ "required": [
10522
+ "$ne"
10523
+ ],
10524
+ "additionalProperties": false
10525
+ }
10526
+ ]
10527
+ },
10528
+ "memberId": {
10529
+ "oneOf": [
10530
+ {
10531
+ "oneOf": [
10532
+ {
10533
+ "type": "string",
10534
+ "pattern": "^[A-Fa-f\\d]{24}$"
10535
+ },
10536
+ {
10537
+ "type": "null"
10538
+ }
10539
+ ]
10540
+ },
10541
+ {
10542
+ "type": "object",
10543
+ "properties": {
10544
+ "$eq": {
10545
+ "oneOf": [
10546
+ {
10547
+ "type": "string",
10548
+ "pattern": "^[A-Fa-f\\d]{24}$"
10549
+ },
10550
+ {
10551
+ "type": "null"
10552
+ }
10553
+ ]
10554
+ },
10555
+ "$ne": {
10556
+ "oneOf": [
10557
+ {
10558
+ "type": "string",
10559
+ "pattern": "^[A-Fa-f\\d]{24}$"
10560
+ },
10561
+ {
10562
+ "type": "null"
10563
+ }
10564
+ ]
10565
+ },
10566
+ "$gt": {
10567
+ "oneOf": [
10568
+ {
10569
+ "type": "string",
10570
+ "pattern": "^[A-Fa-f\\d]{24}$"
10571
+ },
10572
+ {
10573
+ "type": "null"
10574
+ }
10575
+ ]
10576
+ },
10577
+ "$lt": {
10578
+ "oneOf": [
10579
+ {
10580
+ "type": "string",
10581
+ "pattern": "^[A-Fa-f\\d]{24}$"
10582
+ },
10583
+ {
10584
+ "type": "null"
10585
+ }
10586
+ ]
10587
+ },
10588
+ "$gte": {
10589
+ "oneOf": [
10590
+ {
10591
+ "type": "string",
10592
+ "pattern": "^[A-Fa-f\\d]{24}$"
10593
+ },
10594
+ {
10595
+ "type": "null"
10596
+ }
10597
+ ]
10598
+ },
10599
+ "$lte": {
10600
+ "oneOf": [
10601
+ {
10602
+ "type": "string",
10603
+ "pattern": "^[A-Fa-f\\d]{24}$"
10604
+ },
10605
+ {
10606
+ "type": "null"
10607
+ }
10608
+ ]
10609
+ },
10610
+ "$in": {
10611
+ "type": "array",
10612
+ "maxItems": 100,
10613
+ "items": {
10614
+ "type": "string",
10615
+ "pattern": "^[A-Fa-f\\d]{24}$"
10616
+ }
10617
+ },
10618
+ "$nin": {
10619
+ "type": "array",
10620
+ "maxItems": 100,
10621
+ "items": {
10622
+ "type": "string",
10623
+ "pattern": "^[A-Fa-f\\d]{24}$"
10624
+ }
10625
+ }
10626
+ },
10627
+ "additionalProperties": false,
10628
+ "minProperties": 1,
10629
+ "maxProperties": 1
10630
+ }
10631
+ ]
10632
+ }
10633
+ },
10634
+ "additionalProperties": false
10635
+ }
10636
+ ```
10637
+ ### <a name="advanced-instance-organization-query-example"></a> Example
10638
+
10639
+ ```json
10640
+ {
10641
+ "name": "Bob's Org",
10642
+ "lastUpdated": "2022-01-30T17:18:11.911Z"
10643
+ }
10644
+ ```
10645
+
10646
+ <br/>
10647
+
9458
10648
  ## Advanced Query
9459
10649
 
9460
10650
  Schema for advanced filters and queries
@@ -18723,6 +19913,13 @@ Schema for the body of an Application scoped Dashboard creation request
18723
19913
  },
18724
19914
  "maxItems": 100
18725
19915
  },
19916
+ "query": {
19917
+ "type": [
19918
+ "string",
19919
+ "null"
19920
+ ],
19921
+ "maxLength": 8192
19922
+ },
18726
19923
  "includeFullDevice": {
18727
19924
  "type": "boolean"
18728
19925
  }
@@ -22859,7 +24056,8 @@ Schema for a single Credential
22859
24056
  "loggly",
22860
24057
  "jwt",
22861
24058
  "whatsapp",
22862
- "sql"
24059
+ "sql",
24060
+ "mongodb"
22863
24061
  ]
22864
24062
  },
22865
24063
  "awsConfig": {
@@ -23049,6 +24247,11 @@ Schema for a single Credential
23049
24247
  "host",
23050
24248
  "username"
23051
24249
  ]
24250
+ },
24251
+ "mongodbConfig": {
24252
+ "type": "object",
24253
+ "properties": {},
24254
+ "additionalProperties": false
23052
24255
  }
23053
24256
  },
23054
24257
  "additionalProperties": false,
@@ -32067,318 +33270,344 @@ Schema for a Credential update request
32067
33270
  "type": "boolean"
32068
33271
  }
32069
33272
  },
32070
- "additionalProperties": false
32071
- }
32072
- },
32073
- "additionalProperties": false
32074
- }
32075
- ```
32076
- ### <a name="credential-patch-example"></a> Example
32077
-
32078
- ```json
32079
- {
32080
- "enabled": true,
32081
- "azureConfig": {
32082
- "account": "my account",
32083
- "accountKey": "123abc"
32084
- }
32085
- }
32086
- ```
32087
-
32088
- <br/>
32089
-
32090
- ## Credential Post
32091
-
32092
- Schema for a Credential creation request
32093
-
32094
- ### <a name="credential-post-schema"></a> Schema
32095
-
32096
- ```json
32097
- {
32098
- "$schema": "http://json-schema.org/draft-07/schema#",
32099
- "type": "object",
32100
- "properties": {
32101
- "name": {
32102
- "type": "string",
32103
- "minLength": 1,
32104
- "maxLength": 255
32105
- },
32106
- "description": {
32107
- "type": "string",
32108
- "maxLength": 32767
32109
- },
32110
- "enabled": {
32111
- "type": "boolean"
32112
- },
32113
- "type": {
32114
- "type": "string",
32115
- "enum": [
32116
- "aws",
32117
- "azure",
32118
- "gcp",
32119
- "http",
32120
- "sendgrid",
32121
- "twilio",
32122
- "loggly",
32123
- "jwt",
32124
- "whatsapp",
32125
- "sql"
32126
- ]
32127
- },
32128
- "awsConfig": {
32129
- "type": "object",
32130
- "properties": {
32131
- "accessKeyId": {
32132
- "type": "string",
32133
- "minLength": 16,
32134
- "maxLength": 128
32135
- },
32136
- "secretAccessKey": {
32137
- "type": "string",
32138
- "minLength": 4,
32139
- "maxLength": 128
32140
- },
32141
- "region": {
32142
- "type": "string",
32143
- "minLength": 1,
32144
- "maxLength": 128
32145
- }
32146
- },
32147
- "additionalProperties": false,
32148
- "required": [
32149
- "accessKeyId",
32150
- "secretAccessKey",
32151
- "region"
32152
- ]
32153
- },
32154
- "azureConfig": {
32155
- "type": "object",
32156
- "properties": {
32157
- "account": {
32158
- "type": "string",
32159
- "maxLength": 128
32160
- },
32161
- "accountKey": {
32162
- "type": "string",
32163
- "minLength": 4,
32164
- "maxLength": 128
32165
- }
32166
- },
32167
- "additionalProperties": false,
32168
- "required": [
32169
- "accountKey"
32170
- ]
32171
- },
32172
- "gcpConfig": {
32173
- "type": "object",
32174
- "properties": {
32175
- "keyJson": {
32176
- "type": "string",
32177
- "minLength": 1,
32178
- "maxLength": 8192
32179
- }
32180
- },
33273
+ "additionalProperties": false
33274
+ },
33275
+ "mongodbConfig": {
33276
+ "type": "object",
33277
+ "properties": {
33278
+ "connectionUri": {
33279
+ "type": "string",
33280
+ "minLength": 1,
33281
+ "maxLength": 2048
33282
+ }
33283
+ },
33284
+ "additionalProperties": false
33285
+ }
33286
+ },
33287
+ "additionalProperties": false
33288
+ }
33289
+ ```
33290
+ ### <a name="credential-patch-example"></a> Example
33291
+
33292
+ ```json
33293
+ {
33294
+ "enabled": true,
33295
+ "azureConfig": {
33296
+ "account": "my account",
33297
+ "accountKey": "123abc"
33298
+ }
33299
+ }
33300
+ ```
33301
+
33302
+ <br/>
33303
+
33304
+ ## Credential Post
33305
+
33306
+ Schema for a Credential creation request
33307
+
33308
+ ### <a name="credential-post-schema"></a> Schema
33309
+
33310
+ ```json
33311
+ {
33312
+ "$schema": "http://json-schema.org/draft-07/schema#",
33313
+ "type": "object",
33314
+ "properties": {
33315
+ "name": {
33316
+ "type": "string",
33317
+ "minLength": 1,
33318
+ "maxLength": 255
33319
+ },
33320
+ "description": {
33321
+ "type": "string",
33322
+ "maxLength": 32767
33323
+ },
33324
+ "enabled": {
33325
+ "type": "boolean"
33326
+ },
33327
+ "type": {
33328
+ "type": "string",
33329
+ "enum": [
33330
+ "aws",
33331
+ "azure",
33332
+ "gcp",
33333
+ "http",
33334
+ "sendgrid",
33335
+ "twilio",
33336
+ "loggly",
33337
+ "jwt",
33338
+ "whatsapp",
33339
+ "sql",
33340
+ "mongodb"
33341
+ ]
33342
+ },
33343
+ "awsConfig": {
33344
+ "type": "object",
33345
+ "properties": {
33346
+ "accessKeyId": {
33347
+ "type": "string",
33348
+ "minLength": 16,
33349
+ "maxLength": 128
33350
+ },
33351
+ "secretAccessKey": {
33352
+ "type": "string",
33353
+ "minLength": 4,
33354
+ "maxLength": 128
33355
+ },
33356
+ "region": {
33357
+ "type": "string",
33358
+ "minLength": 1,
33359
+ "maxLength": 128
33360
+ }
33361
+ },
33362
+ "additionalProperties": false,
33363
+ "required": [
33364
+ "accessKeyId",
33365
+ "secretAccessKey",
33366
+ "region"
33367
+ ]
33368
+ },
33369
+ "azureConfig": {
33370
+ "type": "object",
33371
+ "properties": {
33372
+ "account": {
33373
+ "type": "string",
33374
+ "maxLength": 128
33375
+ },
33376
+ "accountKey": {
33377
+ "type": "string",
33378
+ "minLength": 4,
33379
+ "maxLength": 128
33380
+ }
33381
+ },
33382
+ "additionalProperties": false,
33383
+ "required": [
33384
+ "accountKey"
33385
+ ]
33386
+ },
33387
+ "gcpConfig": {
33388
+ "type": "object",
33389
+ "properties": {
33390
+ "keyJson": {
33391
+ "type": "string",
33392
+ "minLength": 1,
33393
+ "maxLength": 8192
33394
+ }
33395
+ },
33396
+ "additionalProperties": false,
33397
+ "required": [
33398
+ "keyJson"
33399
+ ]
33400
+ },
33401
+ "httpConfig": {
33402
+ "type": "object",
33403
+ "properties": {
33404
+ "uriMatch": {
33405
+ "type": "string",
33406
+ "minLength": 8,
33407
+ "maxLength": 1024
33408
+ },
33409
+ "authMethod": {
33410
+ "type": "string",
33411
+ "enum": [
33412
+ "header",
33413
+ "queryParam",
33414
+ "basicAuth",
33415
+ "clientCertificate"
33416
+ ]
33417
+ },
33418
+ "publicValue": {
33419
+ "type": "string",
33420
+ "maxLength": 8196
33421
+ },
33422
+ "secretValue": {
33423
+ "type": "string",
33424
+ "maxLength": 8196
33425
+ }
33426
+ },
33427
+ "additionalProperties": false,
33428
+ "required": [
33429
+ "uriMatch",
33430
+ "authMethod",
33431
+ "secretValue"
33432
+ ]
33433
+ },
33434
+ "sendgridConfig": {
33435
+ "type": "object",
33436
+ "properties": {
33437
+ "apiKey": {
33438
+ "type": "string",
33439
+ "minLength": 4,
33440
+ "maxLength": 128
33441
+ }
33442
+ },
33443
+ "additionalProperties": false,
33444
+ "required": [
33445
+ "apiKey"
33446
+ ]
33447
+ },
33448
+ "twilioConfig": {
33449
+ "type": "object",
33450
+ "properties": {
33451
+ "accountSid": {
33452
+ "type": "string",
33453
+ "minLength": 4,
33454
+ "maxLength": 128
33455
+ },
33456
+ "apiKeySid": {
33457
+ "type": "string",
33458
+ "minLength": 4,
33459
+ "maxLength": 128
33460
+ },
33461
+ "apiKeySecret": {
33462
+ "type": "string",
33463
+ "minLength": 4,
33464
+ "maxLength": 128
33465
+ }
33466
+ },
33467
+ "additionalProperties": false,
33468
+ "required": [
33469
+ "accountSid",
33470
+ "apiKeySid",
33471
+ "apiKeySecret"
33472
+ ]
33473
+ },
33474
+ "logglyConfig": {
33475
+ "type": "object",
33476
+ "properties": {
33477
+ "customerToken": {
33478
+ "type": "string",
33479
+ "minLength": 1,
33480
+ "maxLength": 128
33481
+ }
33482
+ },
33483
+ "additionalProperties": false,
33484
+ "required": [
33485
+ "customerToken"
33486
+ ]
33487
+ },
33488
+ "jwtConfig": {
33489
+ "type": "object",
33490
+ "properties": {
33491
+ "issuer": {
33492
+ "type": "string",
33493
+ "maxLength": 1024
33494
+ },
33495
+ "algorithm": {
33496
+ "type": "string",
33497
+ "enum": [
33498
+ "HS256",
33499
+ "HS384",
33500
+ "HS512",
33501
+ "RS256",
33502
+ "RS384",
33503
+ "RS512",
33504
+ "ES256",
33505
+ "ES384",
33506
+ "ES512"
33507
+ ]
33508
+ },
33509
+ "secret": {
33510
+ "type": "string",
33511
+ "minLength": 1,
33512
+ "maxLength": 4096
33513
+ }
33514
+ },
33515
+ "additionalProperties": false,
33516
+ "required": [
33517
+ "algorithm",
33518
+ "secret"
33519
+ ]
33520
+ },
33521
+ "whatsappConfig": {
33522
+ "type": "object",
33523
+ "properties": {
33524
+ "accessToken": {
33525
+ "type": "string",
33526
+ "minLength": 1,
33527
+ "maxLength": 1024
33528
+ },
33529
+ "fromNumberId": {
33530
+ "type": "string",
33531
+ "minLength": 1,
33532
+ "maxLength": 128
33533
+ }
33534
+ },
33535
+ "additionalProperties": false,
33536
+ "required": [
33537
+ "accessToken",
33538
+ "fromNumberId"
33539
+ ]
33540
+ },
33541
+ "sqlConfig": {
33542
+ "type": "object",
33543
+ "properties": {
33544
+ "system": {
33545
+ "type": "string",
33546
+ "enum": [
33547
+ "mssql",
33548
+ "mysql",
33549
+ "pg"
33550
+ ]
33551
+ },
33552
+ "host": {
33553
+ "type": "string",
33554
+ "minLength": 1,
33555
+ "maxLength": 256
33556
+ },
33557
+ "port": {
33558
+ "oneOf": [
33559
+ {
33560
+ "type": "integer",
33561
+ "minimum": 1,
33562
+ "maximum": 65535
33563
+ },
33564
+ {
33565
+ "type": "null"
33566
+ }
33567
+ ]
33568
+ },
33569
+ "username": {
33570
+ "type": "string",
33571
+ "minLength": 1,
33572
+ "maxLength": 256
33573
+ },
33574
+ "password": {
33575
+ "type": "string",
33576
+ "minLength": 1,
33577
+ "maxLength": 256
33578
+ },
33579
+ "secureConnection": {
33580
+ "type": "boolean"
33581
+ },
33582
+ "caCertificate": {
33583
+ "type": "string",
33584
+ "maxLength": 8196
33585
+ },
33586
+ "disableSSLVerification": {
33587
+ "type": "boolean"
33588
+ }
33589
+ },
32181
33590
  "additionalProperties": false,
32182
33591
  "required": [
32183
- "keyJson"
32184
- ]
32185
- },
32186
- "httpConfig": {
32187
- "type": "object",
32188
- "properties": {
32189
- "uriMatch": {
32190
- "type": "string",
32191
- "minLength": 8,
32192
- "maxLength": 1024
32193
- },
32194
- "authMethod": {
32195
- "type": "string",
32196
- "enum": [
32197
- "header",
32198
- "queryParam",
32199
- "basicAuth",
32200
- "clientCertificate"
32201
- ]
32202
- },
32203
- "publicValue": {
32204
- "type": "string",
32205
- "maxLength": 8196
32206
- },
32207
- "secretValue": {
32208
- "type": "string",
32209
- "maxLength": 8196
32210
- }
32211
- },
32212
- "additionalProperties": false,
32213
- "required": [
32214
- "uriMatch",
32215
- "authMethod",
32216
- "secretValue"
32217
- ]
32218
- },
32219
- "sendgridConfig": {
32220
- "type": "object",
32221
- "properties": {
32222
- "apiKey": {
32223
- "type": "string",
32224
- "minLength": 4,
32225
- "maxLength": 128
32226
- }
32227
- },
32228
- "additionalProperties": false,
32229
- "required": [
32230
- "apiKey"
32231
- ]
32232
- },
32233
- "twilioConfig": {
32234
- "type": "object",
32235
- "properties": {
32236
- "accountSid": {
32237
- "type": "string",
32238
- "minLength": 4,
32239
- "maxLength": 128
32240
- },
32241
- "apiKeySid": {
32242
- "type": "string",
32243
- "minLength": 4,
32244
- "maxLength": 128
32245
- },
32246
- "apiKeySecret": {
32247
- "type": "string",
32248
- "minLength": 4,
32249
- "maxLength": 128
32250
- }
32251
- },
32252
- "additionalProperties": false,
32253
- "required": [
32254
- "accountSid",
32255
- "apiKeySid",
32256
- "apiKeySecret"
32257
- ]
32258
- },
32259
- "logglyConfig": {
32260
- "type": "object",
32261
- "properties": {
32262
- "customerToken": {
32263
- "type": "string",
32264
- "minLength": 1,
32265
- "maxLength": 128
32266
- }
32267
- },
32268
- "additionalProperties": false,
32269
- "required": [
32270
- "customerToken"
32271
- ]
32272
- },
32273
- "jwtConfig": {
32274
- "type": "object",
32275
- "properties": {
32276
- "issuer": {
32277
- "type": "string",
32278
- "maxLength": 1024
32279
- },
32280
- "algorithm": {
32281
- "type": "string",
32282
- "enum": [
32283
- "HS256",
32284
- "HS384",
32285
- "HS512",
32286
- "RS256",
32287
- "RS384",
32288
- "RS512",
32289
- "ES256",
32290
- "ES384",
32291
- "ES512"
32292
- ]
32293
- },
32294
- "secret": {
32295
- "type": "string",
32296
- "minLength": 1,
32297
- "maxLength": 4096
32298
- }
32299
- },
32300
- "additionalProperties": false,
32301
- "required": [
32302
- "algorithm",
32303
- "secret"
32304
- ]
32305
- },
32306
- "whatsappConfig": {
32307
- "type": "object",
32308
- "properties": {
32309
- "accessToken": {
32310
- "type": "string",
32311
- "minLength": 1,
32312
- "maxLength": 1024
32313
- },
32314
- "fromNumberId": {
32315
- "type": "string",
32316
- "minLength": 1,
32317
- "maxLength": 128
32318
- }
32319
- },
32320
- "additionalProperties": false,
32321
- "required": [
32322
- "accessToken",
32323
- "fromNumberId"
33592
+ "system",
33593
+ "host",
33594
+ "username",
33595
+ "password"
32324
33596
  ]
32325
33597
  },
32326
- "sqlConfig": {
33598
+ "mongodbConfig": {
32327
33599
  "type": "object",
32328
33600
  "properties": {
32329
- "system": {
32330
- "type": "string",
32331
- "enum": [
32332
- "mssql",
32333
- "mysql",
32334
- "pg"
32335
- ]
32336
- },
32337
- "host": {
33601
+ "connectionUri": {
32338
33602
  "type": "string",
32339
33603
  "minLength": 1,
32340
- "maxLength": 256
32341
- },
32342
- "port": {
32343
- "oneOf": [
32344
- {
32345
- "type": "integer",
32346
- "minimum": 1,
32347
- "maximum": 65535
32348
- },
32349
- {
32350
- "type": "null"
32351
- }
32352
- ]
32353
- },
32354
- "username": {
32355
- "type": "string",
32356
- "minLength": 1,
32357
- "maxLength": 256
32358
- },
32359
- "password": {
32360
- "type": "string",
32361
- "minLength": 1,
32362
- "maxLength": 256
32363
- },
32364
- "secureConnection": {
32365
- "type": "boolean"
32366
- },
32367
- "caCertificate": {
32368
- "type": "string",
32369
- "maxLength": 8196
33604
+ "maxLength": 2048
32370
33605
  },
32371
- "disableSSLVerification": {
32372
- "type": "boolean"
32373
- }
33606
+ "required": [
33607
+ "connectionUri"
33608
+ ]
32374
33609
  },
32375
- "additionalProperties": false,
32376
- "required": [
32377
- "system",
32378
- "host",
32379
- "username",
32380
- "password"
32381
- ]
33610
+ "additionalProperties": false
32382
33611
  }
32383
33612
  },
32384
33613
  "additionalProperties": false,
@@ -32486,7 +33715,8 @@ Schema for a collection of Credentials
32486
33715
  "loggly",
32487
33716
  "jwt",
32488
33717
  "whatsapp",
32489
- "sql"
33718
+ "sql",
33719
+ "mongodb"
32490
33720
  ]
32491
33721
  },
32492
33722
  "awsConfig": {
@@ -32676,6 +33906,11 @@ Schema for a collection of Credentials
32676
33906
  "host",
32677
33907
  "username"
32678
33908
  ]
33909
+ },
33910
+ "mongodbConfig": {
33911
+ "type": "object",
33912
+ "properties": {},
33913
+ "additionalProperties": false
32679
33914
  }
32680
33915
  },
32681
33916
  "additionalProperties": false,
@@ -38791,6 +40026,13 @@ Schema for a single Dashboard
38791
40026
  },
38792
40027
  "maxItems": 100
38793
40028
  },
40029
+ "query": {
40030
+ "type": [
40031
+ "string",
40032
+ "null"
40033
+ ],
40034
+ "maxLength": 8192
40035
+ },
38794
40036
  "includeFullDevice": {
38795
40037
  "type": "boolean"
38796
40038
  }
@@ -45161,6 +46403,13 @@ Schema for the body of a Dashboard modification request
45161
46403
  },
45162
46404
  "maxItems": 100
45163
46405
  },
46406
+ "query": {
46407
+ "type": [
46408
+ "string",
46409
+ "null"
46410
+ ],
46411
+ "maxLength": 8192
46412
+ },
45164
46413
  "includeFullDevice": {
45165
46414
  "type": "boolean"
45166
46415
  }
@@ -51382,6 +52631,13 @@ Schema for the body of a Dashboard creation request
51382
52631
  },
51383
52632
  "maxItems": 100
51384
52633
  },
52634
+ "query": {
52635
+ "type": [
52636
+ "string",
52637
+ "null"
52638
+ ],
52639
+ "maxLength": 8192
52640
+ },
51385
52641
  "includeFullDevice": {
51386
52642
  "type": "boolean"
51387
52643
  }
@@ -57855,6 +59111,13 @@ Schema for a collection of Dashboards
57855
59111
  },
57856
59112
  "maxItems": 100
57857
59113
  },
59114
+ "query": {
59115
+ "type": [
59116
+ "string",
59117
+ "null"
59118
+ ],
59119
+ "maxLength": 8192
59120
+ },
57858
59121
  "includeFullDevice": {
57859
59122
  "type": "boolean"
57860
59123
  }
@@ -64506,37 +65769,6 @@ Schema for a collection of Devices
64506
65769
 
64507
65770
  <br/>
64508
65771
 
64509
- ## Devices Data Removed
64510
-
64511
- Schema for response to bulk device data removal
64512
-
64513
- ### <a name="devices-data-removed-schema"></a> Schema
64514
-
64515
- ```json
64516
- {
64517
- "$schema": "http://json-schema.org/draft-07/schema#",
64518
- "type": "object",
64519
- "properties": {
64520
- "completed": {
64521
- "type": "number"
64522
- },
64523
- "notApplicable": {
64524
- "type": "number"
64525
- }
64526
- }
64527
- }
64528
- ```
64529
- ### <a name="devices-data-removed-example"></a> Example
64530
-
64531
- ```json
64532
- {
64533
- "completed": 3,
64534
- "skipped": 0
64535
- }
64536
- ```
64537
-
64538
- <br/>
64539
-
64540
65772
  ## Devices Delete Post
64541
65773
 
64542
65774
  Schema for the body of a bulk device delete request
@@ -69422,6 +70654,14 @@ Schema for the body of a device metadata export request
69422
70654
  }
69423
70655
  },
69424
70656
  "additionalProperties": false
70657
+ },
70658
+ "format": {
70659
+ "type": "string",
70660
+ "enum": [
70661
+ "csv",
70662
+ "json"
70663
+ ],
70664
+ "default": "csv"
69425
70665
  }
69426
70666
  },
69427
70667
  "additionalProperties": false
@@ -73709,6 +74949,16 @@ Schema for the body of a bulk data removal request
73709
74949
  },
73710
74950
  "keepCommandHistory": {
73711
74951
  "type": "boolean"
74952
+ },
74953
+ "email": {
74954
+ "type": "string",
74955
+ "format": "email",
74956
+ "maxLength": 1024
74957
+ },
74958
+ "callbackUrl": {
74959
+ "type": "string",
74960
+ "format": "uri",
74961
+ "maxLength": 1024
73712
74962
  }
73713
74963
  },
73714
74964
  "additionalProperties": false,
@@ -79339,6 +80589,17 @@ The body of an experience linked resources response
79339
80589
  }
79340
80590
  },
79341
80591
  "additionalProperties": false
80592
+ },
80593
+ "headers": {
80594
+ "type": "object",
80595
+ "properties": {
80596
+ "content-type": {
80597
+ "type": "string",
80598
+ "minLength": 1,
80599
+ "maxLength": 255
80600
+ }
80601
+ },
80602
+ "additionalProperties": false
79342
80603
  }
79343
80604
  }
79344
80605
  }
@@ -89561,6 +90822,17 @@ Schema for a single Experience View
89561
90822
  }
89562
90823
  },
89563
90824
  "additionalProperties": false
90825
+ },
90826
+ "headers": {
90827
+ "type": "object",
90828
+ "properties": {
90829
+ "content-type": {
90830
+ "type": "string",
90831
+ "minLength": 1,
90832
+ "maxLength": 255
90833
+ }
90834
+ },
90835
+ "additionalProperties": false
89564
90836
  }
89565
90837
  }
89566
90838
  }
@@ -89627,6 +90899,17 @@ Schema for the body of an Experience View modification request
89627
90899
  }
89628
90900
  },
89629
90901
  "additionalProperties": false
90902
+ },
90903
+ "headers": {
90904
+ "type": "object",
90905
+ "properties": {
90906
+ "content-type": {
90907
+ "type": "string",
90908
+ "minLength": 1,
90909
+ "maxLength": 255
90910
+ }
90911
+ },
90912
+ "additionalProperties": false
89630
90913
  }
89631
90914
  },
89632
90915
  "additionalProperties": false
@@ -89694,6 +90977,17 @@ Schema for the body of an Experience View creation request
89694
90977
  }
89695
90978
  },
89696
90979
  "additionalProperties": false
90980
+ },
90981
+ "headers": {
90982
+ "type": "object",
90983
+ "properties": {
90984
+ "content-type": {
90985
+ "type": "string",
90986
+ "minLength": 1,
90987
+ "maxLength": 255
90988
+ }
90989
+ },
90990
+ "additionalProperties": false
89697
90991
  }
89698
90992
  },
89699
90993
  "additionalProperties": false,
@@ -89824,6 +91118,17 @@ Schema for a collection of Experience Views
89824
91118
  }
89825
91119
  },
89826
91120
  "additionalProperties": false
91121
+ },
91122
+ "headers": {
91123
+ "type": "object",
91124
+ "properties": {
91125
+ "content-type": {
91126
+ "type": "string",
91127
+ "minLength": 1,
91128
+ "maxLength": 255
91129
+ }
91130
+ },
91131
+ "additionalProperties": false
89827
91132
  }
89828
91133
  }
89829
91134
  }
@@ -146802,6 +148107,14 @@ Schema for a single Notebook
146802
148107
  "queryJson": {
146803
148108
  "type": "string",
146804
148109
  "maxLength": 8192
148110
+ },
148111
+ "format": {
148112
+ "type": "string",
148113
+ "enum": [
148114
+ "csv",
148115
+ "json"
148116
+ ],
148117
+ "default": "csv"
146805
148118
  }
146806
148119
  },
146807
148120
  "required": [
@@ -147930,6 +149243,14 @@ Schema for the body of a Notebook modification request
147930
149243
  "queryJson": {
147931
149244
  "type": "string",
147932
149245
  "maxLength": 8192
149246
+ },
149247
+ "format": {
149248
+ "type": "string",
149249
+ "enum": [
149250
+ "csv",
149251
+ "json"
149252
+ ],
149253
+ "default": "csv"
147933
149254
  }
147934
149255
  },
147935
149256
  "required": [
@@ -148576,6 +149897,14 @@ Schema for the body of an Notebook creation request
148576
149897
  "queryJson": {
148577
149898
  "type": "string",
148578
149899
  "maxLength": 8192
149900
+ },
149901
+ "format": {
149902
+ "type": "string",
149903
+ "enum": [
149904
+ "csv",
149905
+ "json"
149906
+ ],
149907
+ "default": "csv"
148579
149908
  }
148580
149909
  },
148581
149910
  "required": [
@@ -149252,6 +150581,14 @@ Schema for a collection of Notebooks
149252
150581
  "queryJson": {
149253
150582
  "type": "string",
149254
150583
  "maxLength": 8192
150584
+ },
150585
+ "format": {
150586
+ "type": "string",
150587
+ "enum": [
150588
+ "csv",
150589
+ "json"
150590
+ ],
150591
+ "default": "csv"
149255
150592
  }
149256
150593
  },
149257
150594
  "required": [