losant_rest 1.19.1 → 1.19.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +2373 -508
  3. data/docs/application.md +40 -0
  4. data/docs/me.md +6 -6
  5. data/lib/losant_rest/version.rb +1 -1
  6. data/lib/platform_rest/application.rb +48 -0
  7. data/lib/platform_rest/client.rb +2 -2
  8. data/lib/platform_rest/me.rb +6 -6
  9. data/schemas/apiTokenPost.json +1 -0
  10. data/schemas/application.json +166 -2
  11. data/schemas/applicationCreationByTemplateResult.json +166 -2
  12. data/schemas/applicationDashboardPost.json +6 -0
  13. data/schemas/applicationImportExecutions.json +205 -0
  14. data/schemas/applications.json +166 -2
  15. data/schemas/authedUser.json +4 -0
  16. data/schemas/credential.json +31 -1
  17. data/schemas/credentialPatch.json +28 -0
  18. data/schemas/credentialPost.json +35 -1
  19. data/schemas/credentials.json +31 -1
  20. data/schemas/dashboard.json +6 -0
  21. data/schemas/dashboardPatch.json +6 -0
  22. data/schemas/dashboardPost.json +6 -0
  23. data/schemas/dashboards.json +6 -0
  24. data/schemas/dataExport.json +1 -0
  25. data/schemas/devicesRemoveDataPost.json +2 -2
  26. data/schemas/githubLogin.json +1 -0
  27. data/schemas/historicalSummaries.json +16 -0
  28. data/schemas/historicalSummary.json +16 -0
  29. data/schemas/importIntoApplicationOptions.json +4 -0
  30. data/schemas/instance.json +21 -0
  31. data/schemas/instanceOrg.json +264 -0
  32. data/schemas/instanceOrgPatch.json +21 -0
  33. data/schemas/instanceOrgPost.json +21 -0
  34. data/schemas/instanceOrgs.json +264 -0
  35. data/schemas/instancePatch.json +21 -0
  36. data/schemas/instanceSandbox.json +46 -2
  37. data/schemas/instanceSandboxes.json +46 -2
  38. data/schemas/instances.json +21 -0
  39. data/schemas/me.json +46 -2
  40. data/schemas/multiFactorAuthDisable.json +20 -0
  41. data/schemas/multiFactorAuthEnable.json +25 -0
  42. data/schemas/multiFactorAuthInfo.json +15 -0
  43. data/schemas/org.json +55 -5
  44. data/schemas/orgPatch.json +8 -0
  45. data/schemas/orgPost.json +8 -0
  46. data/schemas/orgs.json +55 -5
  47. data/schemas/samlResponse.json +1 -0
  48. data/schemas/timeSeriesData.json +35 -2
  49. data/schemas/userCredentials.json +1 -0
  50. data/schemas/userPost.json +8 -0
  51. metadata +6 -2
data/docs/_schemas.md CHANGED
@@ -29,6 +29,7 @@
29
29
  * [Application Export Post Schema](#application-export-post-schema)
30
30
  * [Application Export Result](#application-export-result)
31
31
  * [Application Global Patch](#application-global-patch)
32
+ * [Application Import Executions](#application-import-executions)
32
33
  * [Application Key](#application-key)
33
34
  * [Application Key Patch](#application-key-patch)
34
35
  * [Application Key Post](#application-key-post)
@@ -113,7 +114,6 @@
113
114
  * [Devices Patch](#devices-patch)
114
115
  * [Devices Remove Data Post](#devices-remove-data-post)
115
116
  * [Devices Updated](#devices-updated)
116
- * [Disable Two Factor Auth](#disable-two-factor-auth)
117
117
  * [Edge Deployment](#edge-deployment)
118
118
  * [Edge Deployment Release](#edge-deployment-release)
119
119
  * [Edge Deployment Remove](#edge-deployment-remove)
@@ -126,7 +126,6 @@
126
126
  * [Embedded Deployment Remove](#embedded-deployment-remove)
127
127
  * [Embedded Deployment Replace](#embedded-deployment-replace)
128
128
  * [Embedded Deployments](#embedded-deployments)
129
- * [Enable Two Factor Auth](#enable-two-factor-auth)
130
129
  * [Error](#error)
131
130
  * [Event](#event)
132
131
  * [Event Patch](#event-patch)
@@ -229,6 +228,9 @@
229
228
  * [Me Patch](#me-patch)
230
229
  * [MQTT Publish Body](#mqtt-publish-body)
231
230
  * [Multi Device Command](#multi-device-command)
231
+ * [Disable Multi-Factor Authentication](#disable-multi-factor-authentication)
232
+ * [Enable Multi-Factor Authentication](#enable-multi-factor-authentication)
233
+ * [Multi-Factor Authentication Info](#multi-factor-authentication-info)
232
234
  * [Notebook](#notebook)
233
235
  * [Notebook Data Export Options](#notebook-data-export-options)
234
236
  * [Notebook Execution Logs](#notebook-execution-logs)
@@ -279,7 +281,6 @@
279
281
  * [Template Keywords](#template-keywords)
280
282
  * [Time Series Data](#time-series-data)
281
283
  * [Time Series Query](#time-series-query)
282
- * [Two Factor Auth Info](#two-factor-auth-info)
283
284
  * [User Credentials](#user-credentials)
284
285
  * [User Post](#user-post)
285
286
  * [Validate Context Error](#validate-context-error)
@@ -8792,6 +8793,7 @@ Schema for the body of an API Token creation request
8792
8793
  "application.deviceCounts",
8793
8794
  "application.notebookMinuteCounts",
8794
8795
  "application.search",
8796
+ "application.importLogs",
8795
8797
  "applicationApiToken.delete",
8796
8798
  "applicationApiToken.get",
8797
8799
  "applicationApiToken.patch",
@@ -9494,9 +9496,18 @@ Schema for a single Application
9494
9496
  "apiTokenCount": {
9495
9497
  "type": "integer"
9496
9498
  },
9499
+ "certificateCount": {
9500
+ "type": "integer"
9501
+ },
9502
+ "certificateAuthorityCount": {
9503
+ "type": "integer"
9504
+ },
9497
9505
  "credentialCount": {
9498
9506
  "type": "integer"
9499
9507
  },
9508
+ "dashCount": {
9509
+ "type": "integer"
9510
+ },
9500
9511
  "dataTableCount": {
9501
9512
  "type": "integer"
9502
9513
  },
@@ -9542,6 +9553,150 @@ Schema for a single Application
9542
9553
  "keyCount": {
9543
9554
  "type": "integer"
9544
9555
  },
9556
+ "notebookCount": {
9557
+ "type": "integer"
9558
+ },
9559
+ "resourceJobCount": {
9560
+ "type": "integer"
9561
+ },
9562
+ "webhookCount": {
9563
+ "type": "integer"
9564
+ },
9565
+ "payloadCount": {
9566
+ "title": "Payload Stats",
9567
+ "description": "Schema for the result of a payload stats request",
9568
+ "type": "object",
9569
+ "properties": {
9570
+ "dataTable": {
9571
+ "type": "object",
9572
+ "patternProperties": {
9573
+ ".*": {
9574
+ "type": "number"
9575
+ }
9576
+ }
9577
+ },
9578
+ "deviceCommand": {
9579
+ "type": "object",
9580
+ "patternProperties": {
9581
+ ".*": {
9582
+ "type": "number"
9583
+ }
9584
+ }
9585
+ },
9586
+ "deviceConnect": {
9587
+ "type": "object",
9588
+ "patternProperties": {
9589
+ ".*": {
9590
+ "type": "number"
9591
+ }
9592
+ }
9593
+ },
9594
+ "deviceDisconnect": {
9595
+ "type": "object",
9596
+ "patternProperties": {
9597
+ ".*": {
9598
+ "type": "number"
9599
+ }
9600
+ }
9601
+ },
9602
+ "deviceState": {
9603
+ "type": "object",
9604
+ "patternProperties": {
9605
+ ".*": {
9606
+ "type": "number"
9607
+ }
9608
+ }
9609
+ },
9610
+ "endpoint": {
9611
+ "type": "object",
9612
+ "patternProperties": {
9613
+ ".*": {
9614
+ "type": "number"
9615
+ }
9616
+ }
9617
+ },
9618
+ "event": {
9619
+ "type": "object",
9620
+ "patternProperties": {
9621
+ ".*": {
9622
+ "type": "number"
9623
+ }
9624
+ }
9625
+ },
9626
+ "flowError": {
9627
+ "type": "object",
9628
+ "patternProperties": {
9629
+ ".*": {
9630
+ "type": "number"
9631
+ }
9632
+ }
9633
+ },
9634
+ "integration": {
9635
+ "type": "object",
9636
+ "patternProperties": {
9637
+ ".*": {
9638
+ "type": "number"
9639
+ }
9640
+ }
9641
+ },
9642
+ "mqttIn": {
9643
+ "type": "object",
9644
+ "patternProperties": {
9645
+ ".*": {
9646
+ "type": "number"
9647
+ }
9648
+ }
9649
+ },
9650
+ "mqttOut": {
9651
+ "type": "object",
9652
+ "patternProperties": {
9653
+ ".*": {
9654
+ "type": "number"
9655
+ }
9656
+ }
9657
+ },
9658
+ "notebook": {
9659
+ "type": "object",
9660
+ "patternProperties": {
9661
+ ".*": {
9662
+ "type": "number"
9663
+ }
9664
+ }
9665
+ },
9666
+ "timer": {
9667
+ "type": "object",
9668
+ "patternProperties": {
9669
+ ".*": {
9670
+ "type": "number"
9671
+ }
9672
+ }
9673
+ },
9674
+ "virtualButton": {
9675
+ "type": "object",
9676
+ "patternProperties": {
9677
+ ".*": {
9678
+ "type": "number"
9679
+ }
9680
+ }
9681
+ },
9682
+ "webhook": {
9683
+ "type": "object",
9684
+ "patternProperties": {
9685
+ ".*": {
9686
+ "type": "number"
9687
+ }
9688
+ }
9689
+ },
9690
+ "resourceJob": {
9691
+ "type": "object",
9692
+ "patternProperties": {
9693
+ ".*": {
9694
+ "type": "number"
9695
+ }
9696
+ }
9697
+ }
9698
+ }
9699
+ },
9545
9700
  "storageStats": {
9546
9701
  "type": "object",
9547
9702
  "properties": {
@@ -9553,8 +9708,19 @@ Schema for a single Application
9553
9708
  }
9554
9709
  }
9555
9710
  },
9556
- "webhookCount": {
9557
- "type": "integer"
9711
+ "notebookStats": {
9712
+ "type": "object",
9713
+ "properties": {
9714
+ "awaitingCompletion": {
9715
+ "type": "integer"
9716
+ },
9717
+ "minutesThisPeriod": {
9718
+ "type": "integer"
9719
+ },
9720
+ "runsThisPeriod": {
9721
+ "type": "integer"
9722
+ }
9723
+ }
9558
9724
  }
9559
9725
  }
9560
9726
  },
@@ -11014,9 +11180,18 @@ Schema for creating an application by template result
11014
11180
  "apiTokenCount": {
11015
11181
  "type": "integer"
11016
11182
  },
11183
+ "certificateCount": {
11184
+ "type": "integer"
11185
+ },
11186
+ "certificateAuthorityCount": {
11187
+ "type": "integer"
11188
+ },
11017
11189
  "credentialCount": {
11018
11190
  "type": "integer"
11019
11191
  },
11192
+ "dashCount": {
11193
+ "type": "integer"
11194
+ },
11020
11195
  "dataTableCount": {
11021
11196
  "type": "integer"
11022
11197
  },
@@ -11062,6 +11237,150 @@ Schema for creating an application by template result
11062
11237
  "keyCount": {
11063
11238
  "type": "integer"
11064
11239
  },
11240
+ "notebookCount": {
11241
+ "type": "integer"
11242
+ },
11243
+ "resourceJobCount": {
11244
+ "type": "integer"
11245
+ },
11246
+ "webhookCount": {
11247
+ "type": "integer"
11248
+ },
11249
+ "payloadCount": {
11250
+ "title": "Payload Stats",
11251
+ "description": "Schema for the result of a payload stats request",
11252
+ "type": "object",
11253
+ "properties": {
11254
+ "dataTable": {
11255
+ "type": "object",
11256
+ "patternProperties": {
11257
+ ".*": {
11258
+ "type": "number"
11259
+ }
11260
+ }
11261
+ },
11262
+ "deviceCommand": {
11263
+ "type": "object",
11264
+ "patternProperties": {
11265
+ ".*": {
11266
+ "type": "number"
11267
+ }
11268
+ }
11269
+ },
11270
+ "deviceConnect": {
11271
+ "type": "object",
11272
+ "patternProperties": {
11273
+ ".*": {
11274
+ "type": "number"
11275
+ }
11276
+ }
11277
+ },
11278
+ "deviceDisconnect": {
11279
+ "type": "object",
11280
+ "patternProperties": {
11281
+ ".*": {
11282
+ "type": "number"
11283
+ }
11284
+ }
11285
+ },
11286
+ "deviceState": {
11287
+ "type": "object",
11288
+ "patternProperties": {
11289
+ ".*": {
11290
+ "type": "number"
11291
+ }
11292
+ }
11293
+ },
11294
+ "endpoint": {
11295
+ "type": "object",
11296
+ "patternProperties": {
11297
+ ".*": {
11298
+ "type": "number"
11299
+ }
11300
+ }
11301
+ },
11302
+ "event": {
11303
+ "type": "object",
11304
+ "patternProperties": {
11305
+ ".*": {
11306
+ "type": "number"
11307
+ }
11308
+ }
11309
+ },
11310
+ "flowError": {
11311
+ "type": "object",
11312
+ "patternProperties": {
11313
+ ".*": {
11314
+ "type": "number"
11315
+ }
11316
+ }
11317
+ },
11318
+ "integration": {
11319
+ "type": "object",
11320
+ "patternProperties": {
11321
+ ".*": {
11322
+ "type": "number"
11323
+ }
11324
+ }
11325
+ },
11326
+ "mqttIn": {
11327
+ "type": "object",
11328
+ "patternProperties": {
11329
+ ".*": {
11330
+ "type": "number"
11331
+ }
11332
+ }
11333
+ },
11334
+ "mqttOut": {
11335
+ "type": "object",
11336
+ "patternProperties": {
11337
+ ".*": {
11338
+ "type": "number"
11339
+ }
11340
+ }
11341
+ },
11342
+ "notebook": {
11343
+ "type": "object",
11344
+ "patternProperties": {
11345
+ ".*": {
11346
+ "type": "number"
11347
+ }
11348
+ }
11349
+ },
11350
+ "timer": {
11351
+ "type": "object",
11352
+ "patternProperties": {
11353
+ ".*": {
11354
+ "type": "number"
11355
+ }
11356
+ }
11357
+ },
11358
+ "virtualButton": {
11359
+ "type": "object",
11360
+ "patternProperties": {
11361
+ ".*": {
11362
+ "type": "number"
11363
+ }
11364
+ }
11365
+ },
11366
+ "webhook": {
11367
+ "type": "object",
11368
+ "patternProperties": {
11369
+ ".*": {
11370
+ "type": "number"
11371
+ }
11372
+ }
11373
+ },
11374
+ "resourceJob": {
11375
+ "type": "object",
11376
+ "patternProperties": {
11377
+ ".*": {
11378
+ "type": "number"
11379
+ }
11380
+ }
11381
+ }
11382
+ }
11383
+ },
11065
11384
  "storageStats": {
11066
11385
  "type": "object",
11067
11386
  "properties": {
@@ -11073,8 +11392,19 @@ Schema for creating an application by template result
11073
11392
  }
11074
11393
  }
11075
11394
  },
11076
- "webhookCount": {
11077
- "type": "integer"
11395
+ "notebookStats": {
11396
+ "type": "object",
11397
+ "properties": {
11398
+ "awaitingCompletion": {
11399
+ "type": "integer"
11400
+ },
11401
+ "minutesThisPeriod": {
11402
+ "type": "integer"
11403
+ },
11404
+ "runsThisPeriod": {
11405
+ "type": "integer"
11406
+ }
11407
+ }
11078
11408
  }
11079
11409
  }
11080
11410
  },
@@ -12213,6 +12543,9 @@ Schema for the body of an Application scoped Dashboard creation request
12213
12543
  "vega4",
12214
12544
  "vega5"
12215
12545
  ]
12546
+ },
12547
+ "tooltipEventSubscribe": {
12548
+ "type": "boolean"
12216
12549
  }
12217
12550
  },
12218
12551
  "additionalProperties": false
@@ -13509,6 +13842,9 @@ Schema for the body of an Application scoped Dashboard creation request
13509
13842
  "realTime": {
13510
13843
  "type": "boolean"
13511
13844
  },
13845
+ "hideLegend": {
13846
+ "type": "boolean"
13847
+ },
13512
13848
  "disallowUserSelectedDuration": {
13513
13849
  "type": "boolean"
13514
13850
  },
@@ -17665,146 +18001,284 @@ Schema for the body of an Application Global modification request
17665
18001
 
17666
18002
  <br/>
17667
18003
 
17668
- ## Application Key
18004
+ ## Application Import Executions
17669
18005
 
17670
- Schema for a single Application Key
18006
+ Schema for a list Application import executions
17671
18007
 
17672
- ### <a name="application-key-schema"></a> Schema
18008
+ ### <a name="application-import-executions-schema"></a> Schema
17673
18009
 
17674
18010
  ```json
17675
18011
  {
17676
18012
  "$schema": "http://json-schema.org/draft-07/schema#",
17677
- "type": "object",
17678
- "properties": {
17679
- "id": {
17680
- "type": "string",
17681
- "pattern": "^[A-Fa-f\\d]{24}$"
17682
- },
17683
- "applicationKeyId": {
17684
- "type": "string",
17685
- "pattern": "^[A-Fa-f\\d]{24}$"
17686
- },
17687
- "applicationId": {
17688
- "type": "string",
17689
- "pattern": "^[A-Fa-f\\d]{24}$"
17690
- },
17691
- "creationDate": {
17692
- "type": "string",
17693
- "format": "date-time"
17694
- },
17695
- "lastUpdated": {
17696
- "type": "string",
17697
- "format": "date-time"
17698
- },
17699
- "key": {
17700
- "type": "string"
17701
- },
17702
- "status": {
17703
- "type": "string",
17704
- "enum": [
17705
- "active",
17706
- "inactive"
17707
- ]
17708
- },
17709
- "deviceIds": {
17710
- "type": "array",
17711
- "items": {
18013
+ "type": "array",
18014
+ "items": {
18015
+ "type": "object",
18016
+ "properties": {
18017
+ "id": {
17712
18018
  "type": "string",
17713
18019
  "pattern": "^[A-Fa-f\\d]{24}$"
17714
18020
  },
17715
- "maxItems": 1000
17716
- },
17717
- "deviceTags": {
17718
- "type": "array",
17719
- "items": {
18021
+ "importSourceType": {
18022
+ "type": "string",
18023
+ "enum": [
18024
+ "importBundle",
18025
+ "importUrl",
18026
+ "fromApplication"
18027
+ ]
18028
+ },
18029
+ "importExecutionId": {
18030
+ "type": "string",
18031
+ "pattern": "^[A-Fa-f\\d]{24}$"
18032
+ },
18033
+ "applicationId": {
18034
+ "type": "string",
18035
+ "pattern": "^[A-Fa-f\\d]{24}$"
18036
+ },
18037
+ "fromApplicationId": {
18038
+ "type": "string",
18039
+ "pattern": "^[A-Fa-f\\d]{24}$"
18040
+ },
18041
+ "runQueuedAt": {
18042
+ "type": "string",
18043
+ "format": "date-time"
18044
+ },
18045
+ "runStartedAt": {
18046
+ "type": "string",
18047
+ "format": "date-time"
18048
+ },
18049
+ "runCompletedAt": {
18050
+ "type": "string",
18051
+ "format": "date-time"
18052
+ },
18053
+ "status": {
18054
+ "type": "string",
18055
+ "enum": [
18056
+ "queued",
18057
+ "inProgress",
18058
+ "completed",
18059
+ "errored",
18060
+ "failed"
18061
+ ]
18062
+ },
18063
+ "dryRun": {
18064
+ "type": "boolean"
18065
+ },
18066
+ "conflictBehavior": {
18067
+ "type": "string",
18068
+ "enum": [
18069
+ "create",
18070
+ "error",
18071
+ "retain",
18072
+ "replace"
18073
+ ],
18074
+ "default": "create"
18075
+ },
18076
+ "callbackUrl": {
18077
+ "type": "string",
18078
+ "format": "uri",
18079
+ "maxLength": 1024
18080
+ },
18081
+ "email": {
18082
+ "type": "string",
18083
+ "format": "email",
18084
+ "maxLength": 1024
18085
+ },
18086
+ "include": {
18087
+ "type": "array",
18088
+ "items": {
18089
+ "enum": [
18090
+ "ApplicationCertificateAuthority",
18091
+ "Dashboard",
18092
+ "DataTableRow",
18093
+ "DataTable",
18094
+ "DeviceRecipe",
18095
+ "Device",
18096
+ "ExperienceDevelopConfig",
18097
+ "ExperienceEndpoint",
18098
+ "ExperienceFlowVersion",
18099
+ "ExperienceGroup",
18100
+ "ExperienceUser",
18101
+ "ExperienceVersion",
18102
+ "ExperienceView",
18103
+ "File",
18104
+ "FlowVersion",
18105
+ "Flow",
18106
+ "Global",
18107
+ "Integration",
18108
+ "Notebook",
18109
+ "Webhook",
18110
+ "ResourceJob"
18111
+ ]
18112
+ },
18113
+ "uniqueItems": true
18114
+ },
18115
+ "jobId": {
18116
+ "type": "string",
18117
+ "maxLength": 21
18118
+ },
18119
+ "sourceId": {
18120
+ "type": "string",
18121
+ "pattern": "^[A-Fa-f\\d]{24}$"
18122
+ },
18123
+ "sourceType": {
18124
+ "type": "string",
18125
+ "enum": [
18126
+ "flow",
18127
+ "user",
18128
+ "device",
18129
+ "apiToken",
18130
+ "notebook"
18131
+ ]
18132
+ },
18133
+ "error": {
17720
18134
  "type": "object",
17721
18135
  "properties": {
17722
- "key": {
17723
- "type": "string",
17724
- "pattern": "^[0-9a-zA-Z_-]{1,255}$"
18136
+ "name": {
18137
+ "type": "string"
17725
18138
  },
17726
- "value": {
18139
+ "message": {
18140
+ "type": "string"
18141
+ }
18142
+ }
18143
+ },
18144
+ "dryRunResults": {
18145
+ "type": "object",
18146
+ "properties": {
18147
+ "limitErrors": {
18148
+ "type": "array",
18149
+ "items": {
18150
+ "enum": [
18151
+ "ApplicationCertificateAuthority",
18152
+ "Dashboard",
18153
+ "DataTableRow",
18154
+ "DataTable",
18155
+ "DeviceRecipe",
18156
+ "Device",
18157
+ "ExperienceDevelopConfig",
18158
+ "ExperienceEndpoint",
18159
+ "ExperienceFlowVersion",
18160
+ "ExperienceGroup",
18161
+ "ExperienceUser",
18162
+ "ExperienceVersion",
18163
+ "ExperienceView",
18164
+ "File",
18165
+ "FlowVersion",
18166
+ "Flow",
18167
+ "Global",
18168
+ "Integration",
18169
+ "Notebook",
18170
+ "Webhook",
18171
+ "ResourceJob"
18172
+ ]
18173
+ },
18174
+ "uniqueItems": true
18175
+ },
18176
+ "url": {
17727
18177
  "type": "string",
17728
- "minLength": 1,
17729
- "maxLength": 255
18178
+ "format": "uri",
18179
+ "maxLength": 1024
17730
18180
  }
17731
- },
17732
- "additionalProperties": false
18181
+ }
17733
18182
  },
17734
- "maxItems": 100
17735
- },
17736
- "description": {
17737
- "type": "string",
17738
- "maxLength": 32767
17739
- },
17740
- "filterType": {
17741
- "oneOf": [
17742
- {
17743
- "type": "string",
17744
- "enum": [
17745
- "all",
17746
- "whitelist",
17747
- "blacklist"
17748
- ]
17749
- },
17750
- {
17751
- "type": "string",
17752
- "enum": [
17753
- "none"
17754
- ]
18183
+ "validationErrors": {
18184
+ "type": "array",
18185
+ "items": {
18186
+ "type": "object",
18187
+ "properties": {
18188
+ "type": {
18189
+ "type": "string"
18190
+ },
18191
+ "name": {
18192
+ "type": "string"
18193
+ },
18194
+ "id": {
18195
+ "type": "string"
18196
+ },
18197
+ "message": {
18198
+ "type": "string"
18199
+ }
18200
+ }
17755
18201
  }
17756
- ]
17757
- },
17758
- "pubTopics": {
17759
- "type": "array",
17760
- "items": {
18202
+ },
18203
+ "importedFileUrl": {
17761
18204
  "type": "string",
17762
- "minLength": 1,
18205
+ "format": "uri",
17763
18206
  "maxLength": 1024
17764
- }
17765
- },
17766
- "subTopics": {
17767
- "type": "array",
17768
- "items": {
18207
+ },
18208
+ "importUrl": {
17769
18209
  "type": "string",
17770
- "minLength": 1,
18210
+ "format": "uri",
17771
18211
  "maxLength": 1024
17772
18212
  }
17773
18213
  }
17774
18214
  }
17775
18215
  }
17776
18216
  ```
17777
- ### <a name="application-key-example"></a> Example
18217
+ ### <a name="application-import-executions-example"></a> Example
17778
18218
 
17779
18219
  ```json
17780
- {
17781
- "id": "575ec76c7ae143cd83dc4a96",
17782
- "applicationKeyId": "575ec76c7ae143cd83dc4a96",
17783
- "applicationId": "575ec8687ae143cd83dc4a97",
17784
- "creationDate": "2016-06-13T04:00:00.000Z",
17785
- "lastUpdated": "2016-06-13T04:00:00.000Z",
17786
- "key": "this_would_be_the_key",
17787
- "status": "active",
17788
- "description": "An example key description",
17789
- "filterType": "all",
17790
- "pubTopics": [],
17791
- "subTopics": []
17792
- }
18220
+ [
18221
+ {
18222
+ "importExecutionId": "575ec76c7ae143cd83dc4a96",
18223
+ "id": "575ec76c7ae143cd83dc4a96",
18224
+ "importSourceType": "importBundle",
18225
+ "status": "completed",
18226
+ "conflictBehavior": "create",
18227
+ "dryRun": false,
18228
+ "email": "test@losant.com",
18229
+ "include": [
18230
+ "ExperienceUser",
18231
+ "ExperienceEndpoint",
18232
+ "ExperienceGroup",
18233
+ "ExperienceVersion",
18234
+ "ExperienceView"
18235
+ ],
18236
+ "applicationId": "575ec8687ae143cd83dc4a97",
18237
+ "sourceId": "575ec8687ae143cd83dc4a96",
18238
+ "sourceType": "user",
18239
+ "runCompletedAt": "2016-06-13T04:00:00.000Z",
18240
+ "importedFileUrl": "https://example.com/my/filename.zip",
18241
+ "runStartedAt": "2016-06-13T04:00:00.000Z"
18242
+ }
18243
+ ]
17793
18244
  ```
17794
18245
 
17795
18246
  <br/>
17796
18247
 
17797
- ## Application Key Patch
18248
+ ## Application Key
17798
18249
 
17799
- Schema for the body of an Application Key modification request
18250
+ Schema for a single Application Key
17800
18251
 
17801
- ### <a name="application-key-patch-schema"></a> Schema
18252
+ ### <a name="application-key-schema"></a> Schema
17802
18253
 
17803
18254
  ```json
17804
18255
  {
17805
18256
  "$schema": "http://json-schema.org/draft-07/schema#",
17806
18257
  "type": "object",
17807
18258
  "properties": {
18259
+ "id": {
18260
+ "type": "string",
18261
+ "pattern": "^[A-Fa-f\\d]{24}$"
18262
+ },
18263
+ "applicationKeyId": {
18264
+ "type": "string",
18265
+ "pattern": "^[A-Fa-f\\d]{24}$"
18266
+ },
18267
+ "applicationId": {
18268
+ "type": "string",
18269
+ "pattern": "^[A-Fa-f\\d]{24}$"
18270
+ },
18271
+ "creationDate": {
18272
+ "type": "string",
18273
+ "format": "date-time"
18274
+ },
18275
+ "lastUpdated": {
18276
+ "type": "string",
18277
+ "format": "date-time"
18278
+ },
18279
+ "key": {
18280
+ "type": "string"
18281
+ },
17808
18282
  "status": {
17809
18283
  "type": "string",
17810
18284
  "enum": [
@@ -17812,70 +18286,176 @@ Schema for the body of an Application Key modification request
17812
18286
  "inactive"
17813
18287
  ]
17814
18288
  },
17815
- "description": {
17816
- "type": "string",
17817
- "maxLength": 32767
17818
- },
17819
- "filterType": {
17820
- "oneOf": [
17821
- {
17822
- "type": "string",
17823
- "enum": [
17824
- "all",
17825
- "whitelist",
17826
- "blacklist"
17827
- ]
17828
- },
17829
- {
17830
- "type": "string",
17831
- "enum": [
17832
- "none"
17833
- ]
17834
- }
17835
- ]
17836
- },
17837
- "pubTopics": {
17838
- "type": "array",
17839
- "items": {
17840
- "type": "string",
17841
- "minLength": 1,
17842
- "maxLength": 1024
17843
- }
17844
- },
17845
- "subTopics": {
17846
- "type": "array",
17847
- "items": {
17848
- "type": "string",
17849
- "minLength": 1,
17850
- "maxLength": 1024
17851
- }
17852
- }
17853
- },
17854
- "additionalProperties": false
17855
- }
17856
- ```
17857
- ### <a name="application-key-patch-example"></a> Example
17858
-
17859
- ```json
17860
- {
17861
- "status": "active",
17862
- "description": "An example updated key description"
17863
- }
17864
- ```
17865
-
17866
- <br/>
17867
-
17868
- ## Application Key Post
17869
-
17870
- Schema for the body of an Application Key creation request
17871
-
17872
- ### <a name="application-key-post-schema"></a> Schema
17873
-
17874
- ```json
17875
- {
17876
- "$schema": "http://json-schema.org/draft-07/schema#",
17877
- "type": "object",
17878
- "properties": {
18289
+ "deviceIds": {
18290
+ "type": "array",
18291
+ "items": {
18292
+ "type": "string",
18293
+ "pattern": "^[A-Fa-f\\d]{24}$"
18294
+ },
18295
+ "maxItems": 1000
18296
+ },
18297
+ "deviceTags": {
18298
+ "type": "array",
18299
+ "items": {
18300
+ "type": "object",
18301
+ "properties": {
18302
+ "key": {
18303
+ "type": "string",
18304
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
18305
+ },
18306
+ "value": {
18307
+ "type": "string",
18308
+ "minLength": 1,
18309
+ "maxLength": 255
18310
+ }
18311
+ },
18312
+ "additionalProperties": false
18313
+ },
18314
+ "maxItems": 100
18315
+ },
18316
+ "description": {
18317
+ "type": "string",
18318
+ "maxLength": 32767
18319
+ },
18320
+ "filterType": {
18321
+ "oneOf": [
18322
+ {
18323
+ "type": "string",
18324
+ "enum": [
18325
+ "all",
18326
+ "whitelist",
18327
+ "blacklist"
18328
+ ]
18329
+ },
18330
+ {
18331
+ "type": "string",
18332
+ "enum": [
18333
+ "none"
18334
+ ]
18335
+ }
18336
+ ]
18337
+ },
18338
+ "pubTopics": {
18339
+ "type": "array",
18340
+ "items": {
18341
+ "type": "string",
18342
+ "minLength": 1,
18343
+ "maxLength": 1024
18344
+ }
18345
+ },
18346
+ "subTopics": {
18347
+ "type": "array",
18348
+ "items": {
18349
+ "type": "string",
18350
+ "minLength": 1,
18351
+ "maxLength": 1024
18352
+ }
18353
+ }
18354
+ }
18355
+ }
18356
+ ```
18357
+ ### <a name="application-key-example"></a> Example
18358
+
18359
+ ```json
18360
+ {
18361
+ "id": "575ec76c7ae143cd83dc4a96",
18362
+ "applicationKeyId": "575ec76c7ae143cd83dc4a96",
18363
+ "applicationId": "575ec8687ae143cd83dc4a97",
18364
+ "creationDate": "2016-06-13T04:00:00.000Z",
18365
+ "lastUpdated": "2016-06-13T04:00:00.000Z",
18366
+ "key": "this_would_be_the_key",
18367
+ "status": "active",
18368
+ "description": "An example key description",
18369
+ "filterType": "all",
18370
+ "pubTopics": [],
18371
+ "subTopics": []
18372
+ }
18373
+ ```
18374
+
18375
+ <br/>
18376
+
18377
+ ## Application Key Patch
18378
+
18379
+ Schema for the body of an Application Key modification request
18380
+
18381
+ ### <a name="application-key-patch-schema"></a> Schema
18382
+
18383
+ ```json
18384
+ {
18385
+ "$schema": "http://json-schema.org/draft-07/schema#",
18386
+ "type": "object",
18387
+ "properties": {
18388
+ "status": {
18389
+ "type": "string",
18390
+ "enum": [
18391
+ "active",
18392
+ "inactive"
18393
+ ]
18394
+ },
18395
+ "description": {
18396
+ "type": "string",
18397
+ "maxLength": 32767
18398
+ },
18399
+ "filterType": {
18400
+ "oneOf": [
18401
+ {
18402
+ "type": "string",
18403
+ "enum": [
18404
+ "all",
18405
+ "whitelist",
18406
+ "blacklist"
18407
+ ]
18408
+ },
18409
+ {
18410
+ "type": "string",
18411
+ "enum": [
18412
+ "none"
18413
+ ]
18414
+ }
18415
+ ]
18416
+ },
18417
+ "pubTopics": {
18418
+ "type": "array",
18419
+ "items": {
18420
+ "type": "string",
18421
+ "minLength": 1,
18422
+ "maxLength": 1024
18423
+ }
18424
+ },
18425
+ "subTopics": {
18426
+ "type": "array",
18427
+ "items": {
18428
+ "type": "string",
18429
+ "minLength": 1,
18430
+ "maxLength": 1024
18431
+ }
18432
+ }
18433
+ },
18434
+ "additionalProperties": false
18435
+ }
18436
+ ```
18437
+ ### <a name="application-key-patch-example"></a> Example
18438
+
18439
+ ```json
18440
+ {
18441
+ "status": "active",
18442
+ "description": "An example updated key description"
18443
+ }
18444
+ ```
18445
+
18446
+ <br/>
18447
+
18448
+ ## Application Key Post
18449
+
18450
+ Schema for the body of an Application Key creation request
18451
+
18452
+ ### <a name="application-key-post-schema"></a> Schema
18453
+
18454
+ ```json
18455
+ {
18456
+ "$schema": "http://json-schema.org/draft-07/schema#",
18457
+ "type": "object",
18458
+ "properties": {
17879
18459
  "deviceIds": {
17880
18460
  "type": "array",
17881
18461
  "items": {
@@ -19616,9 +20196,18 @@ Schema for a collection of Applications
19616
20196
  "apiTokenCount": {
19617
20197
  "type": "integer"
19618
20198
  },
20199
+ "certificateCount": {
20200
+ "type": "integer"
20201
+ },
20202
+ "certificateAuthorityCount": {
20203
+ "type": "integer"
20204
+ },
19619
20205
  "credentialCount": {
19620
20206
  "type": "integer"
19621
20207
  },
20208
+ "dashCount": {
20209
+ "type": "integer"
20210
+ },
19622
20211
  "dataTableCount": {
19623
20212
  "type": "integer"
19624
20213
  },
@@ -19664,6 +20253,150 @@ Schema for a collection of Applications
19664
20253
  "keyCount": {
19665
20254
  "type": "integer"
19666
20255
  },
20256
+ "notebookCount": {
20257
+ "type": "integer"
20258
+ },
20259
+ "resourceJobCount": {
20260
+ "type": "integer"
20261
+ },
20262
+ "webhookCount": {
20263
+ "type": "integer"
20264
+ },
20265
+ "payloadCount": {
20266
+ "title": "Payload Stats",
20267
+ "description": "Schema for the result of a payload stats request",
20268
+ "type": "object",
20269
+ "properties": {
20270
+ "dataTable": {
20271
+ "type": "object",
20272
+ "patternProperties": {
20273
+ ".*": {
20274
+ "type": "number"
20275
+ }
20276
+ }
20277
+ },
20278
+ "deviceCommand": {
20279
+ "type": "object",
20280
+ "patternProperties": {
20281
+ ".*": {
20282
+ "type": "number"
20283
+ }
20284
+ }
20285
+ },
20286
+ "deviceConnect": {
20287
+ "type": "object",
20288
+ "patternProperties": {
20289
+ ".*": {
20290
+ "type": "number"
20291
+ }
20292
+ }
20293
+ },
20294
+ "deviceDisconnect": {
20295
+ "type": "object",
20296
+ "patternProperties": {
20297
+ ".*": {
20298
+ "type": "number"
20299
+ }
20300
+ }
20301
+ },
20302
+ "deviceState": {
20303
+ "type": "object",
20304
+ "patternProperties": {
20305
+ ".*": {
20306
+ "type": "number"
20307
+ }
20308
+ }
20309
+ },
20310
+ "endpoint": {
20311
+ "type": "object",
20312
+ "patternProperties": {
20313
+ ".*": {
20314
+ "type": "number"
20315
+ }
20316
+ }
20317
+ },
20318
+ "event": {
20319
+ "type": "object",
20320
+ "patternProperties": {
20321
+ ".*": {
20322
+ "type": "number"
20323
+ }
20324
+ }
20325
+ },
20326
+ "flowError": {
20327
+ "type": "object",
20328
+ "patternProperties": {
20329
+ ".*": {
20330
+ "type": "number"
20331
+ }
20332
+ }
20333
+ },
20334
+ "integration": {
20335
+ "type": "object",
20336
+ "patternProperties": {
20337
+ ".*": {
20338
+ "type": "number"
20339
+ }
20340
+ }
20341
+ },
20342
+ "mqttIn": {
20343
+ "type": "object",
20344
+ "patternProperties": {
20345
+ ".*": {
20346
+ "type": "number"
20347
+ }
20348
+ }
20349
+ },
20350
+ "mqttOut": {
20351
+ "type": "object",
20352
+ "patternProperties": {
20353
+ ".*": {
20354
+ "type": "number"
20355
+ }
20356
+ }
20357
+ },
20358
+ "notebook": {
20359
+ "type": "object",
20360
+ "patternProperties": {
20361
+ ".*": {
20362
+ "type": "number"
20363
+ }
20364
+ }
20365
+ },
20366
+ "timer": {
20367
+ "type": "object",
20368
+ "patternProperties": {
20369
+ ".*": {
20370
+ "type": "number"
20371
+ }
20372
+ }
20373
+ },
20374
+ "virtualButton": {
20375
+ "type": "object",
20376
+ "patternProperties": {
20377
+ ".*": {
20378
+ "type": "number"
20379
+ }
20380
+ }
20381
+ },
20382
+ "webhook": {
20383
+ "type": "object",
20384
+ "patternProperties": {
20385
+ ".*": {
20386
+ "type": "number"
20387
+ }
20388
+ }
20389
+ },
20390
+ "resourceJob": {
20391
+ "type": "object",
20392
+ "patternProperties": {
20393
+ ".*": {
20394
+ "type": "number"
20395
+ }
20396
+ }
20397
+ }
20398
+ }
20399
+ },
19667
20400
  "storageStats": {
19668
20401
  "type": "object",
19669
20402
  "properties": {
@@ -19675,8 +20408,19 @@ Schema for a collection of Applications
19675
20408
  }
19676
20409
  }
19677
20410
  },
19678
- "webhookCount": {
19679
- "type": "integer"
20411
+ "notebookStats": {
20412
+ "type": "object",
20413
+ "properties": {
20414
+ "awaitingCompletion": {
20415
+ "type": "integer"
20416
+ },
20417
+ "minutesThisPeriod": {
20418
+ "type": "integer"
20419
+ },
20420
+ "runsThisPeriod": {
20421
+ "type": "integer"
20422
+ }
20423
+ }
19680
20424
  }
19681
20425
  }
19682
20426
  },
@@ -20626,6 +21370,10 @@ Schema for the successful response when authenticating a User
20626
21370
  },
20627
21371
  "needsToVerifyEmail": {
20628
21372
  "type": "boolean"
21373
+ },
21374
+ "orgId": {
21375
+ "type": "string",
21376
+ "pattern": "^[A-Fa-f\\d]{24}$"
20629
21377
  }
20630
21378
  },
20631
21379
  "required": [
@@ -20999,7 +21747,8 @@ Schema for a single Credential
20999
21747
  "enum": [
21000
21748
  "aws",
21001
21749
  "azure",
21002
- "gcp"
21750
+ "gcp",
21751
+ "http"
21003
21752
  ]
21004
21753
  },
21005
21754
  "awsConfig": {
@@ -21045,6 +21794,35 @@ Schema for a single Credential
21045
21794
  "required": [
21046
21795
  "keyMetaJson"
21047
21796
  ]
21797
+ },
21798
+ "httpConfig": {
21799
+ "type": "object",
21800
+ "properties": {
21801
+ "uriMatch": {
21802
+ "type": "string",
21803
+ "minLength": 8,
21804
+ "maxLength": 1024
21805
+ },
21806
+ "authMethod": {
21807
+ "type": "string",
21808
+ "enum": [
21809
+ "header",
21810
+ "queryParam",
21811
+ "basicAuth",
21812
+ "clientCertificate"
21813
+ ]
21814
+ },
21815
+ "publicValue": {
21816
+ "type": "string",
21817
+ "maxLength": 8196
21818
+ }
21819
+ },
21820
+ "additionalProperties": false,
21821
+ "required": [
21822
+ "uriMatch",
21823
+ "authMethod",
21824
+ "publicValue"
21825
+ ]
21048
21826
  }
21049
21827
  },
21050
21828
  "additionalProperties": false,
@@ -29499,6 +30277,34 @@ Schema for a Credential update request
29499
30277
  }
29500
30278
  },
29501
30279
  "additionalProperties": false
30280
+ },
30281
+ "httpConfig": {
30282
+ "type": "object",
30283
+ "properties": {
30284
+ "uriMatch": {
30285
+ "type": "string",
30286
+ "minLength": 8,
30287
+ "maxLength": 1024
30288
+ },
30289
+ "authMethod": {
30290
+ "type": "string",
30291
+ "enum": [
30292
+ "header",
30293
+ "queryParam",
30294
+ "basicAuth",
30295
+ "clientCertificate"
30296
+ ]
30297
+ },
30298
+ "publicValue": {
30299
+ "type": "string",
30300
+ "maxLength": 8196
30301
+ },
30302
+ "secretValue": {
30303
+ "type": "string",
30304
+ "maxLength": 8196
30305
+ }
30306
+ },
30307
+ "additionalProperties": false
29502
30308
  }
29503
30309
  },
29504
30310
  "additionalProperties": false
@@ -29546,7 +30352,8 @@ Schema for a Credential creation request
29546
30352
  "enum": [
29547
30353
  "aws",
29548
30354
  "azure",
29549
- "gcp"
30355
+ "gcp",
30356
+ "http"
29550
30357
  ]
29551
30358
  },
29552
30359
  "awsConfig": {
@@ -29606,6 +30413,39 @@ Schema for a Credential creation request
29606
30413
  "required": [
29607
30414
  "keyJson"
29608
30415
  ]
30416
+ },
30417
+ "httpConfig": {
30418
+ "type": "object",
30419
+ "properties": {
30420
+ "uriMatch": {
30421
+ "type": "string",
30422
+ "minLength": 8,
30423
+ "maxLength": 1024
30424
+ },
30425
+ "authMethod": {
30426
+ "type": "string",
30427
+ "enum": [
30428
+ "header",
30429
+ "queryParam",
30430
+ "basicAuth",
30431
+ "clientCertificate"
30432
+ ]
30433
+ },
30434
+ "publicValue": {
30435
+ "type": "string",
30436
+ "maxLength": 8196
30437
+ },
30438
+ "secretValue": {
30439
+ "type": "string",
30440
+ "maxLength": 8196
30441
+ }
30442
+ },
30443
+ "additionalProperties": false,
30444
+ "required": [
30445
+ "uriMatch",
30446
+ "authMethod",
30447
+ "secretValue"
30448
+ ]
29609
30449
  }
29610
30450
  },
29611
30451
  "additionalProperties": false,
@@ -29706,7 +30546,8 @@ Schema for a collection of Credentials
29706
30546
  "enum": [
29707
30547
  "aws",
29708
30548
  "azure",
29709
- "gcp"
30549
+ "gcp",
30550
+ "http"
29710
30551
  ]
29711
30552
  },
29712
30553
  "awsConfig": {
@@ -29752,6 +30593,35 @@ Schema for a collection of Credentials
29752
30593
  "required": [
29753
30594
  "keyMetaJson"
29754
30595
  ]
30596
+ },
30597
+ "httpConfig": {
30598
+ "type": "object",
30599
+ "properties": {
30600
+ "uriMatch": {
30601
+ "type": "string",
30602
+ "minLength": 8,
30603
+ "maxLength": 1024
30604
+ },
30605
+ "authMethod": {
30606
+ "type": "string",
30607
+ "enum": [
30608
+ "header",
30609
+ "queryParam",
30610
+ "basicAuth",
30611
+ "clientCertificate"
30612
+ ]
30613
+ },
30614
+ "publicValue": {
30615
+ "type": "string",
30616
+ "maxLength": 8196
30617
+ }
30618
+ },
30619
+ "additionalProperties": false,
30620
+ "required": [
30621
+ "uriMatch",
30622
+ "authMethod",
30623
+ "publicValue"
30624
+ ]
29755
30625
  }
29756
30626
  },
29757
30627
  "additionalProperties": false,
@@ -30927,200 +31797,203 @@ Schema for a single Dashboard
30927
31797
  "vega4",
30928
31798
  "vega5"
30929
31799
  ]
30930
- }
30931
- },
30932
- "additionalProperties": false
30933
- }
30934
- },
30935
- "required": [
30936
- "blockType",
30937
- "startX",
30938
- "startY",
30939
- "width",
30940
- "height"
30941
- ],
30942
- "additionalProperties": false
30943
- },
30944
- {
30945
- "type": "object",
30946
- "properties": {
30947
- "id": {
30948
- "type": "string",
30949
- "maxLength": 48
30950
- },
30951
- "title": {
30952
- "type": "string",
30953
- "maxLength": 255
30954
- },
30955
- "description": {
30956
- "type": "string",
30957
- "maxLength": 32767
30958
- },
30959
- "applicationId": {
30960
- "type": "string",
30961
- "pattern": "^[A-Fa-f\\d]{24}$"
30962
- },
30963
- "startX": {
30964
- "type": "number"
30965
- },
30966
- "startY": {
30967
- "type": "number"
30968
- },
30969
- "width": {
30970
- "type": "number"
30971
- },
30972
- "height": {
30973
- "type": "number"
30974
- },
30975
- "blockType": {
30976
- "type": "string",
30977
- "enum": [
30978
- "dashboard-list"
30979
- ]
30980
- },
30981
- "config": {
30982
- "type": "object",
30983
- "properties": {
30984
- "filter": {
30985
- "type": "string",
30986
- "maxLength": 255
30987
- }
30988
- },
30989
- "additionalProperties": false
30990
- }
30991
- },
30992
- "required": [
30993
- "blockType",
30994
- "startX",
30995
- "startY",
30996
- "width",
30997
- "height"
30998
- ],
30999
- "additionalProperties": false
31000
- },
31001
- {
31002
- "type": "object",
31003
- "properties": {
31004
- "id": {
31005
- "type": "string",
31006
- "maxLength": 48
31007
- },
31008
- "title": {
31009
- "type": "string",
31010
- "maxLength": 255
31011
- },
31012
- "description": {
31013
- "type": "string",
31014
- "maxLength": 32767
31015
- },
31016
- "applicationId": {
31017
- "type": "string",
31018
- "pattern": "^[A-Fa-f\\d]{24}$"
31019
- },
31020
- "startX": {
31021
- "type": "number"
31022
- },
31023
- "startY": {
31024
- "type": "number"
31025
- },
31026
- "width": {
31027
- "type": "number"
31028
- },
31029
- "height": {
31030
- "type": "number"
31031
- },
31032
- "blockType": {
31033
- "type": "string",
31034
- "enum": [
31035
- "data-table"
31036
- ]
31037
- },
31038
- "config": {
31039
- "type": "object",
31040
- "properties": {
31041
- "dataTableId": {
31042
- "type": "string",
31043
- "pattern": "^[A-Fa-f\\d]{24}$"
31044
- },
31045
- "defaultSortColumn": {
31046
- "type": "string",
31047
- "maxLength": 255
31048
- },
31049
- "defaultSortDirection": {
31050
- "oneOf": [
31051
- {
31052
- "type": "string",
31053
- "enum": [
31054
- "asc",
31055
- "desc",
31056
- "ASC",
31057
- "DESC",
31058
- ""
31059
- ]
31060
- },
31061
- {
31062
- "type": "string",
31063
- "minLength": 4,
31064
- "maxLength": 255,
31065
- "pattern": ".*{{.+}}.*"
31066
- }
31067
- ]
31068
- },
31069
- "defaultLimit": {
31070
- "type": "string",
31071
- "maxLength": 255
31072
31800
  },
31073
- "defaultOffset": {
31074
- "type": "string",
31075
- "maxLength": 255
31076
- },
31077
- "query": {
31078
- "type": "string",
31079
- "maxLength": 32767
31080
- },
31081
- "queryMode": {
31082
- "type": "string",
31083
- "enum": [
31084
- "$or",
31085
- "$and",
31086
- "advanced"
31087
- ]
31088
- },
31089
- "columns": {
31090
- "type": "array",
31091
- "maxItems": 100,
31092
- "items": {
31093
- "type": "object",
31094
- "properties": {
31095
- "id": {
31096
- "type": "string",
31097
- "maxLength": 48
31098
- },
31099
- "type": {
31100
- "oneOf": [
31101
- {
31102
- "type": "string",
31103
- "pattern": "^[0-9a-zA-Z_-]{1,255}$"
31104
- },
31105
- {
31106
- "type": "string",
31107
- "enum": [
31108
- "$custom"
31109
- ]
31110
- }
31111
- ]
31112
- },
31113
- "headerTemplate": {
31114
- "type": "string",
31115
- "maxLength": 1024
31116
- },
31117
- "rowTemplate": {
31118
- "type": "string",
31119
- "maxLength": 32767
31120
- }
31121
- },
31122
- "additionalProperties": false
31123
- }
31801
+ "tooltipEventSubscribe": {
31802
+ "type": "boolean"
31803
+ }
31804
+ },
31805
+ "additionalProperties": false
31806
+ }
31807
+ },
31808
+ "required": [
31809
+ "blockType",
31810
+ "startX",
31811
+ "startY",
31812
+ "width",
31813
+ "height"
31814
+ ],
31815
+ "additionalProperties": false
31816
+ },
31817
+ {
31818
+ "type": "object",
31819
+ "properties": {
31820
+ "id": {
31821
+ "type": "string",
31822
+ "maxLength": 48
31823
+ },
31824
+ "title": {
31825
+ "type": "string",
31826
+ "maxLength": 255
31827
+ },
31828
+ "description": {
31829
+ "type": "string",
31830
+ "maxLength": 32767
31831
+ },
31832
+ "applicationId": {
31833
+ "type": "string",
31834
+ "pattern": "^[A-Fa-f\\d]{24}$"
31835
+ },
31836
+ "startX": {
31837
+ "type": "number"
31838
+ },
31839
+ "startY": {
31840
+ "type": "number"
31841
+ },
31842
+ "width": {
31843
+ "type": "number"
31844
+ },
31845
+ "height": {
31846
+ "type": "number"
31847
+ },
31848
+ "blockType": {
31849
+ "type": "string",
31850
+ "enum": [
31851
+ "dashboard-list"
31852
+ ]
31853
+ },
31854
+ "config": {
31855
+ "type": "object",
31856
+ "properties": {
31857
+ "filter": {
31858
+ "type": "string",
31859
+ "maxLength": 255
31860
+ }
31861
+ },
31862
+ "additionalProperties": false
31863
+ }
31864
+ },
31865
+ "required": [
31866
+ "blockType",
31867
+ "startX",
31868
+ "startY",
31869
+ "width",
31870
+ "height"
31871
+ ],
31872
+ "additionalProperties": false
31873
+ },
31874
+ {
31875
+ "type": "object",
31876
+ "properties": {
31877
+ "id": {
31878
+ "type": "string",
31879
+ "maxLength": 48
31880
+ },
31881
+ "title": {
31882
+ "type": "string",
31883
+ "maxLength": 255
31884
+ },
31885
+ "description": {
31886
+ "type": "string",
31887
+ "maxLength": 32767
31888
+ },
31889
+ "applicationId": {
31890
+ "type": "string",
31891
+ "pattern": "^[A-Fa-f\\d]{24}$"
31892
+ },
31893
+ "startX": {
31894
+ "type": "number"
31895
+ },
31896
+ "startY": {
31897
+ "type": "number"
31898
+ },
31899
+ "width": {
31900
+ "type": "number"
31901
+ },
31902
+ "height": {
31903
+ "type": "number"
31904
+ },
31905
+ "blockType": {
31906
+ "type": "string",
31907
+ "enum": [
31908
+ "data-table"
31909
+ ]
31910
+ },
31911
+ "config": {
31912
+ "type": "object",
31913
+ "properties": {
31914
+ "dataTableId": {
31915
+ "type": "string",
31916
+ "pattern": "^[A-Fa-f\\d]{24}$"
31917
+ },
31918
+ "defaultSortColumn": {
31919
+ "type": "string",
31920
+ "maxLength": 255
31921
+ },
31922
+ "defaultSortDirection": {
31923
+ "oneOf": [
31924
+ {
31925
+ "type": "string",
31926
+ "enum": [
31927
+ "asc",
31928
+ "desc",
31929
+ "ASC",
31930
+ "DESC",
31931
+ ""
31932
+ ]
31933
+ },
31934
+ {
31935
+ "type": "string",
31936
+ "minLength": 4,
31937
+ "maxLength": 255,
31938
+ "pattern": ".*{{.+}}.*"
31939
+ }
31940
+ ]
31941
+ },
31942
+ "defaultLimit": {
31943
+ "type": "string",
31944
+ "maxLength": 255
31945
+ },
31946
+ "defaultOffset": {
31947
+ "type": "string",
31948
+ "maxLength": 255
31949
+ },
31950
+ "query": {
31951
+ "type": "string",
31952
+ "maxLength": 32767
31953
+ },
31954
+ "queryMode": {
31955
+ "type": "string",
31956
+ "enum": [
31957
+ "$or",
31958
+ "$and",
31959
+ "advanced"
31960
+ ]
31961
+ },
31962
+ "columns": {
31963
+ "type": "array",
31964
+ "maxItems": 100,
31965
+ "items": {
31966
+ "type": "object",
31967
+ "properties": {
31968
+ "id": {
31969
+ "type": "string",
31970
+ "maxLength": 48
31971
+ },
31972
+ "type": {
31973
+ "oneOf": [
31974
+ {
31975
+ "type": "string",
31976
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
31977
+ },
31978
+ {
31979
+ "type": "string",
31980
+ "enum": [
31981
+ "$custom"
31982
+ ]
31983
+ }
31984
+ ]
31985
+ },
31986
+ "headerTemplate": {
31987
+ "type": "string",
31988
+ "maxLength": 1024
31989
+ },
31990
+ "rowTemplate": {
31991
+ "type": "string",
31992
+ "maxLength": 32767
31993
+ }
31994
+ },
31995
+ "additionalProperties": false
31996
+ }
31124
31997
  }
31125
31998
  },
31126
31999
  "additionalProperties": false
@@ -32223,6 +33096,9 @@ Schema for a single Dashboard
32223
33096
  "realTime": {
32224
33097
  "type": "boolean"
32225
33098
  },
33099
+ "hideLegend": {
33100
+ "type": "boolean"
33101
+ },
32226
33102
  "disallowUserSelectedDuration": {
32227
33103
  "type": "boolean"
32228
33104
  },
@@ -37142,6 +38018,9 @@ Schema for the body of a Dashboard modification request
37142
38018
  "vega4",
37143
38019
  "vega5"
37144
38020
  ]
38021
+ },
38022
+ "tooltipEventSubscribe": {
38023
+ "type": "boolean"
37145
38024
  }
37146
38025
  },
37147
38026
  "additionalProperties": false
@@ -38438,6 +39317,9 @@ Schema for the body of a Dashboard modification request
38438
39317
  "realTime": {
38439
39318
  "type": "boolean"
38440
39319
  },
39320
+ "hideLegend": {
39321
+ "type": "boolean"
39322
+ },
38441
39323
  "disallowUserSelectedDuration": {
38442
39324
  "type": "boolean"
38443
39325
  },
@@ -43355,6 +44237,9 @@ Schema for the body of a Dashboard creation request
43355
44237
  "vega4",
43356
44238
  "vega5"
43357
44239
  ]
44240
+ },
44241
+ "tooltipEventSubscribe": {
44242
+ "type": "boolean"
43358
44243
  }
43359
44244
  },
43360
44245
  "additionalProperties": false
@@ -44651,6 +45536,9 @@ Schema for the body of a Dashboard creation request
44651
45536
  "realTime": {
44652
45537
  "type": "boolean"
44653
45538
  },
45539
+ "hideLegend": {
45540
+ "type": "boolean"
45541
+ },
44654
45542
  "disallowUserSelectedDuration": {
44655
45543
  "type": "boolean"
44656
45544
  },
@@ -49967,6 +50855,9 @@ Schema for a collection of Dashboards
49967
50855
  "vega4",
49968
50856
  "vega5"
49969
50857
  ]
50858
+ },
50859
+ "tooltipEventSubscribe": {
50860
+ "type": "boolean"
49970
50861
  }
49971
50862
  },
49972
50863
  "additionalProperties": false
@@ -51263,6 +52154,9 @@ Schema for a collection of Dashboards
51263
52154
  "realTime": {
51264
52155
  "type": "boolean"
51265
52156
  },
52157
+ "hideLegend": {
52158
+ "type": "boolean"
52159
+ },
51266
52160
  "disallowUserSelectedDuration": {
51267
52161
  "type": "boolean"
51268
52162
  },
@@ -56935,6 +57829,7 @@ Schema for exporting data devices query
56935
57829
  },
56936
57830
  "attributes": {
56937
57831
  "type": "array",
57832
+ "maxItems": 256,
56938
57833
  "items": {
56939
57834
  "type": "string",
56940
57835
  "pattern": "^[0-9a-zA-Z_-]{1,255}$"
@@ -70691,10 +71586,10 @@ Schema for the body of a bulk data removal request
70691
71586
  },
70692
71587
  {
70693
71588
  "type": "array",
70694
- "maxItems": 100,
71589
+ "maxItems": 256,
70695
71590
  "items": {
70696
71591
  "type": "string",
70697
- "maxLength": 255
71592
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
70698
71593
  }
70699
71594
  }
70700
71595
  ]
@@ -70771,45 +71666,6 @@ Schema for response of devices updated if under 100 devices queried
70771
71666
 
70772
71667
  <br/>
70773
71668
 
70774
- ## Disable Two Factor Auth
70775
-
70776
- Schema for the body of a request to disable two factor auth
70777
-
70778
- ### <a name="disable-two-factor-auth-schema"></a> Schema
70779
-
70780
- ```json
70781
- {
70782
- "$schema": "http://json-schema.org/draft-07/schema#",
70783
- "type": "object",
70784
- "properties": {
70785
- "twoFactorCode": {
70786
- "type": "string",
70787
- "maxLength": 2048
70788
- },
70789
- "password": {
70790
- "type": "string",
70791
- "minLength": 8,
70792
- "maxLength": 2048
70793
- }
70794
- },
70795
- "required": [
70796
- "password",
70797
- "twoFactorCode"
70798
- ],
70799
- "additionalProperties": false
70800
- }
70801
- ```
70802
- ### <a name="disable-two-factor-auth-example"></a> Example
70803
-
70804
- ```json
70805
- {
70806
- "twoFactorCode": "123123",
70807
- "password": "this would be your password"
70808
- }
70809
- ```
70810
-
70811
- <br/>
70812
-
70813
71669
  ## Edge Deployment
70814
71670
 
70815
71671
  Schema for a single deployment of an edge workflow to an edge device
@@ -72205,51 +73061,6 @@ Schema for a collection of Embedded Deployments
72205
73061
 
72206
73062
  <br/>
72207
73063
 
72208
- ## Enable Two Factor Auth
72209
-
72210
- Schema for the body of a request to enable two factor auth
72211
-
72212
- ### <a name="enable-two-factor-auth-schema"></a> Schema
72213
-
72214
- ```json
72215
- {
72216
- "$schema": "http://json-schema.org/draft-07/schema#",
72217
- "type": "object",
72218
- "properties": {
72219
- "twoFactorAuthKey": {
72220
- "type": "string",
72221
- "minLength": 52,
72222
- "maxLength": 52
72223
- },
72224
- "password": {
72225
- "type": "string",
72226
- "minLength": 8,
72227
- "maxLength": 2048
72228
- },
72229
- "twoFactorCode": {
72230
- "type": "string",
72231
- "maxLength": 2048
72232
- }
72233
- },
72234
- "required": [
72235
- "password",
72236
- "twoFactorCode"
72237
- ],
72238
- "additionalProperties": false
72239
- }
72240
- ```
72241
- ### <a name="enable-two-factor-auth-example"></a> Example
72242
-
72243
- ```json
72244
- {
72245
- "twoFactorAuthKey": "HBBGWJJVOVLXS4ZGNRTDOUKTMESFUR3BMRWVQND2HJYT44TOMVJA",
72246
- "password": "this would be your password",
72247
- "twoFactorCode": "012345"
72248
- }
72249
- ```
72250
-
72251
- <br/>
72252
-
72253
73064
  ## Error
72254
73065
 
72255
73066
  Schema for errors returned by the API
@@ -125805,6 +126616,7 @@ Schema for the body of a Github login request
125805
126616
  "application.deviceCounts",
125806
126617
  "application.notebookMinuteCounts",
125807
126618
  "application.search",
126619
+ "application.importLogs",
125808
126620
  "applicationApiToken.delete",
125809
126621
  "applicationApiToken.get",
125810
126622
  "applicationApiToken.patch",
@@ -126268,6 +127080,14 @@ Schema for a collection of Historical Summaries
126268
127080
  "type": "integer",
126269
127081
  "minimum": 0
126270
127082
  },
127083
+ "applicationcertificate": {
127084
+ "type": "integer",
127085
+ "minimum": 0
127086
+ },
127087
+ "applicationcertificateauthority": {
127088
+ "type": "integer",
127089
+ "minimum": 0
127090
+ },
126271
127091
  "applicationkey": {
126272
127092
  "type": "integer",
126273
127093
  "minimum": 0
@@ -126379,6 +127199,11 @@ Schema for a collection of Historical Summaries
126379
127199
  "applicationFlowSlots": {
126380
127200
  "type": "integer",
126381
127201
  "minimum": 0
127202
+ },
127203
+ "systemInterval": {
127204
+ "type": "integer",
127205
+ "minimum": 5,
127206
+ "maximum": 3600
126382
127207
  }
126383
127208
  },
126384
127209
  "additionalProperties": false
@@ -126415,6 +127240,9 @@ Schema for a collection of Historical Summaries
126415
127240
  "certificateCount": {
126416
127241
  "type": "number"
126417
127242
  },
127243
+ "credentialCount": {
127244
+ "type": "integer"
127245
+ },
126418
127246
  "dashboardCount": {
126419
127247
  "type": "number"
126420
127248
  },
@@ -126944,6 +127772,14 @@ Schema for a historical summary report
126944
127772
  "type": "integer",
126945
127773
  "minimum": 0
126946
127774
  },
127775
+ "applicationcertificate": {
127776
+ "type": "integer",
127777
+ "minimum": 0
127778
+ },
127779
+ "applicationcertificateauthority": {
127780
+ "type": "integer",
127781
+ "minimum": 0
127782
+ },
126947
127783
  "applicationkey": {
126948
127784
  "type": "integer",
126949
127785
  "minimum": 0
@@ -127055,6 +127891,11 @@ Schema for a historical summary report
127055
127891
  "applicationFlowSlots": {
127056
127892
  "type": "integer",
127057
127893
  "minimum": 0
127894
+ },
127895
+ "systemInterval": {
127896
+ "type": "integer",
127897
+ "minimum": 5,
127898
+ "maximum": 3600
127058
127899
  }
127059
127900
  },
127060
127901
  "additionalProperties": false
@@ -127091,6 +127932,9 @@ Schema for a historical summary report
127091
127932
  "certificateCount": {
127092
127933
  "type": "number"
127093
127934
  },
127935
+ "credentialCount": {
127936
+ "type": "integer"
127937
+ },
127094
127938
  "dashboardCount": {
127095
127939
  "type": "number"
127096
127940
  },
@@ -127529,6 +128373,10 @@ Schema for additional application import options
127529
128373
  "$schema": "http://json-schema.org/draft-07/schema#",
127530
128374
  "type": "object",
127531
128375
  "properties": {
128376
+ "fromApplicationId": {
128377
+ "type": "string",
128378
+ "pattern": "^[A-Fa-f\\d]{24}$"
128379
+ },
127532
128380
  "importUrl": {
127533
128381
  "type": "string",
127534
128382
  "format": "uri",
@@ -127891,6 +128739,14 @@ Schema for a single Instance
127891
128739
  "type": "integer",
127892
128740
  "minimum": 0
127893
128741
  },
128742
+ "applicationcertificate": {
128743
+ "type": "integer",
128744
+ "minimum": 0
128745
+ },
128746
+ "applicationcertificateauthority": {
128747
+ "type": "integer",
128748
+ "minimum": 0
128749
+ },
127894
128750
  "applicationkey": {
127895
128751
  "type": "integer",
127896
128752
  "minimum": 0
@@ -128002,6 +128858,11 @@ Schema for a single Instance
128002
128858
  "applicationFlowSlots": {
128003
128859
  "type": "integer",
128004
128860
  "minimum": 0
128861
+ },
128862
+ "systemInterval": {
128863
+ "type": "integer",
128864
+ "minimum": 5,
128865
+ "maximum": 3600
128005
128866
  }
128006
128867
  },
128007
128868
  "additionalProperties": false
@@ -128027,6 +128888,14 @@ Schema for a single Instance
128027
128888
  }
128028
128889
  }
128029
128890
  }
128891
+ },
128892
+ "mfaMode": {
128893
+ "type": "string",
128894
+ "enum": [
128895
+ "notRequired",
128896
+ "adminRequired",
128897
+ "required"
128898
+ ]
128030
128899
  }
128031
128900
  }
128032
128901
  }
@@ -131153,6 +132022,14 @@ Schema for the body of an Organization owned by an instance
131153
132022
  "type": "integer",
131154
132023
  "minimum": 0
131155
132024
  },
132025
+ "applicationcertificate": {
132026
+ "type": "integer",
132027
+ "minimum": 0
132028
+ },
132029
+ "applicationcertificateauthority": {
132030
+ "type": "integer",
132031
+ "minimum": 0
132032
+ },
131156
132033
  "applicationkey": {
131157
132034
  "type": "integer",
131158
132035
  "minimum": 0
@@ -131264,10 +132141,258 @@ Schema for the body of an Organization owned by an instance
131264
132141
  "applicationFlowSlots": {
131265
132142
  "type": "integer",
131266
132143
  "minimum": 0
132144
+ },
132145
+ "systemInterval": {
132146
+ "type": "integer",
132147
+ "minimum": 5,
132148
+ "maximum": 3600
131267
132149
  }
131268
132150
  },
131269
132151
  "additionalProperties": false
131270
132152
  },
132153
+ "summary": {
132154
+ "type": "object",
132155
+ "properties": {
132156
+ "apiTokenCount": {
132157
+ "type": "integer"
132158
+ },
132159
+ "appCount": {
132160
+ "type": "integer"
132161
+ },
132162
+ "certificateCount": {
132163
+ "type": "integer"
132164
+ },
132165
+ "certificateAuthorityCount": {
132166
+ "type": "integer"
132167
+ },
132168
+ "credentialCount": {
132169
+ "type": "integer"
132170
+ },
132171
+ "dashCount": {
132172
+ "type": "integer"
132173
+ },
132174
+ "dataTableCount": {
132175
+ "type": "integer"
132176
+ },
132177
+ "deviceCount": {
132178
+ "type": "integer"
132179
+ },
132180
+ "deviceRecipeCount": {
132181
+ "type": "integer"
132182
+ },
132183
+ "eventCount": {
132184
+ "type": "integer"
132185
+ },
132186
+ "experienceDomainCount": {
132187
+ "type": "integer"
132188
+ },
132189
+ "experienceEndpointCount": {
132190
+ "type": "integer"
132191
+ },
132192
+ "experienceGroupCount": {
132193
+ "type": "integer"
132194
+ },
132195
+ "experienceSlugCount": {
132196
+ "type": "integer"
132197
+ },
132198
+ "experienceUserCount": {
132199
+ "type": "integer"
132200
+ },
132201
+ "experienceVersionCount": {
132202
+ "type": "integer"
132203
+ },
132204
+ "experienceViewCount": {
132205
+ "type": "integer"
132206
+ },
132207
+ "fileCount": {
132208
+ "type": "integer"
132209
+ },
132210
+ "flowCount": {
132211
+ "type": "integer"
132212
+ },
132213
+ "integrationCount": {
132214
+ "type": "integer"
132215
+ },
132216
+ "keyCount": {
132217
+ "type": "integer"
132218
+ },
132219
+ "notebookCount": {
132220
+ "type": "integer"
132221
+ },
132222
+ "resourceJobCount": {
132223
+ "type": "integer"
132224
+ },
132225
+ "webhookCount": {
132226
+ "type": "integer"
132227
+ },
132228
+ "memberCount": {
132229
+ "type": "integer"
132230
+ },
132231
+ "pendingInviteCount": {
132232
+ "type": "integer"
132233
+ },
132234
+ "payloadCount": {
132235
+ "title": "Payload Stats",
132236
+ "description": "Schema for the result of a payload stats request",
132237
+ "type": "object",
132238
+ "properties": {
132239
+ "dataTable": {
132240
+ "type": "object",
132241
+ "patternProperties": {
132242
+ ".*": {
132243
+ "type": "number"
132244
+ }
132245
+ }
132246
+ },
132247
+ "deviceCommand": {
132248
+ "type": "object",
132249
+ "patternProperties": {
132250
+ ".*": {
132251
+ "type": "number"
132252
+ }
132253
+ }
132254
+ },
132255
+ "deviceConnect": {
132256
+ "type": "object",
132257
+ "patternProperties": {
132258
+ ".*": {
132259
+ "type": "number"
132260
+ }
132261
+ }
132262
+ },
132263
+ "deviceDisconnect": {
132264
+ "type": "object",
132265
+ "patternProperties": {
132266
+ ".*": {
132267
+ "type": "number"
132268
+ }
132269
+ }
132270
+ },
132271
+ "deviceState": {
132272
+ "type": "object",
132273
+ "patternProperties": {
132274
+ ".*": {
132275
+ "type": "number"
132276
+ }
132277
+ }
132278
+ },
132279
+ "endpoint": {
132280
+ "type": "object",
132281
+ "patternProperties": {
132282
+ ".*": {
132283
+ "type": "number"
132284
+ }
132285
+ }
132286
+ },
132287
+ "event": {
132288
+ "type": "object",
132289
+ "patternProperties": {
132290
+ ".*": {
132291
+ "type": "number"
132292
+ }
132293
+ }
132294
+ },
132295
+ "flowError": {
132296
+ "type": "object",
132297
+ "patternProperties": {
132298
+ ".*": {
132299
+ "type": "number"
132300
+ }
132301
+ }
132302
+ },
132303
+ "integration": {
132304
+ "type": "object",
132305
+ "patternProperties": {
132306
+ ".*": {
132307
+ "type": "number"
132308
+ }
132309
+ }
132310
+ },
132311
+ "mqttIn": {
132312
+ "type": "object",
132313
+ "patternProperties": {
132314
+ ".*": {
132315
+ "type": "number"
132316
+ }
132317
+ }
132318
+ },
132319
+ "mqttOut": {
132320
+ "type": "object",
132321
+ "patternProperties": {
132322
+ ".*": {
132323
+ "type": "number"
132324
+ }
132325
+ }
132326
+ },
132327
+ "notebook": {
132328
+ "type": "object",
132329
+ "patternProperties": {
132330
+ ".*": {
132331
+ "type": "number"
132332
+ }
132333
+ }
132334
+ },
132335
+ "timer": {
132336
+ "type": "object",
132337
+ "patternProperties": {
132338
+ ".*": {
132339
+ "type": "number"
132340
+ }
132341
+ }
132342
+ },
132343
+ "virtualButton": {
132344
+ "type": "object",
132345
+ "patternProperties": {
132346
+ ".*": {
132347
+ "type": "number"
132348
+ }
132349
+ }
132350
+ },
132351
+ "webhook": {
132352
+ "type": "object",
132353
+ "patternProperties": {
132354
+ ".*": {
132355
+ "type": "number"
132356
+ }
132357
+ }
132358
+ },
132359
+ "resourceJob": {
132360
+ "type": "object",
132361
+ "patternProperties": {
132362
+ ".*": {
132363
+ "type": "number"
132364
+ }
132365
+ }
132366
+ }
132367
+ }
132368
+ },
132369
+ "storageStats": {
132370
+ "type": "object",
132371
+ "properties": {
132372
+ "count": {
132373
+ "type": "integer"
132374
+ },
132375
+ "size": {
132376
+ "type": "integer"
132377
+ }
132378
+ }
132379
+ },
132380
+ "notebookStats": {
132381
+ "type": "object",
132382
+ "properties": {
132383
+ "awaitingCompletion": {
132384
+ "type": "integer"
132385
+ },
132386
+ "minutesThisPeriod": {
132387
+ "type": "integer"
132388
+ },
132389
+ "runsThisPeriod": {
132390
+ "type": "integer"
132391
+ }
132392
+ }
132393
+ }
132394
+ }
132395
+ },
131271
132396
  "whitelistedEmailDomains": {
131272
132397
  "type": "array",
131273
132398
  "items": {
@@ -131322,6 +132447,14 @@ Schema for the body of an Organization owned by an instance
131322
132447
  "referralId": {
131323
132448
  "type": "string",
131324
132449
  "maxLength": 1024
132450
+ },
132451
+ "mfaMode": {
132452
+ "type": "string",
132453
+ "enum": [
132454
+ "notRequired",
132455
+ "adminRequired",
132456
+ "required"
132457
+ ]
131325
132458
  }
131326
132459
  },
131327
132460
  "additionalProperties": false,
@@ -131792,6 +132925,14 @@ Schema for the body of an Organization modification request within an instance
131792
132925
  "type": "integer",
131793
132926
  "minimum": 0
131794
132927
  },
132928
+ "applicationcertificate": {
132929
+ "type": "integer",
132930
+ "minimum": 0
132931
+ },
132932
+ "applicationcertificateauthority": {
132933
+ "type": "integer",
132934
+ "minimum": 0
132935
+ },
131795
132936
  "applicationkey": {
131796
132937
  "type": "integer",
131797
132938
  "minimum": 0
@@ -131903,6 +133044,11 @@ Schema for the body of an Organization modification request within an instance
131903
133044
  "applicationFlowSlots": {
131904
133045
  "type": "integer",
131905
133046
  "minimum": 0
133047
+ },
133048
+ "systemInterval": {
133049
+ "type": "integer",
133050
+ "minimum": 5,
133051
+ "maximum": 3600
131906
133052
  }
131907
133053
  },
131908
133054
  "additionalProperties": false
@@ -131958,6 +133104,14 @@ Schema for the body of an Organization modification request within an instance
131958
133104
  "referralId": {
131959
133105
  "type": "string",
131960
133106
  "maxLength": 1024
133107
+ },
133108
+ "mfaMode": {
133109
+ "type": "string",
133110
+ "enum": [
133111
+ "notRequired",
133112
+ "adminRequired",
133113
+ "required"
133114
+ ]
131961
133115
  }
131962
133116
  },
131963
133117
  "additionalProperties": false
@@ -132012,6 +133166,14 @@ Schema for the body of an Organization creation request within an instance
132012
133166
  "type": "integer",
132013
133167
  "minimum": 0
132014
133168
  },
133169
+ "applicationcertificate": {
133170
+ "type": "integer",
133171
+ "minimum": 0
133172
+ },
133173
+ "applicationcertificateauthority": {
133174
+ "type": "integer",
133175
+ "minimum": 0
133176
+ },
132015
133177
  "applicationkey": {
132016
133178
  "type": "integer",
132017
133179
  "minimum": 0
@@ -132123,6 +133285,11 @@ Schema for the body of an Organization creation request within an instance
132123
133285
  "applicationFlowSlots": {
132124
133286
  "type": "integer",
132125
133287
  "minimum": 0
133288
+ },
133289
+ "systemInterval": {
133290
+ "type": "integer",
133291
+ "minimum": 5,
133292
+ "maximum": 3600
132126
133293
  }
132127
133294
  },
132128
133295
  "additionalProperties": false
@@ -132344,6 +133511,14 @@ Schema for the body of an Organization creation request within an instance
132344
133511
  "referralId": {
132345
133512
  "type": "string",
132346
133513
  "maxLength": 1024
133514
+ },
133515
+ "mfaMode": {
133516
+ "type": "string",
133517
+ "enum": [
133518
+ "notRequired",
133519
+ "adminRequired",
133520
+ "required"
133521
+ ]
132347
133522
  }
132348
133523
  },
132349
133524
  "additionalProperties": false,
@@ -132424,6 +133599,14 @@ Schema for a collection of Organizations within an instance
132424
133599
  "type": "integer",
132425
133600
  "minimum": 0
132426
133601
  },
133602
+ "applicationcertificate": {
133603
+ "type": "integer",
133604
+ "minimum": 0
133605
+ },
133606
+ "applicationcertificateauthority": {
133607
+ "type": "integer",
133608
+ "minimum": 0
133609
+ },
132427
133610
  "applicationkey": {
132428
133611
  "type": "integer",
132429
133612
  "minimum": 0
@@ -132535,10 +133718,258 @@ Schema for a collection of Organizations within an instance
132535
133718
  "applicationFlowSlots": {
132536
133719
  "type": "integer",
132537
133720
  "minimum": 0
133721
+ },
133722
+ "systemInterval": {
133723
+ "type": "integer",
133724
+ "minimum": 5,
133725
+ "maximum": 3600
132538
133726
  }
132539
133727
  },
132540
133728
  "additionalProperties": false
132541
133729
  },
133730
+ "summary": {
133731
+ "type": "object",
133732
+ "properties": {
133733
+ "apiTokenCount": {
133734
+ "type": "integer"
133735
+ },
133736
+ "appCount": {
133737
+ "type": "integer"
133738
+ },
133739
+ "certificateCount": {
133740
+ "type": "integer"
133741
+ },
133742
+ "certificateAuthorityCount": {
133743
+ "type": "integer"
133744
+ },
133745
+ "credentialCount": {
133746
+ "type": "integer"
133747
+ },
133748
+ "dashCount": {
133749
+ "type": "integer"
133750
+ },
133751
+ "dataTableCount": {
133752
+ "type": "integer"
133753
+ },
133754
+ "deviceCount": {
133755
+ "type": "integer"
133756
+ },
133757
+ "deviceRecipeCount": {
133758
+ "type": "integer"
133759
+ },
133760
+ "eventCount": {
133761
+ "type": "integer"
133762
+ },
133763
+ "experienceDomainCount": {
133764
+ "type": "integer"
133765
+ },
133766
+ "experienceEndpointCount": {
133767
+ "type": "integer"
133768
+ },
133769
+ "experienceGroupCount": {
133770
+ "type": "integer"
133771
+ },
133772
+ "experienceSlugCount": {
133773
+ "type": "integer"
133774
+ },
133775
+ "experienceUserCount": {
133776
+ "type": "integer"
133777
+ },
133778
+ "experienceVersionCount": {
133779
+ "type": "integer"
133780
+ },
133781
+ "experienceViewCount": {
133782
+ "type": "integer"
133783
+ },
133784
+ "fileCount": {
133785
+ "type": "integer"
133786
+ },
133787
+ "flowCount": {
133788
+ "type": "integer"
133789
+ },
133790
+ "integrationCount": {
133791
+ "type": "integer"
133792
+ },
133793
+ "keyCount": {
133794
+ "type": "integer"
133795
+ },
133796
+ "notebookCount": {
133797
+ "type": "integer"
133798
+ },
133799
+ "resourceJobCount": {
133800
+ "type": "integer"
133801
+ },
133802
+ "webhookCount": {
133803
+ "type": "integer"
133804
+ },
133805
+ "memberCount": {
133806
+ "type": "integer"
133807
+ },
133808
+ "pendingInviteCount": {
133809
+ "type": "integer"
133810
+ },
133811
+ "payloadCount": {
133812
+ "title": "Payload Stats",
133813
+ "description": "Schema for the result of a payload stats request",
133814
+ "type": "object",
133815
+ "properties": {
133816
+ "dataTable": {
133817
+ "type": "object",
133818
+ "patternProperties": {
133819
+ ".*": {
133820
+ "type": "number"
133821
+ }
133822
+ }
133823
+ },
133824
+ "deviceCommand": {
133825
+ "type": "object",
133826
+ "patternProperties": {
133827
+ ".*": {
133828
+ "type": "number"
133829
+ }
133830
+ }
133831
+ },
133832
+ "deviceConnect": {
133833
+ "type": "object",
133834
+ "patternProperties": {
133835
+ ".*": {
133836
+ "type": "number"
133837
+ }
133838
+ }
133839
+ },
133840
+ "deviceDisconnect": {
133841
+ "type": "object",
133842
+ "patternProperties": {
133843
+ ".*": {
133844
+ "type": "number"
133845
+ }
133846
+ }
133847
+ },
133848
+ "deviceState": {
133849
+ "type": "object",
133850
+ "patternProperties": {
133851
+ ".*": {
133852
+ "type": "number"
133853
+ }
133854
+ }
133855
+ },
133856
+ "endpoint": {
133857
+ "type": "object",
133858
+ "patternProperties": {
133859
+ ".*": {
133860
+ "type": "number"
133861
+ }
133862
+ }
133863
+ },
133864
+ "event": {
133865
+ "type": "object",
133866
+ "patternProperties": {
133867
+ ".*": {
133868
+ "type": "number"
133869
+ }
133870
+ }
133871
+ },
133872
+ "flowError": {
133873
+ "type": "object",
133874
+ "patternProperties": {
133875
+ ".*": {
133876
+ "type": "number"
133877
+ }
133878
+ }
133879
+ },
133880
+ "integration": {
133881
+ "type": "object",
133882
+ "patternProperties": {
133883
+ ".*": {
133884
+ "type": "number"
133885
+ }
133886
+ }
133887
+ },
133888
+ "mqttIn": {
133889
+ "type": "object",
133890
+ "patternProperties": {
133891
+ ".*": {
133892
+ "type": "number"
133893
+ }
133894
+ }
133895
+ },
133896
+ "mqttOut": {
133897
+ "type": "object",
133898
+ "patternProperties": {
133899
+ ".*": {
133900
+ "type": "number"
133901
+ }
133902
+ }
133903
+ },
133904
+ "notebook": {
133905
+ "type": "object",
133906
+ "patternProperties": {
133907
+ ".*": {
133908
+ "type": "number"
133909
+ }
133910
+ }
133911
+ },
133912
+ "timer": {
133913
+ "type": "object",
133914
+ "patternProperties": {
133915
+ ".*": {
133916
+ "type": "number"
133917
+ }
133918
+ }
133919
+ },
133920
+ "virtualButton": {
133921
+ "type": "object",
133922
+ "patternProperties": {
133923
+ ".*": {
133924
+ "type": "number"
133925
+ }
133926
+ }
133927
+ },
133928
+ "webhook": {
133929
+ "type": "object",
133930
+ "patternProperties": {
133931
+ ".*": {
133932
+ "type": "number"
133933
+ }
133934
+ }
133935
+ },
133936
+ "resourceJob": {
133937
+ "type": "object",
133938
+ "patternProperties": {
133939
+ ".*": {
133940
+ "type": "number"
133941
+ }
133942
+ }
133943
+ }
133944
+ }
133945
+ },
133946
+ "storageStats": {
133947
+ "type": "object",
133948
+ "properties": {
133949
+ "count": {
133950
+ "type": "integer"
133951
+ },
133952
+ "size": {
133953
+ "type": "integer"
133954
+ }
133955
+ }
133956
+ },
133957
+ "notebookStats": {
133958
+ "type": "object",
133959
+ "properties": {
133960
+ "awaitingCompletion": {
133961
+ "type": "integer"
133962
+ },
133963
+ "minutesThisPeriod": {
133964
+ "type": "integer"
133965
+ },
133966
+ "runsThisPeriod": {
133967
+ "type": "integer"
133968
+ }
133969
+ }
133970
+ }
133971
+ }
133972
+ },
132542
133973
  "whitelistedEmailDomains": {
132543
133974
  "type": "array",
132544
133975
  "items": {
@@ -132593,6 +134024,14 @@ Schema for a collection of Organizations within an instance
132593
134024
  "referralId": {
132594
134025
  "type": "string",
132595
134026
  "maxLength": 1024
134027
+ },
134028
+ "mfaMode": {
134029
+ "type": "string",
134030
+ "enum": [
134031
+ "notRequired",
134032
+ "adminRequired",
134033
+ "required"
134034
+ ]
132596
134035
  }
132597
134036
  },
132598
134037
  "additionalProperties": false,
@@ -132748,6 +134187,14 @@ Schema for instance patch request
132748
134187
  "type": "integer",
132749
134188
  "minimum": 0
132750
134189
  },
134190
+ "applicationcertificate": {
134191
+ "type": "integer",
134192
+ "minimum": 0
134193
+ },
134194
+ "applicationcertificateauthority": {
134195
+ "type": "integer",
134196
+ "minimum": 0
134197
+ },
132751
134198
  "applicationkey": {
132752
134199
  "type": "integer",
132753
134200
  "minimum": 0
@@ -132859,9 +134306,22 @@ Schema for instance patch request
132859
134306
  "applicationFlowSlots": {
132860
134307
  "type": "integer",
132861
134308
  "minimum": 0
134309
+ },
134310
+ "systemInterval": {
134311
+ "type": "integer",
134312
+ "minimum": 5,
134313
+ "maximum": 3600
132862
134314
  }
132863
134315
  },
132864
134316
  "additionalProperties": false
134317
+ },
134318
+ "mfaMode": {
134319
+ "type": "string",
134320
+ "enum": [
134321
+ "notRequired",
134322
+ "adminRequired",
134323
+ "required"
134324
+ ]
132865
134325
  }
132866
134326
  },
132867
134327
  "additionalProperties": false
@@ -133086,6 +134546,12 @@ Schema for information about a sandbox user within an instance domain
133086
134546
  "application": {
133087
134547
  "type": "integer"
133088
134548
  },
134549
+ "applicationcertificate": {
134550
+ "type": "integer"
134551
+ },
134552
+ "applicationcertificateauthority": {
134553
+ "type": "integer"
134554
+ },
133089
134555
  "applicationkey": {
133090
134556
  "type": "integer"
133091
134557
  },
@@ -133166,6 +134632,9 @@ Schema for information about a sandbox user within an instance domain
133166
134632
  },
133167
134633
  "applicationFlowSlots": {
133168
134634
  "type": "integer"
134635
+ },
134636
+ "systemInterval": {
134637
+ "type": "integer"
133169
134638
  }
133170
134639
  },
133171
134640
  "additionalProperties": false
@@ -133179,6 +134648,12 @@ Schema for information about a sandbox user within an instance domain
133179
134648
  "appCount": {
133180
134649
  "type": "integer"
133181
134650
  },
134651
+ "certificateCount": {
134652
+ "type": "integer"
134653
+ },
134654
+ "certificateAuthorityCount": {
134655
+ "type": "integer"
134656
+ },
133182
134657
  "credentialCount": {
133183
134658
  "type": "integer"
133184
134659
  },
@@ -133194,6 +134669,12 @@ Schema for information about a sandbox user within an instance domain
133194
134669
  "deviceRecipeCount": {
133195
134670
  "type": "integer"
133196
134671
  },
134672
+ "eventCount": {
134673
+ "type": "integer"
134674
+ },
134675
+ "experienceDomainCount": {
134676
+ "type": "integer"
134677
+ },
133197
134678
  "experienceEndpointCount": {
133198
134679
  "type": "integer"
133199
134680
  },
@@ -133224,9 +134705,21 @@ Schema for information about a sandbox user within an instance domain
133224
134705
  "keyCount": {
133225
134706
  "type": "integer"
133226
134707
  },
134708
+ "notebookCount": {
134709
+ "type": "integer"
134710
+ },
134711
+ "resourceJobCount": {
134712
+ "type": "integer"
134713
+ },
134714
+ "webhookCount": {
134715
+ "type": "integer"
134716
+ },
133227
134717
  "orgCount": {
133228
134718
  "type": "integer"
133229
134719
  },
134720
+ "instanceCount": {
134721
+ "type": "integer"
134722
+ },
133230
134723
  "payloadCount": {
133231
134724
  "title": "Payload Stats",
133232
134725
  "description": "Schema for the result of a payload stats request",
@@ -133373,8 +134866,19 @@ Schema for information about a sandbox user within an instance domain
133373
134866
  }
133374
134867
  }
133375
134868
  },
133376
- "webhookCount": {
133377
- "type": "integer"
134869
+ "notebookStats": {
134870
+ "type": "object",
134871
+ "properties": {
134872
+ "awaitingCompletion": {
134873
+ "type": "integer"
134874
+ },
134875
+ "minutesThisPeriod": {
134876
+ "type": "integer"
134877
+ },
134878
+ "runsThisPeriod": {
134879
+ "type": "integer"
134880
+ }
134881
+ }
133378
134882
  }
133379
134883
  }
133380
134884
  },
@@ -133583,6 +135087,12 @@ Schema for a collection of instance associated sandboxes
133583
135087
  "application": {
133584
135088
  "type": "integer"
133585
135089
  },
135090
+ "applicationcertificate": {
135091
+ "type": "integer"
135092
+ },
135093
+ "applicationcertificateauthority": {
135094
+ "type": "integer"
135095
+ },
133586
135096
  "applicationkey": {
133587
135097
  "type": "integer"
133588
135098
  },
@@ -133663,6 +135173,9 @@ Schema for a collection of instance associated sandboxes
133663
135173
  },
133664
135174
  "applicationFlowSlots": {
133665
135175
  "type": "integer"
135176
+ },
135177
+ "systemInterval": {
135178
+ "type": "integer"
133666
135179
  }
133667
135180
  },
133668
135181
  "additionalProperties": false
@@ -133676,6 +135189,12 @@ Schema for a collection of instance associated sandboxes
133676
135189
  "appCount": {
133677
135190
  "type": "integer"
133678
135191
  },
135192
+ "certificateCount": {
135193
+ "type": "integer"
135194
+ },
135195
+ "certificateAuthorityCount": {
135196
+ "type": "integer"
135197
+ },
133679
135198
  "credentialCount": {
133680
135199
  "type": "integer"
133681
135200
  },
@@ -133691,6 +135210,12 @@ Schema for a collection of instance associated sandboxes
133691
135210
  "deviceRecipeCount": {
133692
135211
  "type": "integer"
133693
135212
  },
135213
+ "eventCount": {
135214
+ "type": "integer"
135215
+ },
135216
+ "experienceDomainCount": {
135217
+ "type": "integer"
135218
+ },
133694
135219
  "experienceEndpointCount": {
133695
135220
  "type": "integer"
133696
135221
  },
@@ -133721,9 +135246,21 @@ Schema for a collection of instance associated sandboxes
133721
135246
  "keyCount": {
133722
135247
  "type": "integer"
133723
135248
  },
135249
+ "notebookCount": {
135250
+ "type": "integer"
135251
+ },
135252
+ "resourceJobCount": {
135253
+ "type": "integer"
135254
+ },
135255
+ "webhookCount": {
135256
+ "type": "integer"
135257
+ },
133724
135258
  "orgCount": {
133725
135259
  "type": "integer"
133726
135260
  },
135261
+ "instanceCount": {
135262
+ "type": "integer"
135263
+ },
133727
135264
  "payloadCount": {
133728
135265
  "title": "Payload Stats",
133729
135266
  "description": "Schema for the result of a payload stats request",
@@ -133870,8 +135407,19 @@ Schema for a collection of instance associated sandboxes
133870
135407
  }
133871
135408
  }
133872
135409
  },
133873
- "webhookCount": {
133874
- "type": "integer"
135410
+ "notebookStats": {
135411
+ "type": "object",
135412
+ "properties": {
135413
+ "awaitingCompletion": {
135414
+ "type": "integer"
135415
+ },
135416
+ "minutesThisPeriod": {
135417
+ "type": "integer"
135418
+ },
135419
+ "runsThisPeriod": {
135420
+ "type": "integer"
135421
+ }
135422
+ }
133875
135423
  }
133876
135424
  }
133877
135425
  },
@@ -134258,6 +135806,14 @@ Schema for a collection of Instances
134258
135806
  "type": "integer",
134259
135807
  "minimum": 0
134260
135808
  },
135809
+ "applicationcertificate": {
135810
+ "type": "integer",
135811
+ "minimum": 0
135812
+ },
135813
+ "applicationcertificateauthority": {
135814
+ "type": "integer",
135815
+ "minimum": 0
135816
+ },
134261
135817
  "applicationkey": {
134262
135818
  "type": "integer",
134263
135819
  "minimum": 0
@@ -134369,6 +135925,11 @@ Schema for a collection of Instances
134369
135925
  "applicationFlowSlots": {
134370
135926
  "type": "integer",
134371
135927
  "minimum": 0
135928
+ },
135929
+ "systemInterval": {
135930
+ "type": "integer",
135931
+ "minimum": 5,
135932
+ "maximum": 3600
134372
135933
  }
134373
135934
  },
134374
135935
  "additionalProperties": false
@@ -134394,6 +135955,14 @@ Schema for a collection of Instances
134394
135955
  }
134395
135956
  }
134396
135957
  }
135958
+ },
135959
+ "mfaMode": {
135960
+ "type": "string",
135961
+ "enum": [
135962
+ "notRequired",
135963
+ "adminRequired",
135964
+ "required"
135965
+ ]
134397
135966
  }
134398
135967
  }
134399
135968
  }
@@ -137557,6 +139126,12 @@ Schema for information about the currently authenticated user
137557
139126
  "application": {
137558
139127
  "type": "integer"
137559
139128
  },
139129
+ "applicationcertificate": {
139130
+ "type": "integer"
139131
+ },
139132
+ "applicationcertificateauthority": {
139133
+ "type": "integer"
139134
+ },
137560
139135
  "applicationkey": {
137561
139136
  "type": "integer"
137562
139137
  },
@@ -137637,6 +139212,9 @@ Schema for information about the currently authenticated user
137637
139212
  },
137638
139213
  "applicationFlowSlots": {
137639
139214
  "type": "integer"
139215
+ },
139216
+ "systemInterval": {
139217
+ "type": "integer"
137640
139218
  }
137641
139219
  },
137642
139220
  "additionalProperties": false
@@ -137764,6 +139342,12 @@ Schema for information about the currently authenticated user
137764
139342
  "appCount": {
137765
139343
  "type": "integer"
137766
139344
  },
139345
+ "certificateCount": {
139346
+ "type": "integer"
139347
+ },
139348
+ "certificateAuthorityCount": {
139349
+ "type": "integer"
139350
+ },
137767
139351
  "credentialCount": {
137768
139352
  "type": "integer"
137769
139353
  },
@@ -137779,6 +139363,12 @@ Schema for information about the currently authenticated user
137779
139363
  "deviceRecipeCount": {
137780
139364
  "type": "integer"
137781
139365
  },
139366
+ "eventCount": {
139367
+ "type": "integer"
139368
+ },
139369
+ "experienceDomainCount": {
139370
+ "type": "integer"
139371
+ },
137782
139372
  "experienceEndpointCount": {
137783
139373
  "type": "integer"
137784
139374
  },
@@ -137809,9 +139399,21 @@ Schema for information about the currently authenticated user
137809
139399
  "keyCount": {
137810
139400
  "type": "integer"
137811
139401
  },
139402
+ "notebookCount": {
139403
+ "type": "integer"
139404
+ },
139405
+ "resourceJobCount": {
139406
+ "type": "integer"
139407
+ },
139408
+ "webhookCount": {
139409
+ "type": "integer"
139410
+ },
137812
139411
  "orgCount": {
137813
139412
  "type": "integer"
137814
139413
  },
139414
+ "instanceCount": {
139415
+ "type": "integer"
139416
+ },
137815
139417
  "payloadCount": {
137816
139418
  "title": "Payload Stats",
137817
139419
  "description": "Schema for the result of a payload stats request",
@@ -137958,8 +139560,19 @@ Schema for information about the currently authenticated user
137958
139560
  }
137959
139561
  }
137960
139562
  },
137961
- "webhookCount": {
137962
- "type": "integer"
139563
+ "notebookStats": {
139564
+ "type": "object",
139565
+ "properties": {
139566
+ "awaitingCompletion": {
139567
+ "type": "integer"
139568
+ },
139569
+ "minutesThisPeriod": {
139570
+ "type": "integer"
139571
+ },
139572
+ "runsThisPeriod": {
139573
+ "type": "integer"
139574
+ }
139575
+ }
137963
139576
  }
137964
139577
  }
137965
139578
  },
@@ -139813,6 +141426,124 @@ Schema for the body of a request to send a command to multiple Devices
139813
141426
 
139814
141427
  <br/>
139815
141428
 
141429
+ ## Disable Multi-Factor Authentication
141430
+
141431
+ Schema for the body of a request to disable multi-factor authentication
141432
+
141433
+ ### <a name="disable-multi-factor-authentication-schema"></a> Schema
141434
+
141435
+ ```json
141436
+ {
141437
+ "$schema": "http://json-schema.org/draft-07/schema#",
141438
+ "type": "object",
141439
+ "properties": {
141440
+ "twoFactorCode": {
141441
+ "type": "string",
141442
+ "maxLength": 2048
141443
+ },
141444
+ "password": {
141445
+ "type": "string",
141446
+ "minLength": 8,
141447
+ "maxLength": 2048
141448
+ }
141449
+ },
141450
+ "required": [
141451
+ "password",
141452
+ "twoFactorCode"
141453
+ ],
141454
+ "additionalProperties": false
141455
+ }
141456
+ ```
141457
+ ### <a name="disable-multi-factor-authentication-example"></a> Example
141458
+
141459
+ ```json
141460
+ {
141461
+ "twoFactorCode": "123123",
141462
+ "password": "this would be your password"
141463
+ }
141464
+ ```
141465
+
141466
+ <br/>
141467
+
141468
+ ## Enable Multi-Factor Authentication
141469
+
141470
+ Schema for the body of a request to enable multi-factor authentication
141471
+
141472
+ ### <a name="enable-multi-factor-authentication-schema"></a> Schema
141473
+
141474
+ ```json
141475
+ {
141476
+ "$schema": "http://json-schema.org/draft-07/schema#",
141477
+ "type": "object",
141478
+ "properties": {
141479
+ "twoFactorAuthKey": {
141480
+ "type": "string",
141481
+ "minLength": 52,
141482
+ "maxLength": 52
141483
+ },
141484
+ "password": {
141485
+ "type": "string",
141486
+ "minLength": 8,
141487
+ "maxLength": 2048
141488
+ },
141489
+ "twoFactorCode": {
141490
+ "type": "string",
141491
+ "maxLength": 2048
141492
+ }
141493
+ },
141494
+ "required": [
141495
+ "password",
141496
+ "twoFactorCode"
141497
+ ],
141498
+ "additionalProperties": false
141499
+ }
141500
+ ```
141501
+ ### <a name="enable-multi-factor-authentication-example"></a> Example
141502
+
141503
+ ```json
141504
+ {
141505
+ "twoFactorAuthKey": "HBBGWJJVOVLXS4ZGNRTDOUKTMESFUR3BMRWVQND2HJYT44TOMVJA",
141506
+ "password": "this would be your password",
141507
+ "twoFactorCode": "012345"
141508
+ }
141509
+ ```
141510
+
141511
+ <br/>
141512
+
141513
+ ## Multi-Factor Authentication Info
141514
+
141515
+ Schema for information about multi-factor authentication
141516
+
141517
+ ### <a name="multi-factor-authentication-info-schema"></a> Schema
141518
+
141519
+ ```json
141520
+ {
141521
+ "$schema": "http://json-schema.org/draft-07/schema#",
141522
+ "type": "object",
141523
+ "properties": {
141524
+ "key": {
141525
+ "type": "string",
141526
+ "maxLength": 1024
141527
+ },
141528
+ "keyUri": {
141529
+ "type": "string",
141530
+ "maxLength": 1024
141531
+ }
141532
+ },
141533
+ "additionalProperties": false
141534
+ }
141535
+ ```
141536
+ ### <a name="multi-factor-authentication-info-example"></a> Example
141537
+
141538
+ ```json
141539
+ {
141540
+ "key": "HBBGWJJVOVLXS4ZGNRTDOUKTMESFUR3BMRWVQND2HJYT44TOMVJA",
141541
+ "keyUri": "string"
141542
+ }
141543
+ ```
141544
+
141545
+ <br/>
141546
+
139816
141547
  ## Notebook
139817
141548
 
139818
141549
  Schema for a single Notebook
@@ -143259,6 +144990,14 @@ Schema for a single Organization
143259
144990
  "type": "integer",
143260
144991
  "minimum": 0
143261
144992
  },
144993
+ "applicationcertificate": {
144994
+ "type": "integer",
144995
+ "minimum": 0
144996
+ },
144997
+ "applicationcertificateauthority": {
144998
+ "type": "integer",
144999
+ "minimum": 0
145000
+ },
143262
145001
  "applicationkey": {
143263
145002
  "type": "integer",
143264
145003
  "minimum": 0
@@ -143370,6 +145109,11 @@ Schema for a single Organization
143370
145109
  "applicationFlowSlots": {
143371
145110
  "type": "integer",
143372
145111
  "minimum": 0
145112
+ },
145113
+ "systemInterval": {
145114
+ "type": "integer",
145115
+ "minimum": 5,
145116
+ "maximum": 3600
143373
145117
  }
143374
145118
  },
143375
145119
  "additionalProperties": false
@@ -143383,6 +145127,12 @@ Schema for a single Organization
143383
145127
  "appCount": {
143384
145128
  "type": "integer"
143385
145129
  },
145130
+ "certificateCount": {
145131
+ "type": "integer"
145132
+ },
145133
+ "certificateAuthorityCount": {
145134
+ "type": "integer"
145135
+ },
143386
145136
  "credentialCount": {
143387
145137
  "type": "integer"
143388
145138
  },
@@ -143398,6 +145148,9 @@ Schema for a single Organization
143398
145148
  "deviceRecipeCount": {
143399
145149
  "type": "integer"
143400
145150
  },
145151
+ "eventCount": {
145152
+ "type": "integer"
145153
+ },
143401
145154
  "experienceDomainCount": {
143402
145155
  "type": "integer"
143403
145156
  },
@@ -143431,9 +145184,21 @@ Schema for a single Organization
143431
145184
  "keyCount": {
143432
145185
  "type": "integer"
143433
145186
  },
145187
+ "notebookCount": {
145188
+ "type": "integer"
145189
+ },
145190
+ "resourceJobCount": {
145191
+ "type": "integer"
145192
+ },
145193
+ "webhookCount": {
145194
+ "type": "integer"
145195
+ },
143434
145196
  "memberCount": {
143435
145197
  "type": "integer"
143436
145198
  },
145199
+ "pendingInviteCount": {
145200
+ "type": "integer"
145201
+ },
143437
145202
  "payloadCount": {
143438
145203
  "title": "Payload Stats",
143439
145204
  "description": "Schema for the result of a payload stats request",
@@ -143569,9 +145334,6 @@ Schema for a single Organization
143569
145334
  }
143570
145335
  }
143571
145336
  },
143572
- "pendingInviteCount": {
143573
- "type": "integer"
143574
- },
143575
145337
  "storageStats": {
143576
145338
  "type": "object",
143577
145339
  "properties": {
@@ -143583,8 +145345,19 @@ Schema for a single Organization
143583
145345
  }
143584
145346
  }
143585
145347
  },
143586
- "webhookCount": {
143587
- "type": "integer"
145348
+ "notebookStats": {
145349
+ "type": "object",
145350
+ "properties": {
145351
+ "awaitingCompletion": {
145352
+ "type": "integer"
145353
+ },
145354
+ "minutesThisPeriod": {
145355
+ "type": "integer"
145356
+ },
145357
+ "runsThisPeriod": {
145358
+ "type": "integer"
145359
+ }
145360
+ }
143588
145361
  }
143589
145362
  }
143590
145363
  },
@@ -143646,6 +145419,14 @@ Schema for a single Organization
143646
145419
  },
143647
145420
  "isReadOnly": {
143648
145421
  "type": "boolean"
145422
+ },
145423
+ "mfaMode": {
145424
+ "type": "string",
145425
+ "enum": [
145426
+ "notRequired",
145427
+ "adminRequired",
145428
+ "required"
145429
+ ]
143649
145430
  }
143650
145431
  }
143651
145432
  }
@@ -144730,6 +146511,14 @@ Schema for the body of an Organization modification request
144730
146511
  "iconColor": {
144731
146512
  "type": "string",
144732
146513
  "maxLength": 64
146514
+ },
146515
+ "mfaMode": {
146516
+ "type": "string",
146517
+ "enum": [
146518
+ "notRequired",
146519
+ "adminRequired",
146520
+ "required"
146521
+ ]
144733
146522
  }
144734
146523
  },
144735
146524
  "additionalProperties": false
@@ -144782,6 +146571,14 @@ Schema for the body of an Organization creation request
144782
146571
  "iconColor": {
144783
146572
  "type": "string",
144784
146573
  "maxLength": 64
146574
+ },
146575
+ "mfaMode": {
146576
+ "type": "string",
146577
+ "enum": [
146578
+ "notRequired",
146579
+ "adminRequired",
146580
+ "required"
146581
+ ]
144785
146582
  }
144786
146583
  },
144787
146584
  "additionalProperties": false,
@@ -145041,6 +146838,14 @@ Schema for a collection of Organizations
145041
146838
  "type": "integer",
145042
146839
  "minimum": 0
145043
146840
  },
146841
+ "applicationcertificate": {
146842
+ "type": "integer",
146843
+ "minimum": 0
146844
+ },
146845
+ "applicationcertificateauthority": {
146846
+ "type": "integer",
146847
+ "minimum": 0
146848
+ },
145044
146849
  "applicationkey": {
145045
146850
  "type": "integer",
145046
146851
  "minimum": 0
@@ -145152,6 +146957,11 @@ Schema for a collection of Organizations
145152
146957
  "applicationFlowSlots": {
145153
146958
  "type": "integer",
145154
146959
  "minimum": 0
146960
+ },
146961
+ "systemInterval": {
146962
+ "type": "integer",
146963
+ "minimum": 5,
146964
+ "maximum": 3600
145155
146965
  }
145156
146966
  },
145157
146967
  "additionalProperties": false
@@ -145165,6 +146975,12 @@ Schema for a collection of Organizations
145165
146975
  "appCount": {
145166
146976
  "type": "integer"
145167
146977
  },
146978
+ "certificateCount": {
146979
+ "type": "integer"
146980
+ },
146981
+ "certificateAuthorityCount": {
146982
+ "type": "integer"
146983
+ },
145168
146984
  "credentialCount": {
145169
146985
  "type": "integer"
145170
146986
  },
@@ -145180,6 +146996,9 @@ Schema for a collection of Organizations
145180
146996
  "deviceRecipeCount": {
145181
146997
  "type": "integer"
145182
146998
  },
146999
+ "eventCount": {
147000
+ "type": "integer"
147001
+ },
145183
147002
  "experienceDomainCount": {
145184
147003
  "type": "integer"
145185
147004
  },
@@ -145213,9 +147032,21 @@ Schema for a collection of Organizations
145213
147032
  "keyCount": {
145214
147033
  "type": "integer"
145215
147034
  },
147035
+ "notebookCount": {
147036
+ "type": "integer"
147037
+ },
147038
+ "resourceJobCount": {
147039
+ "type": "integer"
147040
+ },
147041
+ "webhookCount": {
147042
+ "type": "integer"
147043
+ },
145216
147044
  "memberCount": {
145217
147045
  "type": "integer"
145218
147046
  },
147047
+ "pendingInviteCount": {
147048
+ "type": "integer"
147049
+ },
145219
147050
  "payloadCount": {
145220
147051
  "title": "Payload Stats",
145221
147052
  "description": "Schema for the result of a payload stats request",
@@ -145351,9 +147182,6 @@ Schema for a collection of Organizations
145351
147182
  }
145352
147183
  }
145353
147184
  },
145354
- "pendingInviteCount": {
145355
- "type": "integer"
145356
- },
145357
147185
  "storageStats": {
145358
147186
  "type": "object",
145359
147187
  "properties": {
@@ -145365,8 +147193,19 @@ Schema for a collection of Organizations
145365
147193
  }
145366
147194
  }
145367
147195
  },
145368
- "webhookCount": {
145369
- "type": "integer"
147196
+ "notebookStats": {
147197
+ "type": "object",
147198
+ "properties": {
147199
+ "awaitingCompletion": {
147200
+ "type": "integer"
147201
+ },
147202
+ "minutesThisPeriod": {
147203
+ "type": "integer"
147204
+ },
147205
+ "runsThisPeriod": {
147206
+ "type": "integer"
147207
+ }
147208
+ }
145370
147209
  }
145371
147210
  }
145372
147211
  },
@@ -145428,6 +147267,14 @@ Schema for a collection of Organizations
145428
147267
  },
145429
147268
  "isReadOnly": {
145430
147269
  "type": "boolean"
147270
+ },
147271
+ "mfaMode": {
147272
+ "type": "string",
147273
+ "enum": [
147274
+ "notRequired",
147275
+ "adminRequired",
147276
+ "required"
147277
+ ]
145431
147278
  }
145432
147279
  }
145433
147280
  }
@@ -147965,6 +149812,7 @@ SAML Response body for login
147965
149812
  "application.deviceCounts",
147966
149813
  "application.notebookMinuteCounts",
147967
149814
  "application.search",
149815
+ "application.importLogs",
147968
149816
  "applicationApiToken.delete",
147969
149817
  "applicationApiToken.get",
147970
149818
  "applicationApiToken.patch",
@@ -148602,7 +150450,10 @@ Schema for the result of a time series query
148602
150450
  "format": "date-time"
148603
150451
  },
148604
150452
  "resolution": {
148605
- "type": "number"
150453
+ "type": [
150454
+ "number",
150455
+ "null"
150456
+ ]
148606
150457
  },
148607
150458
  "aggregation": {
148608
150459
  "oneOf": [
@@ -148708,6 +150559,19 @@ Schema for the result of a time series query
148708
150559
  }
148709
150560
  ]
148710
150561
  },
150562
+ "limit": {
150563
+ "type": [
150564
+ "number",
150565
+ "null"
150566
+ ]
150567
+ },
150568
+ "order": {
150569
+ "type": "string",
150570
+ "enum": [
150571
+ "asc",
150572
+ "desc"
150573
+ ]
150574
+ },
148711
150575
  "devices": {
148712
150576
  "type": "object",
148713
150577
  "patternProperties": {
@@ -148719,6 +150583,20 @@ Schema for the result of a time series query
148719
150583
  "minLength": 1,
148720
150584
  "maxLength": 255
148721
150585
  },
150586
+ "tags": {
150587
+ "type": "object",
150588
+ "patternProperties": {
150589
+ "^[0-9a-zA-Z_-]{1,255}$": {
150590
+ "type": "array",
150591
+ "items": {
150592
+ "type": "string",
150593
+ "minLength": 1,
150594
+ "maxLength": 255
150595
+ }
150596
+ }
150597
+ },
150598
+ "additionalProperties": false
150599
+ },
148722
150600
  "points": {
148723
150601
  "type": "array",
148724
150602
  "items": {
@@ -148753,7 +150631,8 @@ Schema for the result of a time series query
148753
150631
  "additionalProperties": false,
148754
150632
  "required": [
148755
150633
  "name",
148756
- "points"
150634
+ "points",
150635
+ "tags"
148757
150636
  ]
148758
150637
  }
148759
150638
  },
@@ -148766,6 +150645,8 @@ Schema for the result of a time series query
148766
150645
  "end",
148767
150646
  "resolution",
148768
150647
  "aggregation",
150648
+ "limit",
150649
+ "order",
148769
150650
  "devices"
148770
150651
  ]
148771
150652
  }
@@ -148778,9 +150659,12 @@ Schema for the result of a time series query
148778
150659
  "end": "2016-06-15T04:00:00.000Z",
148779
150660
  "resolution": 300000,
148780
150661
  "aggregation": "MEAN",
150662
+ "limit": null,
150663
+ "order": "asc",
148781
150664
  "devices": {
148782
150665
  "575ecf887ae143cd83dc4aa2": {
148783
150666
  "name": "My Device",
150667
+ "tags": {},
148784
150668
  "points": [
148785
150669
  {
148786
150670
  "time": "2016-06-15T03:50:00.000Z",
@@ -148798,6 +150682,12 @@ Schema for the result of a time series query
148798
150682
  },
148799
150683
  "575ef5c97ae143cd83dc4aac": {
148800
150684
  "name": "My Other Device",
150685
+ "tags": {
150686
+ "myTag": [
150687
+ "val1",
150688
+ "val2"
150689
+ ]
150690
+ },
148801
150691
  "points": [
148802
150692
  {
148803
150693
  "time": "2016-06-15T03:50:00.000Z",
@@ -150609,40 +152499,6 @@ Schema for the body of a time series query request
150609
152499
 
150610
152500
  <br/>
150611
152501
 
150612
- ## Two Factor Auth Info
150613
-
150614
- Schema for information about the two factor auth for currently authenticated use
150615
-
150616
- ### <a name="two-factor-auth-info-schema"></a> Schema
150617
-
150618
- ```json
150619
- {
150620
- "$schema": "http://json-schema.org/draft-07/schema#",
150621
- "type": "object",
150622
- "properties": {
150623
- "key": {
150624
- "type": "string",
150625
- "maxLength": 1024
150626
- },
150627
- "keyUri": {
150628
- "type": "string",
150629
- "maxLength": 1024
150630
- }
150631
- },
150632
- "additionalProperties": false
150633
- }
150634
- ```
150635
- ### <a name="two-factor-auth-info-example"></a> Example
150636
-
150637
- ```json
150638
- {
150639
- "key": "HBBGWJJVOVLXS4ZGNRTDOUKTMESFUR3BMRWVQND2HJYT44TOMVJA",
150640
- "keyUri": "string"
150641
- }
150642
- ```
150643
-
150644
- <br/>
150645
-
150646
152502
  ## User Credentials
150647
152503
 
150648
152504
  Schema for the body of a User authentication request
@@ -150759,6 +152615,7 @@ Schema for the body of a User authentication request
150759
152615
  "application.deviceCounts",
150760
152616
  "application.notebookMinuteCounts",
150761
152617
  "application.search",
152618
+ "application.importLogs",
150762
152619
  "applicationApiToken.delete",
150763
152620
  "applicationApiToken.get",
150764
152621
  "applicationApiToken.patch",
@@ -151333,6 +153190,7 @@ Schema for the body of a User creation request
151333
153190
  "application.deviceCounts",
151334
153191
  "application.notebookMinuteCounts",
151335
153192
  "application.search",
153193
+ "application.importLogs",
151336
153194
  "applicationApiToken.delete",
151337
153195
  "applicationApiToken.get",
151338
153196
  "applicationApiToken.patch",
@@ -151713,6 +153571,13 @@ Schema for the body of a User creation request
151713
153571
  "tokenTTL": {
151714
153572
  "type": "integer",
151715
153573
  "minimum": 0
153574
+ },
153575
+ "inviteToken": {
153576
+ "type": "string",
153577
+ "minLength": 1
153578
+ },
153579
+ "acceptInvite": {
153580
+ "type": "boolean"
151716
153581
  }
151717
153582
  },
151718
153583
  "anyOf": [