losant_rest 1.10.2 → 1.10.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 192f96a76efcec5fc2e36aac3695d17862237ae71add50a0d1725648597d505a
4
- data.tar.gz: 78438665381bfe61a2e26c6d5928e129ce8eeb151d36ecb54ee744db3b78112c
3
+ metadata.gz: 96473d9d3ab9a73c36abcc601dfe960801ef533f110a5d1c56f208676bf2fe95
4
+ data.tar.gz: 17bdeeac348c61a6025c7c3b2fe961acf0697330a3ec94e7c20d3a69ecf3215d
5
5
  SHA512:
6
- metadata.gz: 9ffaed14c671dd2ee7ff3b45db35601dbf260ce42e8754b6681de1ddd9d0e5d80f89ad9cb1a33c586bdc3c9a872773b119f0bd49fa1bebeaf6a3b94f0d5dcecb
7
- data.tar.gz: 7a59ecf07f654b5aee7690b085a079355833a191ff427ff655f3b2b3678e28ab8afd9abb84951b28e966e91bc20ebd37bc576256777596e09f229fc9f46a8292
6
+ metadata.gz: 32dad229a926715a7e998c108e9e257b2293f1bcba80ecd11984fff28918e2feb821f6f260105626908ccec41e4f0780b6e2aeb9351f1aa426aced57290a2d5a
7
+ data.tar.gz: 9a72a01d0cd88f4d5fdf8447b94b023cdea381edb474a7c6fc34ced4a8e5f11c47d4b0fee32c365c8d00de8b61411e1dba5510eafb991dfddff862f524eb5a07
@@ -144,9 +144,11 @@
144
144
  * [File Upload Post Response](#file-upload-post-response)
145
145
  * [Files Schema](#files-schema)
146
146
  * [Workflow](#workflow)
147
+ * [Workflow Errors](#workflow-errors)
147
148
  * [Workflow Log](#workflow-log)
148
149
  * [Workflow Patch](#workflow-patch)
149
150
  * [Workflow Post](#workflow-post)
151
+ * [Workflow Statistics](#workflow-statistics)
150
152
  * [Workflow Storage Entries](#workflow-storage-entries)
151
153
  * [Workflow Storage Entry](#workflow-storage-entry)
152
154
  * [Workflow Trigger Filter](#workflow-trigger-filter)
@@ -3581,23 +3583,27 @@ Schema for the body of an Application API Token creation request
3581
3583
  "file.upload",
3582
3584
  "files.get",
3583
3585
  "files.post",
3586
+ "flow.clearStorageEntries",
3584
3587
  "flow.debug",
3585
3588
  "flow.delete",
3586
- "flow.clearStorageEntries",
3589
+ "flow.errors",
3587
3590
  "flow.get",
3588
3591
  "flow.getStorageEntries",
3589
3592
  "flow.log",
3590
3593
  "flow.patch",
3591
3594
  "flow.pressVirtualButton",
3592
3595
  "flow.setStorageEntry",
3596
+ "flow.stats",
3593
3597
  "flows.get",
3594
3598
  "flows.getByVersion",
3595
3599
  "flows.import",
3596
3600
  "flows.post",
3597
3601
  "flowVersion.delete",
3602
+ "flowVersion.errors",
3598
3603
  "flowVersion.get",
3599
3604
  "flowVersion.log",
3600
3605
  "flowVersion.patch",
3606
+ "flowVersion.stats",
3601
3607
  "flowVersions.get",
3602
3608
  "flowVersions.post",
3603
3609
  "integration.delete",
@@ -8461,6 +8467,10 @@ Schema for a single Dashboard
8461
8467
  "type": "string",
8462
8468
  "maxLength": 255
8463
8469
  },
8470
+ "expression": {
8471
+ "type": "string",
8472
+ "maxLength": 255
8473
+ },
8464
8474
  "yAxisLabel": {
8465
8475
  "type": "string",
8466
8476
  "maxLength": 255
@@ -9856,6 +9866,10 @@ Schema for a single Dashboard
9856
9866
  "type": "string",
9857
9867
  "maxLength": 255
9858
9868
  },
9869
+ "expression": {
9870
+ "type": "string",
9871
+ "maxLength": 255
9872
+ },
9859
9873
  "yAxisLabel": {
9860
9874
  "type": "string",
9861
9875
  "maxLength": 255
@@ -11318,6 +11332,10 @@ Schema for a single Dashboard
11318
11332
  "type": "string",
11319
11333
  "maxLength": 255
11320
11334
  },
11335
+ "expression": {
11336
+ "type": "string",
11337
+ "maxLength": 255
11338
+ },
11321
11339
  "yAxisLabel": {
11322
11340
  "type": "string",
11323
11341
  "maxLength": 255
@@ -12894,6 +12912,10 @@ Schema for a single Dashboard
12894
12912
  "type": "string",
12895
12913
  "maxLength": 255
12896
12914
  },
12915
+ "expression": {
12916
+ "type": "string",
12917
+ "maxLength": 255
12918
+ },
12897
12919
  "yAxisLabel": {
12898
12920
  "type": "string",
12899
12921
  "maxLength": 255
@@ -14054,6 +14076,10 @@ Schema for the body of a Dashboard modification request
14054
14076
  "type": "string",
14055
14077
  "maxLength": 255
14056
14078
  },
14079
+ "expression": {
14080
+ "type": "string",
14081
+ "maxLength": 255
14082
+ },
14057
14083
  "yAxisLabel": {
14058
14084
  "type": "string",
14059
14085
  "maxLength": 255
@@ -15449,6 +15475,10 @@ Schema for the body of a Dashboard modification request
15449
15475
  "type": "string",
15450
15476
  "maxLength": 255
15451
15477
  },
15478
+ "expression": {
15479
+ "type": "string",
15480
+ "maxLength": 255
15481
+ },
15452
15482
  "yAxisLabel": {
15453
15483
  "type": "string",
15454
15484
  "maxLength": 255
@@ -16911,6 +16941,10 @@ Schema for the body of a Dashboard modification request
16911
16941
  "type": "string",
16912
16942
  "maxLength": 255
16913
16943
  },
16944
+ "expression": {
16945
+ "type": "string",
16946
+ "maxLength": 255
16947
+ },
16914
16948
  "yAxisLabel": {
16915
16949
  "type": "string",
16916
16950
  "maxLength": 255
@@ -18487,6 +18521,10 @@ Schema for the body of a Dashboard modification request
18487
18521
  "type": "string",
18488
18522
  "maxLength": 255
18489
18523
  },
18524
+ "expression": {
18525
+ "type": "string",
18526
+ "maxLength": 255
18527
+ },
18490
18528
  "yAxisLabel": {
18491
18529
  "type": "string",
18492
18530
  "maxLength": 255
@@ -19576,6 +19614,10 @@ Schema for the body of a Dashboard creation request
19576
19614
  "type": "string",
19577
19615
  "maxLength": 255
19578
19616
  },
19617
+ "expression": {
19618
+ "type": "string",
19619
+ "maxLength": 255
19620
+ },
19579
19621
  "yAxisLabel": {
19580
19622
  "type": "string",
19581
19623
  "maxLength": 255
@@ -20971,6 +21013,10 @@ Schema for the body of a Dashboard creation request
20971
21013
  "type": "string",
20972
21014
  "maxLength": 255
20973
21015
  },
21016
+ "expression": {
21017
+ "type": "string",
21018
+ "maxLength": 255
21019
+ },
20974
21020
  "yAxisLabel": {
20975
21021
  "type": "string",
20976
21022
  "maxLength": 255
@@ -22433,6 +22479,10 @@ Schema for the body of a Dashboard creation request
22433
22479
  "type": "string",
22434
22480
  "maxLength": 255
22435
22481
  },
22482
+ "expression": {
22483
+ "type": "string",
22484
+ "maxLength": 255
22485
+ },
22436
22486
  "yAxisLabel": {
22437
22487
  "type": "string",
22438
22488
  "maxLength": 255
@@ -24009,6 +24059,10 @@ Schema for the body of a Dashboard creation request
24009
24059
  "type": "string",
24010
24060
  "maxLength": 255
24011
24061
  },
24062
+ "expression": {
24063
+ "type": "string",
24064
+ "maxLength": 255
24065
+ },
24012
24066
  "yAxisLabel": {
24013
24067
  "type": "string",
24014
24068
  "maxLength": 255
@@ -25353,6 +25407,10 @@ Schema for a collection of Dashboards
25353
25407
  "type": "string",
25354
25408
  "maxLength": 255
25355
25409
  },
25410
+ "expression": {
25411
+ "type": "string",
25412
+ "maxLength": 255
25413
+ },
25356
25414
  "yAxisLabel": {
25357
25415
  "type": "string",
25358
25416
  "maxLength": 255
@@ -26748,6 +26806,10 @@ Schema for a collection of Dashboards
26748
26806
  "type": "string",
26749
26807
  "maxLength": 255
26750
26808
  },
26809
+ "expression": {
26810
+ "type": "string",
26811
+ "maxLength": 255
26812
+ },
26751
26813
  "yAxisLabel": {
26752
26814
  "type": "string",
26753
26815
  "maxLength": 255
@@ -28210,6 +28272,10 @@ Schema for a collection of Dashboards
28210
28272
  "type": "string",
28211
28273
  "maxLength": 255
28212
28274
  },
28275
+ "expression": {
28276
+ "type": "string",
28277
+ "maxLength": 255
28278
+ },
28213
28279
  "yAxisLabel": {
28214
28280
  "type": "string",
28215
28281
  "maxLength": 255
@@ -29786,6 +29852,10 @@ Schema for a collection of Dashboards
29786
29852
  "type": "string",
29787
29853
  "maxLength": 255
29788
29854
  },
29855
+ "expression": {
29856
+ "type": "string",
29857
+ "maxLength": 255
29858
+ },
29789
29859
  "yAxisLabel": {
29790
29860
  "type": "string",
29791
29861
  "maxLength": 255
@@ -41248,6 +41318,28 @@ Schema for the body of an Event creation request
41248
41318
  }
41249
41319
  },
41250
41320
  "additionalProperties": false
41321
+ },
41322
+ "creationDate": {
41323
+ "oneOf": [
41324
+ {
41325
+ "type": "string"
41326
+ },
41327
+ {
41328
+ "type": "number"
41329
+ },
41330
+ {
41331
+ "type": "object",
41332
+ "properties": {
41333
+ "$date": {
41334
+ "type": "string"
41335
+ }
41336
+ },
41337
+ "additionalProperties": false,
41338
+ "required": [
41339
+ "$date"
41340
+ ]
41341
+ }
41342
+ ]
41251
41343
  }
41252
41344
  },
41253
41345
  "required": [
@@ -42958,7 +43050,7 @@ Schema for a single Experience Domain
42958
43050
  },
42959
43051
  "domainName": {
42960
43052
  "type": "string",
42961
- "maxLength": 1024,
43053
+ "maxLength": 45,
42962
43054
  "minLength": 3
42963
43055
  },
42964
43056
  "version": {
@@ -43046,7 +43138,7 @@ Schema for the body of an Experience Domain modification request
43046
43138
  },
43047
43139
  "domainName": {
43048
43140
  "type": "string",
43049
- "maxLength": 1024,
43141
+ "maxLength": 45,
43050
43142
  "minLength": 3
43051
43143
  }
43052
43144
  },
@@ -43094,7 +43186,7 @@ Schema for the body of an Experience Domain creation request
43094
43186
  },
43095
43187
  "domainName": {
43096
43188
  "type": "string",
43097
- "maxLength": 1024,
43189
+ "maxLength": 45,
43098
43190
  "minLength": 3
43099
43191
  },
43100
43192
  "version": {
@@ -43179,7 +43271,7 @@ Schema for a collection of Experience Domains
43179
43271
  },
43180
43272
  "domainName": {
43181
43273
  "type": "string",
43182
- "maxLength": 1024,
43274
+ "maxLength": 45,
43183
43275
  "minLength": 3
43184
43276
  },
43185
43277
  "version": {
@@ -52147,7 +52239,7 @@ Schema for a single Experience Version
52147
52239
  "properties": {
52148
52240
  "domainName": {
52149
52241
  "type": "string",
52150
- "maxLength": 1024,
52242
+ "maxLength": 45,
52151
52243
  "minLength": 3
52152
52244
  },
52153
52245
  "id": {
@@ -52369,7 +52461,7 @@ Schema for a collection of Experience Versions
52369
52461
  "properties": {
52370
52462
  "domainName": {
52371
52463
  "type": "string",
52372
- "maxLength": 1024,
52464
+ "maxLength": 45,
52373
52465
  "minLength": 3
52374
52466
  },
52375
52467
  "id": {
@@ -55650,6 +55742,124 @@ Schema for a single Workflow
55650
55742
 
55651
55743
  <br/>
55652
55744
 
55745
+ ## Workflow Errors
55746
+
55747
+ Workflow run error information
55748
+
55749
+ ### <a name="workflow-errors-schema"></a> Schema
55750
+
55751
+ ```json
55752
+ {
55753
+ "$schema": "http://json-schema.org/draft-04/schema#",
55754
+ "type": "object",
55755
+ "properties": {
55756
+ "flowVersion": {
55757
+ "type": "string",
55758
+ "minLength": 1,
55759
+ "maxLength": 255
55760
+ },
55761
+ "flowVersionId": {
55762
+ "type": "string",
55763
+ "pattern": "^[A-Fa-f\\d]{24}$"
55764
+ },
55765
+ "deviceId": {
55766
+ "type": "string",
55767
+ "pattern": "^[A-Fa-f\\d]{24}$"
55768
+ },
55769
+ "start": {
55770
+ "type": "string",
55771
+ "format": "date-time"
55772
+ },
55773
+ "end": {
55774
+ "type": "string",
55775
+ "format": "date-time"
55776
+ },
55777
+ "limit": {
55778
+ "type": "number"
55779
+ },
55780
+ "sortDirection": {
55781
+ "type": "string",
55782
+ "enum": [
55783
+ "asc",
55784
+ "desc",
55785
+ "ASC",
55786
+ "DESC",
55787
+ ""
55788
+ ]
55789
+ },
55790
+ "errors": {
55791
+ "type": "array",
55792
+ "items": {
55793
+ "type": "object",
55794
+ "properties": {
55795
+ "time": {
55796
+ "type": "string",
55797
+ "format": "date-time"
55798
+ },
55799
+ "deviceId": {
55800
+ "type": "string",
55801
+ "pattern": "^[A-Fa-f\\d]{24}$"
55802
+ },
55803
+ "deviceName": {
55804
+ "type": "string",
55805
+ "minLength": 1,
55806
+ "maxLength": 255
55807
+ },
55808
+ "flowVersion": {
55809
+ "type": "string",
55810
+ "minLength": 1,
55811
+ "maxLength": 255
55812
+ },
55813
+ "flowVersionId": {
55814
+ "type": "string",
55815
+ "pattern": "^[A-Fa-f\\d]{24}$"
55816
+ },
55817
+ "nodeId": {
55818
+ "type": "string"
55819
+ },
55820
+ "nodeLabel": {
55821
+ "type": "string"
55822
+ },
55823
+ "error": {
55824
+ "type": "object",
55825
+ "properties": {
55826
+ "name": {
55827
+ "type": "string"
55828
+ },
55829
+ "message": {
55830
+ "type": "string"
55831
+ }
55832
+ }
55833
+ }
55834
+ }
55835
+ }
55836
+ }
55837
+ }
55838
+ }
55839
+ ```
55840
+ ### <a name="workflow-errors-example"></a> Example
55841
+
55842
+ ```json
55843
+ {
55844
+ "start": "2016-06-03T00:00:00.000Z",
55845
+ "end": "2016-06-04T00:00:00.000Z",
55846
+ "limit": 25,
55847
+ "sortDirection": "desc",
55848
+ "errors": [
55849
+ {
55850
+ "time": "2016-06-03T00:00:00.000Z",
55851
+ "nodeId": "dji4r",
55852
+ "error": {
55853
+ "name": "Validation",
55854
+ "message": "Result path is required"
55855
+ }
55856
+ }
55857
+ ]
55858
+ }
55859
+ ```
55860
+
55861
+ <br/>
55862
+
55653
55863
  ## Workflow Log
55654
55864
 
55655
55865
  Log of aggregated workflow run information
@@ -60006,6 +60216,89 @@ Schema for the body of a Workflow creation request
60006
60216
 
60007
60217
  <br/>
60008
60218
 
60219
+ ## Workflow Statistics
60220
+
60221
+ Statistics about the runs for a given workflow
60222
+
60223
+ ### <a name="workflow-statistics-schema"></a> Schema
60224
+
60225
+ ```json
60226
+ {
60227
+ "$schema": "http://json-schema.org/draft-04/schema#",
60228
+ "type": "object",
60229
+ "properties": {
60230
+ "flowVersion": {
60231
+ "type": "string",
60232
+ "minLength": 1,
60233
+ "maxLength": 255
60234
+ },
60235
+ "flowVersionId": {
60236
+ "type": "string",
60237
+ "pattern": "^[A-Fa-f\\d]{24}$"
60238
+ },
60239
+ "deviceId": {
60240
+ "type": "string",
60241
+ "pattern": "^[A-Fa-f\\d]{24}$"
60242
+ },
60243
+ "start": {
60244
+ "type": "string",
60245
+ "format": "date-time"
60246
+ },
60247
+ "end": {
60248
+ "type": "string",
60249
+ "format": "date-time"
60250
+ },
60251
+ "resolution": {
60252
+ "type": "number"
60253
+ },
60254
+ "metrics": {
60255
+ "type": "array",
60256
+ "items": {
60257
+ "type": "object",
60258
+ "properties": {
60259
+ "time": {
60260
+ "type": "string",
60261
+ "format": "date-time"
60262
+ },
60263
+ "pathsFailed": {
60264
+ "type": "number"
60265
+ },
60266
+ "pathsCompleted": {
60267
+ "type": "number"
60268
+ },
60269
+ "runCount": {
60270
+ "type": "number"
60271
+ },
60272
+ "wallTime": {
60273
+ "type": "number"
60274
+ }
60275
+ }
60276
+ }
60277
+ }
60278
+ }
60279
+ }
60280
+ ```
60281
+ ### <a name="workflow-statistics-example"></a> Example
60282
+
60283
+ ```json
60284
+ {
60285
+ "start": "2016-06-03T00:00:00.000Z",
60286
+ "end": "2016-06-04T00:00:00.000Z",
60287
+ "resolution": 86400000,
60288
+ "metrics": [
60289
+ {
60290
+ "time": "2016-06-03T00:00:00.000Z",
60291
+ "pathsFailed": 0,
60292
+ "pathsCompleted": 1,
60293
+ "runCount": 1,
60294
+ "wallTime": 450
60295
+ }
60296
+ ]
60297
+ }
60298
+ ```
60299
+
60300
+ <br/>
60301
+
60009
60302
  ## Workflow Storage Entries
60010
60303
 
60011
60304
  Set of persistent workflow storage values
@@ -83442,23 +83735,27 @@ Schema for the body of a Github login request
83442
83735
  "file.upload",
83443
83736
  "files.get",
83444
83737
  "files.post",
83738
+ "flow.clearStorageEntries",
83445
83739
  "flow.debug",
83446
83740
  "flow.delete",
83447
- "flow.clearStorageEntries",
83741
+ "flow.errors",
83448
83742
  "flow.get",
83449
83743
  "flow.getStorageEntries",
83450
83744
  "flow.log",
83451
83745
  "flow.patch",
83452
83746
  "flow.pressVirtualButton",
83453
83747
  "flow.setStorageEntry",
83748
+ "flow.stats",
83454
83749
  "flows.get",
83455
83750
  "flows.getByVersion",
83456
83751
  "flows.import",
83457
83752
  "flows.post",
83458
83753
  "flowVersion.delete",
83754
+ "flowVersion.errors",
83459
83755
  "flowVersion.get",
83460
83756
  "flowVersion.log",
83461
83757
  "flowVersion.patch",
83758
+ "flowVersion.stats",
83462
83759
  "flowVersions.get",
83463
83760
  "flowVersions.post",
83464
83761
  "integration.delete",
@@ -86602,6 +86899,95 @@ Schema for a single Notebook
86602
86899
  ],
86603
86900
  "additionalProperties": false
86604
86901
  },
86902
+ {
86903
+ "type": "object",
86904
+ "properties": {
86905
+ "inputType": {
86906
+ "type": "string",
86907
+ "enum": [
86908
+ "deviceConnectionHistory"
86909
+ ]
86910
+ },
86911
+ "fileName": {
86912
+ "oneOf": [
86913
+ {
86914
+ "type": "string",
86915
+ "pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
86916
+ },
86917
+ {
86918
+ "type": "string",
86919
+ "minLength": 4,
86920
+ "maxLength": 255,
86921
+ "pattern": ".*{{.+}}.*"
86922
+ }
86923
+ ]
86924
+ },
86925
+ "deviceTags": {
86926
+ "type": "array",
86927
+ "maxItems": 100,
86928
+ "items": {
86929
+ "type": "object",
86930
+ "properties": {
86931
+ "key": {
86932
+ "oneOf": [
86933
+ {
86934
+ "type": "string",
86935
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
86936
+ },
86937
+ {
86938
+ "type": "string",
86939
+ "minLength": 4,
86940
+ "maxLength": 255,
86941
+ "pattern": ".*{{.+}}.*"
86942
+ }
86943
+ ]
86944
+ },
86945
+ "value": {
86946
+ "type": "string",
86947
+ "minLength": 1,
86948
+ "maxLength": 255
86949
+ }
86950
+ },
86951
+ "additionalProperties": false
86952
+ }
86953
+ },
86954
+ "deviceIds": {
86955
+ "type": "array",
86956
+ "maxItems": 100,
86957
+ "items": {
86958
+ "oneOf": [
86959
+ {
86960
+ "type": "string",
86961
+ "pattern": "^[A-Fa-f\\d]{24}$"
86962
+ },
86963
+ {
86964
+ "type": "string",
86965
+ "minLength": 4,
86966
+ "maxLength": 255,
86967
+ "pattern": ".*{{.+}}.*"
86968
+ }
86969
+ ]
86970
+ }
86971
+ },
86972
+ "queryJson": {
86973
+ "type": "string",
86974
+ "maxLength": 8192
86975
+ },
86976
+ "start": {
86977
+ "type": "number"
86978
+ },
86979
+ "end": {
86980
+ "type": "number"
86981
+ }
86982
+ },
86983
+ "required": [
86984
+ "inputType",
86985
+ "fileName",
86986
+ "start",
86987
+ "end"
86988
+ ],
86989
+ "additionalProperties": false
86990
+ },
86605
86991
  {
86606
86992
  "type": "object",
86607
86993
  "properties": {
@@ -87496,6 +87882,95 @@ Schema for the body of a Notebook modification request
87496
87882
  ],
87497
87883
  "additionalProperties": false
87498
87884
  },
87885
+ {
87886
+ "type": "object",
87887
+ "properties": {
87888
+ "inputType": {
87889
+ "type": "string",
87890
+ "enum": [
87891
+ "deviceConnectionHistory"
87892
+ ]
87893
+ },
87894
+ "fileName": {
87895
+ "oneOf": [
87896
+ {
87897
+ "type": "string",
87898
+ "pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
87899
+ },
87900
+ {
87901
+ "type": "string",
87902
+ "minLength": 4,
87903
+ "maxLength": 255,
87904
+ "pattern": ".*{{.+}}.*"
87905
+ }
87906
+ ]
87907
+ },
87908
+ "deviceTags": {
87909
+ "type": "array",
87910
+ "maxItems": 100,
87911
+ "items": {
87912
+ "type": "object",
87913
+ "properties": {
87914
+ "key": {
87915
+ "oneOf": [
87916
+ {
87917
+ "type": "string",
87918
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
87919
+ },
87920
+ {
87921
+ "type": "string",
87922
+ "minLength": 4,
87923
+ "maxLength": 255,
87924
+ "pattern": ".*{{.+}}.*"
87925
+ }
87926
+ ]
87927
+ },
87928
+ "value": {
87929
+ "type": "string",
87930
+ "minLength": 1,
87931
+ "maxLength": 255
87932
+ }
87933
+ },
87934
+ "additionalProperties": false
87935
+ }
87936
+ },
87937
+ "deviceIds": {
87938
+ "type": "array",
87939
+ "maxItems": 100,
87940
+ "items": {
87941
+ "oneOf": [
87942
+ {
87943
+ "type": "string",
87944
+ "pattern": "^[A-Fa-f\\d]{24}$"
87945
+ },
87946
+ {
87947
+ "type": "string",
87948
+ "minLength": 4,
87949
+ "maxLength": 255,
87950
+ "pattern": ".*{{.+}}.*"
87951
+ }
87952
+ ]
87953
+ }
87954
+ },
87955
+ "queryJson": {
87956
+ "type": "string",
87957
+ "maxLength": 8192
87958
+ },
87959
+ "start": {
87960
+ "type": "number"
87961
+ },
87962
+ "end": {
87963
+ "type": "number"
87964
+ }
87965
+ },
87966
+ "required": [
87967
+ "inputType",
87968
+ "fileName",
87969
+ "start",
87970
+ "end"
87971
+ ],
87972
+ "additionalProperties": false
87973
+ },
87499
87974
  {
87500
87975
  "type": "object",
87501
87976
  "properties": {
@@ -88007,6 +88482,95 @@ Schema for the body of an Notebook creation request
88007
88482
  ],
88008
88483
  "additionalProperties": false
88009
88484
  },
88485
+ {
88486
+ "type": "object",
88487
+ "properties": {
88488
+ "inputType": {
88489
+ "type": "string",
88490
+ "enum": [
88491
+ "deviceConnectionHistory"
88492
+ ]
88493
+ },
88494
+ "fileName": {
88495
+ "oneOf": [
88496
+ {
88497
+ "type": "string",
88498
+ "pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
88499
+ },
88500
+ {
88501
+ "type": "string",
88502
+ "minLength": 4,
88503
+ "maxLength": 255,
88504
+ "pattern": ".*{{.+}}.*"
88505
+ }
88506
+ ]
88507
+ },
88508
+ "deviceTags": {
88509
+ "type": "array",
88510
+ "maxItems": 100,
88511
+ "items": {
88512
+ "type": "object",
88513
+ "properties": {
88514
+ "key": {
88515
+ "oneOf": [
88516
+ {
88517
+ "type": "string",
88518
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
88519
+ },
88520
+ {
88521
+ "type": "string",
88522
+ "minLength": 4,
88523
+ "maxLength": 255,
88524
+ "pattern": ".*{{.+}}.*"
88525
+ }
88526
+ ]
88527
+ },
88528
+ "value": {
88529
+ "type": "string",
88530
+ "minLength": 1,
88531
+ "maxLength": 255
88532
+ }
88533
+ },
88534
+ "additionalProperties": false
88535
+ }
88536
+ },
88537
+ "deviceIds": {
88538
+ "type": "array",
88539
+ "maxItems": 100,
88540
+ "items": {
88541
+ "oneOf": [
88542
+ {
88543
+ "type": "string",
88544
+ "pattern": "^[A-Fa-f\\d]{24}$"
88545
+ },
88546
+ {
88547
+ "type": "string",
88548
+ "minLength": 4,
88549
+ "maxLength": 255,
88550
+ "pattern": ".*{{.+}}.*"
88551
+ }
88552
+ ]
88553
+ }
88554
+ },
88555
+ "queryJson": {
88556
+ "type": "string",
88557
+ "maxLength": 8192
88558
+ },
88559
+ "start": {
88560
+ "type": "number"
88561
+ },
88562
+ "end": {
88563
+ "type": "number"
88564
+ }
88565
+ },
88566
+ "required": [
88567
+ "inputType",
88568
+ "fileName",
88569
+ "start",
88570
+ "end"
88571
+ ],
88572
+ "additionalProperties": false
88573
+ },
88010
88574
  {
88011
88575
  "type": "object",
88012
88576
  "properties": {
@@ -88556,6 +89120,95 @@ Schema for a collection of Notebooks
88556
89120
  ],
88557
89121
  "additionalProperties": false
88558
89122
  },
89123
+ {
89124
+ "type": "object",
89125
+ "properties": {
89126
+ "inputType": {
89127
+ "type": "string",
89128
+ "enum": [
89129
+ "deviceConnectionHistory"
89130
+ ]
89131
+ },
89132
+ "fileName": {
89133
+ "oneOf": [
89134
+ {
89135
+ "type": "string",
89136
+ "pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
89137
+ },
89138
+ {
89139
+ "type": "string",
89140
+ "minLength": 4,
89141
+ "maxLength": 255,
89142
+ "pattern": ".*{{.+}}.*"
89143
+ }
89144
+ ]
89145
+ },
89146
+ "deviceTags": {
89147
+ "type": "array",
89148
+ "maxItems": 100,
89149
+ "items": {
89150
+ "type": "object",
89151
+ "properties": {
89152
+ "key": {
89153
+ "oneOf": [
89154
+ {
89155
+ "type": "string",
89156
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
89157
+ },
89158
+ {
89159
+ "type": "string",
89160
+ "minLength": 4,
89161
+ "maxLength": 255,
89162
+ "pattern": ".*{{.+}}.*"
89163
+ }
89164
+ ]
89165
+ },
89166
+ "value": {
89167
+ "type": "string",
89168
+ "minLength": 1,
89169
+ "maxLength": 255
89170
+ }
89171
+ },
89172
+ "additionalProperties": false
89173
+ }
89174
+ },
89175
+ "deviceIds": {
89176
+ "type": "array",
89177
+ "maxItems": 100,
89178
+ "items": {
89179
+ "oneOf": [
89180
+ {
89181
+ "type": "string",
89182
+ "pattern": "^[A-Fa-f\\d]{24}$"
89183
+ },
89184
+ {
89185
+ "type": "string",
89186
+ "minLength": 4,
89187
+ "maxLength": 255,
89188
+ "pattern": ".*{{.+}}.*"
89189
+ }
89190
+ ]
89191
+ }
89192
+ },
89193
+ "queryJson": {
89194
+ "type": "string",
89195
+ "maxLength": 8192
89196
+ },
89197
+ "start": {
89198
+ "type": "number"
89199
+ },
89200
+ "end": {
89201
+ "type": "number"
89202
+ }
89203
+ },
89204
+ "required": [
89205
+ "inputType",
89206
+ "fileName",
89207
+ "start",
89208
+ "end"
89209
+ ],
89210
+ "additionalProperties": false
89211
+ },
88559
89212
  {
88560
89213
  "type": "object",
88561
89214
  "properties": {
@@ -89540,7 +90193,7 @@ Schema for a single Organization
89540
90193
  "type": "array",
89541
90194
  "items": {
89542
90195
  "type": "string",
89543
- "maxLength": 1024,
90196
+ "maxLength": 45,
89544
90197
  "minLength": 3
89545
90198
  }
89546
90199
  }
@@ -90067,7 +90720,7 @@ Schema for the body of an Organization modification request
90067
90720
  "maxItems": 25,
90068
90721
  "items": {
90069
90722
  "type": "string",
90070
- "maxLength": 1024,
90723
+ "maxLength": 45,
90071
90724
  "minLength": 3
90072
90725
  }
90073
90726
  }
@@ -90579,7 +91232,7 @@ Schema for a collection of Organizations
90579
91232
  "type": "array",
90580
91233
  "items": {
90581
91234
  "type": "string",
90582
- "maxLength": 1024,
91235
+ "maxLength": 45,
90583
91236
  "minLength": 3
90584
91237
  }
90585
91238
  }
@@ -91128,7 +91781,7 @@ SAML Response body for login
91128
91781
  },
91129
91782
  "SAMLDomain": {
91130
91783
  "type": "string",
91131
- "maxLength": 1024,
91784
+ "maxLength": 45,
91132
91785
  "minLength": 3
91133
91786
  }
91134
91787
  },
@@ -91799,23 +92452,27 @@ Schema for the body of a User authentication request
91799
92452
  "file.upload",
91800
92453
  "files.get",
91801
92454
  "files.post",
92455
+ "flow.clearStorageEntries",
91802
92456
  "flow.debug",
91803
92457
  "flow.delete",
91804
- "flow.clearStorageEntries",
92458
+ "flow.errors",
91805
92459
  "flow.get",
91806
92460
  "flow.getStorageEntries",
91807
92461
  "flow.log",
91808
92462
  "flow.patch",
91809
92463
  "flow.pressVirtualButton",
91810
92464
  "flow.setStorageEntry",
92465
+ "flow.stats",
91811
92466
  "flows.get",
91812
92467
  "flows.getByVersion",
91813
92468
  "flows.import",
91814
92469
  "flows.post",
91815
92470
  "flowVersion.delete",
92471
+ "flowVersion.errors",
91816
92472
  "flowVersion.get",
91817
92473
  "flowVersion.log",
91818
92474
  "flowVersion.patch",
92475
+ "flowVersion.stats",
91819
92476
  "flowVersions.get",
91820
92477
  "flowVersions.post",
91821
92478
  "integration.delete",
@@ -92222,23 +92879,27 @@ Schema for the body of a User creation request
92222
92879
  "file.upload",
92223
92880
  "files.get",
92224
92881
  "files.post",
92882
+ "flow.clearStorageEntries",
92225
92883
  "flow.debug",
92226
92884
  "flow.delete",
92227
- "flow.clearStorageEntries",
92885
+ "flow.errors",
92228
92886
  "flow.get",
92229
92887
  "flow.getStorageEntries",
92230
92888
  "flow.log",
92231
92889
  "flow.patch",
92232
92890
  "flow.pressVirtualButton",
92233
92891
  "flow.setStorageEntry",
92892
+ "flow.stats",
92234
92893
  "flows.get",
92235
92894
  "flows.getByVersion",
92236
92895
  "flows.import",
92237
92896
  "flows.post",
92238
92897
  "flowVersion.delete",
92898
+ "flowVersion.errors",
92239
92899
  "flowVersion.get",
92240
92900
  "flowVersion.log",
92241
92901
  "flowVersion.patch",
92902
+ "flowVersion.stats",
92242
92903
  "flowVersions.get",
92243
92904
  "flowVersions.post",
92244
92905
  "integration.delete",