losant_rest 1.22.3 → 1.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +1313 -145
  3. data/docs/file.md +3 -3
  4. data/docs/files.md +2 -2
  5. data/docs/me.md +11 -1
  6. data/docs/privateFile.md +222 -0
  7. data/docs/privateFiles.md +97 -0
  8. data/lib/platform_rest/client.rb +10 -2
  9. data/lib/platform_rest/file.rb +3 -3
  10. data/lib/platform_rest/files.rb +1 -1
  11. data/lib/platform_rest/me.rb +21 -1
  12. data/lib/platform_rest/private_file.rb +230 -0
  13. data/lib/platform_rest/private_files.rb +146 -0
  14. data/lib/platform_rest/version.rb +1 -1
  15. data/lib/platform_rest.rb +2 -0
  16. data/schemas/apiTokenPost.json +12 -2
  17. data/schemas/application.json +7 -0
  18. data/schemas/applicationClonePost.json +4 -0
  19. data/schemas/applicationCreationByTemplateResult.json +7 -0
  20. data/schemas/applicationDashboardPost.json +3 -1
  21. data/schemas/applicationExportPost.json +4 -0
  22. data/schemas/applicationImportExecutions.json +2 -0
  23. data/schemas/applicationPatch.json +4 -0
  24. data/schemas/applicationPost.json +4 -0
  25. data/schemas/applicationTemplate.json +3 -0
  26. data/schemas/applicationTemplates.json +3 -0
  27. data/schemas/applications.json +7 -0
  28. data/schemas/auditLog.json +1 -0
  29. data/schemas/auditLogFilter.json +1 -0
  30. data/schemas/auditLogs.json +1 -0
  31. data/schemas/credentialLinkedResources.json +18 -0
  32. data/schemas/dashboard.json +3 -1
  33. data/schemas/dashboardBlockSuggestCodePost.json +620 -0
  34. data/schemas/dashboardBlockSuggestCodeResponse.json +49 -0
  35. data/schemas/dashboardPatch.json +3 -1
  36. data/schemas/dashboardPost.json +3 -1
  37. data/schemas/dashboards.json +3 -1
  38. data/schemas/experienceLinkedResources.json +18 -0
  39. data/schemas/fileUploadPostResponse.json +103 -82
  40. data/schemas/files.json +1 -1
  41. data/schemas/flow.json +6 -0
  42. data/schemas/flowPatch.json +6 -0
  43. data/schemas/flowPost.json +6 -0
  44. data/schemas/flowVersion.json +12 -0
  45. data/schemas/flowVersionPost.json +6 -0
  46. data/schemas/flowVersions.json +12 -0
  47. data/schemas/flows.json +6 -0
  48. data/schemas/flowsImportPost.json +12 -0
  49. data/schemas/flowsImportResult.json +18 -0
  50. data/schemas/githubLogin.json +12 -2
  51. data/schemas/historicalSummaries.json +10 -0
  52. data/schemas/historicalSummary.json +10 -0
  53. data/schemas/importIntoApplicationOptions.json +1 -0
  54. data/schemas/importNewApplicationOptions.json +1 -0
  55. data/schemas/instance.json +7 -0
  56. data/schemas/instanceOrg.json +7 -0
  57. data/schemas/instanceOrgPatch.json +4 -0
  58. data/schemas/instanceOrgPost.json +4 -0
  59. data/schemas/instanceOrgs.json +7 -0
  60. data/schemas/instancePatch.json +4 -0
  61. data/schemas/instanceSandbox.json +6 -0
  62. data/schemas/instanceSandboxes.json +6 -0
  63. data/schemas/instances.json +7 -0
  64. data/schemas/me.json +11 -0
  65. data/schemas/notebook.json +9 -0
  66. data/schemas/notebookPatch.json +9 -0
  67. data/schemas/notebookPost.json +9 -0
  68. data/schemas/notebooks.json +9 -0
  69. data/schemas/org.json +7 -0
  70. data/schemas/orgs.json +7 -0
  71. data/schemas/samlResponse.json +12 -2
  72. data/schemas/suggestFunctionPost.json +2 -1
  73. data/schemas/suggestFunctionResponse.json +13 -1
  74. data/schemas/userCredentials.json +12 -2
  75. data/schemas/userPost.json +12 -2
  76. data/schemas/webhook.json +3 -0
  77. data/schemas/webhookPatch.json +3 -0
  78. data/schemas/webhookPost.json +3 -0
  79. data/schemas/webhooks.json +3 -0
  80. metadata +8 -2
data/docs/_schemas.md CHANGED
@@ -67,6 +67,8 @@
67
67
  * [Credential Post](#credential-post)
68
68
  * [Credentials](#credentials)
69
69
  * [Dashboard](#dashboard)
70
+ * [Dashboard Block Suggest Code Post](#dashboard-block-suggest-code-post)
71
+ * [Suggest Function Respone](#suggest-function-respone)
70
72
  * [Dashboard Context Instance](#dashboard-context-instance)
71
73
  * [Dashboard Patch](#dashboard-patch)
72
74
  * [Dashboard Post](#dashboard-post)
@@ -14106,10 +14108,12 @@ Schema for the body of an API Token creation request
14106
14108
  "flows.*",
14107
14109
  "flowVersion.*",
14108
14110
  "flowVersions.*",
14109
- "resourceJobs.*",
14110
- "resourceJob.*",
14111
14111
  "notebook.*",
14112
14112
  "notebooks.*",
14113
+ "privateFile.*",
14114
+ "privateFiles.*",
14115
+ "resourceJobs.*",
14116
+ "resourceJob.*",
14113
14117
  "webhook.*",
14114
14118
  "webhooks.*",
14115
14119
  "application.applyTemplate",
@@ -14346,6 +14350,13 @@ Schema for the body of an API Token creation request
14346
14350
  "notebook.upload",
14347
14351
  "notebooks.get",
14348
14352
  "notebooks.post",
14353
+ "privateFile.get",
14354
+ "privateFile.patch",
14355
+ "privateFile.move",
14356
+ "privateFile.delete",
14357
+ "privateFile.upload",
14358
+ "privateFiles.get",
14359
+ "privateFiles.post",
14349
14360
  "resourceJob.get",
14350
14361
  "resourceJob.logs",
14351
14362
  "resourceJob.patch",
@@ -14382,6 +14393,7 @@ Schema for the body of an API Token creation request
14382
14393
  "dashboard.patch",
14383
14394
  "dashboard.delete",
14384
14395
  "dashboard.sendReport",
14396
+ "dashboard.suggestCode",
14385
14397
  "dashboards.get",
14386
14398
  "dashboards.post",
14387
14399
  "org.get",
@@ -14926,6 +14938,9 @@ Schema for a single Application
14926
14938
  "notebookCount": {
14927
14939
  "type": "integer"
14928
14940
  },
14941
+ "privateFileCount": {
14942
+ "type": "integer"
14943
+ },
14929
14944
  "resourceJobCount": {
14930
14945
  "type": "integer"
14931
14946
  },
@@ -15228,6 +15243,10 @@ Schema for a single Application
15228
15243
  "type": "boolean",
15229
15244
  "default": false
15230
15245
  },
15246
+ "includePrivateFiles": {
15247
+ "type": "boolean",
15248
+ "default": false
15249
+ },
15231
15250
  "includeDataTableRows": {
15232
15251
  "type": "boolean",
15233
15252
  "default": false
@@ -16451,6 +16470,10 @@ Schema for the body of an application clone request
16451
16470
  "type": "boolean",
16452
16471
  "default": false
16453
16472
  },
16473
+ "includePrivateFiles": {
16474
+ "type": "boolean",
16475
+ "default": false
16476
+ },
16454
16477
  "includeDataTableRows": {
16455
16478
  "type": "boolean",
16456
16479
  "default": false
@@ -16692,6 +16715,9 @@ Schema for creating an application by template result
16692
16715
  "notebookCount": {
16693
16716
  "type": "integer"
16694
16717
  },
16718
+ "privateFileCount": {
16719
+ "type": "integer"
16720
+ },
16695
16721
  "resourceJobCount": {
16696
16722
  "type": "integer"
16697
16723
  },
@@ -16994,6 +17020,10 @@ Schema for creating an application by template result
16994
17020
  "type": "boolean",
16995
17021
  "default": false
16996
17022
  },
17023
+ "includePrivateFiles": {
17024
+ "type": "boolean",
17025
+ "default": false
17026
+ },
16997
17027
  "includeDataTableRows": {
16998
17028
  "type": "boolean",
16999
17029
  "default": false
@@ -18127,8 +18157,10 @@ Schema for the body of an Application scoped Dashboard creation request
18127
18157
  "vegaLite3",
18128
18158
  "vegaLite4",
18129
18159
  "vegaLite5",
18160
+ "vegaLite6",
18130
18161
  "vega4",
18131
- "vega5"
18162
+ "vega5",
18163
+ "vega6"
18132
18164
  ]
18133
18165
  },
18134
18166
  "tooltipEventSubscribe": {
@@ -23624,6 +23656,10 @@ Schema for the body of an application export request
23624
23656
  "type": "boolean",
23625
23657
  "default": false
23626
23658
  },
23659
+ "includePrivateFiles": {
23660
+ "type": "boolean",
23661
+ "default": false
23662
+ },
23627
23663
  "includeDataTableRows": {
23628
23664
  "type": "boolean",
23629
23665
  "default": false
@@ -23886,6 +23922,7 @@ Schema for a list Application import executions
23886
23922
  "Global",
23887
23923
  "Integration",
23888
23924
  "Notebook",
23925
+ "PrivateFile",
23889
23926
  "Webhook",
23890
23927
  "ResourceJob"
23891
23928
  ]
@@ -23947,6 +23984,7 @@ Schema for a list Application import executions
23947
23984
  "Global",
23948
23985
  "Integration",
23949
23986
  "Notebook",
23987
+ "PrivateFile",
23950
23988
  "Webhook",
23951
23989
  "ResourceJob"
23952
23990
  ]
@@ -25438,6 +25476,10 @@ Schema for the body of an Application modification request
25438
25476
  "type": "boolean",
25439
25477
  "default": false
25440
25478
  },
25479
+ "includePrivateFiles": {
25480
+ "type": "boolean",
25481
+ "default": false
25482
+ },
25441
25483
  "includeDataTableRows": {
25442
25484
  "type": "boolean",
25443
25485
  "default": false
@@ -25752,6 +25794,10 @@ Schema for the body of an Application creation request
25752
25794
  "type": "boolean",
25753
25795
  "default": false
25754
25796
  },
25797
+ "includePrivateFiles": {
25798
+ "type": "boolean",
25799
+ "default": false
25800
+ },
25755
25801
  "includeDataTableRows": {
25756
25802
  "type": "boolean",
25757
25803
  "default": false
@@ -26222,6 +26268,9 @@ Schema for a single Application Template
26222
26268
  "notebookCount": {
26223
26269
  "type": "integer"
26224
26270
  },
26271
+ "privateFileCount": {
26272
+ "type": "integer"
26273
+ },
26225
26274
  "resourceJobCount": {
26226
26275
  "type": "integer"
26227
26276
  },
@@ -26264,6 +26313,7 @@ Schema for a single Application Template
26264
26313
  "flowCount": 1,
26265
26314
  "integrationCount": 0,
26266
26315
  "notebookCount": 0,
26316
+ "privateFileCount": 0,
26267
26317
  "resourceJobCount": 0,
26268
26318
  "dataTableCsvSize": 4008,
26269
26319
  "webhookCount": 0
@@ -26540,6 +26590,9 @@ Schema for a collection of Application Templates
26540
26590
  "notebookCount": {
26541
26591
  "type": "integer"
26542
26592
  },
26593
+ "privateFileCount": {
26594
+ "type": "integer"
26595
+ },
26543
26596
  "resourceJobCount": {
26544
26597
  "type": "integer"
26545
26598
  },
@@ -26630,6 +26683,7 @@ Schema for a collection of Application Templates
26630
26683
  "flowCount": 1,
26631
26684
  "integrationCount": 0,
26632
26685
  "notebookCount": 0,
26686
+ "privateFileCount": 0,
26633
26687
  "resourceJobCount": 0,
26634
26688
  "dataTableCsvSize": 4008,
26635
26689
  "webhookCount": 0
@@ -26833,6 +26887,9 @@ Schema for a collection of Applications
26833
26887
  "notebookCount": {
26834
26888
  "type": "integer"
26835
26889
  },
26890
+ "privateFileCount": {
26891
+ "type": "integer"
26892
+ },
26836
26893
  "resourceJobCount": {
26837
26894
  "type": "integer"
26838
26895
  },
@@ -27135,6 +27192,10 @@ Schema for a collection of Applications
27135
27192
  "type": "boolean",
27136
27193
  "default": false
27137
27194
  },
27195
+ "includePrivateFiles": {
27196
+ "type": "boolean",
27197
+ "default": false
27198
+ },
27138
27199
  "includeDataTableRows": {
27139
27200
  "type": "boolean",
27140
27201
  "default": false
@@ -27455,6 +27516,7 @@ Schema for a single Audit Log entry
27455
27516
  "Flow",
27456
27517
  "Integration",
27457
27518
  "Notebook",
27519
+ "PrivateFile",
27458
27520
  "ResourceJob",
27459
27521
  "Webhook"
27460
27522
  ]
@@ -27608,6 +27670,7 @@ Schema for the filter of an audit log query
27608
27670
  "Flow",
27609
27671
  "Integration",
27610
27672
  "Notebook",
27673
+ "PrivateFile",
27611
27674
  "ResourceJob",
27612
27675
  "Webhook"
27613
27676
  ]
@@ -27778,6 +27841,7 @@ Schema for a collection of Audit Logs
27778
27841
  "Flow",
27779
27842
  "Integration",
27780
27843
  "Notebook",
27844
+ "PrivateFile",
27781
27845
  "ResourceJob",
27782
27846
  "Webhook"
27783
27847
  ]
@@ -29290,6 +29354,12 @@ The body of an credential linked resources response
29290
29354
  },
29291
29355
  "update": {
29292
29356
  "type": "boolean"
29357
+ },
29358
+ "public": {
29359
+ "type": "boolean"
29360
+ },
29361
+ "private": {
29362
+ "type": "boolean"
29293
29363
  }
29294
29364
  },
29295
29365
  "additionalProperties": false
@@ -32421,6 +32491,12 @@ The body of an credential linked resources response
32421
32491
  },
32422
32492
  "update": {
32423
32493
  "type": "boolean"
32494
+ },
32495
+ "public": {
32496
+ "type": "boolean"
32497
+ },
32498
+ "private": {
32499
+ "type": "boolean"
32424
32500
  }
32425
32501
  },
32426
32502
  "additionalProperties": false
@@ -35461,6 +35537,12 @@ The body of an credential linked resources response
35461
35537
  },
35462
35538
  "update": {
35463
35539
  "type": "boolean"
35540
+ },
35541
+ "public": {
35542
+ "type": "boolean"
35543
+ },
35544
+ "private": {
35545
+ "type": "boolean"
35464
35546
  }
35465
35547
  },
35466
35548
  "additionalProperties": false
@@ -40591,8 +40673,10 @@ Schema for a single Dashboard
40591
40673
  "vegaLite3",
40592
40674
  "vegaLite4",
40593
40675
  "vegaLite5",
40676
+ "vegaLite6",
40594
40677
  "vega4",
40595
- "vega5"
40678
+ "vega5",
40679
+ "vega6"
40596
40680
  ]
40597
40681
  },
40598
40682
  "tooltipEventSubscribe": {
@@ -46037,6 +46121,746 @@ Schema for a single Dashboard
46037
46121
 
46038
46122
  <br/>
46039
46123
 
46124
+ ## Dashboard Block Suggest Code Post
46125
+
46126
+ Schema for the body of a dashboard block code suggestion request
46127
+
46128
+ ### <a name="dashboard-block-suggest-code-post-schema"></a> Schema
46129
+
46130
+ ```json
46131
+ {
46132
+ "$schema": "http://json-schema.org/draft-07/schema#",
46133
+ "type": "object",
46134
+ "properties": {
46135
+ "text": {
46136
+ "type": "string",
46137
+ "minLength": 1,
46138
+ "maxLength": 8192
46139
+ },
46140
+ "blockConfig": {
46141
+ "type": "object",
46142
+ "properties": {
46143
+ "id": {
46144
+ "type": "string",
46145
+ "maxLength": 48
46146
+ },
46147
+ "title": {
46148
+ "type": "string",
46149
+ "maxLength": 255
46150
+ },
46151
+ "description": {
46152
+ "type": "string",
46153
+ "maxLength": 32767
46154
+ },
46155
+ "applicationId": {
46156
+ "type": "string",
46157
+ "pattern": "^[A-Fa-f\\d]{24}$"
46158
+ },
46159
+ "startX": {
46160
+ "type": "number"
46161
+ },
46162
+ "startY": {
46163
+ "type": "number"
46164
+ },
46165
+ "width": {
46166
+ "type": "number"
46167
+ },
46168
+ "height": {
46169
+ "type": "number"
46170
+ },
46171
+ "blockType": {
46172
+ "type": "string",
46173
+ "enum": [
46174
+ "custom-chart",
46175
+ "custom-html"
46176
+ ]
46177
+ },
46178
+ "config": {
46179
+ "type": "object",
46180
+ "properties": {
46181
+ "configuration": {
46182
+ "oneOf": [
46183
+ {
46184
+ "type": "object",
46185
+ "properties": {
46186
+ "headContent": {
46187
+ "type": "string",
46188
+ "maxLength": 32767
46189
+ },
46190
+ "bodyContent": {
46191
+ "type": "string",
46192
+ "maxLength": 32767
46193
+ }
46194
+ },
46195
+ "additionalProperties": false
46196
+ },
46197
+ {
46198
+ "type": "string",
46199
+ "maxLength": 32767
46200
+ }
46201
+ ]
46202
+ },
46203
+ "segments": {
46204
+ "type": "array",
46205
+ "maxItems": 100,
46206
+ "items": {
46207
+ "oneOf": [
46208
+ {
46209
+ "type": "object",
46210
+ "properties": {
46211
+ "queryType": {
46212
+ "type": "string",
46213
+ "enum": [
46214
+ "time-series"
46215
+ ]
46216
+ },
46217
+ "id": {
46218
+ "type": "string",
46219
+ "maxLength": 48
46220
+ },
46221
+ "attribute": {
46222
+ "type": "string",
46223
+ "maxLength": 255
46224
+ },
46225
+ "aggregation": {
46226
+ "oneOf": [
46227
+ {
46228
+ "oneOf": [
46229
+ {
46230
+ "type": "string",
46231
+ "enum": [
46232
+ "FIRST",
46233
+ "LAST",
46234
+ "COUNT",
46235
+ "MAX",
46236
+ "MIN",
46237
+ "MEDIAN",
46238
+ "MEAN",
46239
+ "SUM",
46240
+ "STD_DEV"
46241
+ ]
46242
+ },
46243
+ {
46244
+ "type": "string",
46245
+ "enum": [
46246
+ "NONE"
46247
+ ]
46248
+ }
46249
+ ]
46250
+ },
46251
+ {
46252
+ "type": "object",
46253
+ "properties": {
46254
+ "type": {
46255
+ "oneOf": [
46256
+ {
46257
+ "type": "string",
46258
+ "enum": [
46259
+ "FIRST",
46260
+ "LAST",
46261
+ "COUNT",
46262
+ "MAX",
46263
+ "MIN",
46264
+ "MEDIAN",
46265
+ "MEAN",
46266
+ "SUM",
46267
+ "STD_DEV"
46268
+ ]
46269
+ },
46270
+ {
46271
+ "type": "string",
46272
+ "enum": [
46273
+ "NONE"
46274
+ ]
46275
+ }
46276
+ ]
46277
+ },
46278
+ "options": {
46279
+ "type": "object",
46280
+ "additionalProperties": false
46281
+ }
46282
+ },
46283
+ "additionalProperties": false,
46284
+ "required": [
46285
+ "type"
46286
+ ]
46287
+ },
46288
+ {
46289
+ "type": "object",
46290
+ "properties": {
46291
+ "type": {
46292
+ "type": "string",
46293
+ "enum": [
46294
+ "TIMEATVALUE"
46295
+ ]
46296
+ },
46297
+ "options": {
46298
+ "type": "object",
46299
+ "properties": {
46300
+ "value": {
46301
+ "oneOf": [
46302
+ {
46303
+ "type": "string",
46304
+ "maxLength": 255
46305
+ },
46306
+ {
46307
+ "type": "number"
46308
+ },
46309
+ {
46310
+ "type": "boolean"
46311
+ }
46312
+ ]
46313
+ }
46314
+ },
46315
+ "additionalProperties": false,
46316
+ "required": [
46317
+ "value"
46318
+ ]
46319
+ }
46320
+ },
46321
+ "additionalProperties": false,
46322
+ "required": [
46323
+ "type",
46324
+ "options"
46325
+ ]
46326
+ }
46327
+ ]
46328
+ },
46329
+ "deviceIds": {
46330
+ "type": "array",
46331
+ "maxItems": 100,
46332
+ "items": {
46333
+ "type": "string",
46334
+ "maxLength": 255
46335
+ }
46336
+ },
46337
+ "deviceTags": {
46338
+ "type": "array",
46339
+ "maxItems": 100,
46340
+ "items": {
46341
+ "type": "object",
46342
+ "properties": {
46343
+ "key": {
46344
+ "type": "string",
46345
+ "maxLength": 255
46346
+ },
46347
+ "value": {
46348
+ "type": "string",
46349
+ "maxLength": 255
46350
+ },
46351
+ "fromCtx": {
46352
+ "type": "string",
46353
+ "maxLength": 255
46354
+ }
46355
+ },
46356
+ "additionalProperties": false
46357
+ }
46358
+ },
46359
+ "query": {
46360
+ "type": "string",
46361
+ "maxLength": 32767
46362
+ },
46363
+ "duration": {
46364
+ "oneOf": [
46365
+ {
46366
+ "type": "integer",
46367
+ "minimum": 0
46368
+ },
46369
+ {
46370
+ "type": "string",
46371
+ "enum": [
46372
+ "{{dashboard.duration}}"
46373
+ ]
46374
+ }
46375
+ ]
46376
+ },
46377
+ "resolution": {
46378
+ "oneOf": [
46379
+ {
46380
+ "type": "integer",
46381
+ "minimum": 0
46382
+ },
46383
+ {
46384
+ "type": "null"
46385
+ },
46386
+ {
46387
+ "type": "string",
46388
+ "maxLength": 255
46389
+ }
46390
+ ]
46391
+ }
46392
+ },
46393
+ "additionalProperties": false
46394
+ },
46395
+ {
46396
+ "type": "object",
46397
+ "properties": {
46398
+ "queryType": {
46399
+ "type": "string",
46400
+ "enum": [
46401
+ "gauge"
46402
+ ]
46403
+ },
46404
+ "id": {
46405
+ "type": "string",
46406
+ "maxLength": 48
46407
+ },
46408
+ "attribute": {
46409
+ "type": "string",
46410
+ "maxLength": 255
46411
+ },
46412
+ "aggregation": {
46413
+ "oneOf": [
46414
+ {
46415
+ "oneOf": [
46416
+ {
46417
+ "type": "string",
46418
+ "enum": [
46419
+ "FIRST",
46420
+ "LAST",
46421
+ "COUNT",
46422
+ "MAX",
46423
+ "MIN",
46424
+ "MEDIAN",
46425
+ "MEAN",
46426
+ "SUM",
46427
+ "STD_DEV"
46428
+ ]
46429
+ },
46430
+ {
46431
+ "type": "string",
46432
+ "enum": [
46433
+ "NONE"
46434
+ ]
46435
+ }
46436
+ ]
46437
+ },
46438
+ {
46439
+ "type": "object",
46440
+ "properties": {
46441
+ "type": {
46442
+ "oneOf": [
46443
+ {
46444
+ "type": "string",
46445
+ "enum": [
46446
+ "FIRST",
46447
+ "LAST",
46448
+ "COUNT",
46449
+ "MAX",
46450
+ "MIN",
46451
+ "MEDIAN",
46452
+ "MEAN",
46453
+ "SUM",
46454
+ "STD_DEV"
46455
+ ]
46456
+ },
46457
+ {
46458
+ "type": "string",
46459
+ "enum": [
46460
+ "NONE"
46461
+ ]
46462
+ }
46463
+ ]
46464
+ },
46465
+ "options": {
46466
+ "type": "object",
46467
+ "additionalProperties": false
46468
+ }
46469
+ },
46470
+ "additionalProperties": false,
46471
+ "required": [
46472
+ "type"
46473
+ ]
46474
+ },
46475
+ {
46476
+ "type": "object",
46477
+ "properties": {
46478
+ "type": {
46479
+ "type": "string",
46480
+ "enum": [
46481
+ "TIMEATVALUE"
46482
+ ]
46483
+ },
46484
+ "options": {
46485
+ "type": "object",
46486
+ "properties": {
46487
+ "value": {
46488
+ "oneOf": [
46489
+ {
46490
+ "type": "string",
46491
+ "maxLength": 255
46492
+ },
46493
+ {
46494
+ "type": "number"
46495
+ },
46496
+ {
46497
+ "type": "boolean"
46498
+ }
46499
+ ]
46500
+ }
46501
+ },
46502
+ "additionalProperties": false,
46503
+ "required": [
46504
+ "value"
46505
+ ]
46506
+ }
46507
+ },
46508
+ "additionalProperties": false,
46509
+ "required": [
46510
+ "type",
46511
+ "options"
46512
+ ]
46513
+ }
46514
+ ]
46515
+ },
46516
+ "deviceIds": {
46517
+ "type": "array",
46518
+ "maxItems": 100,
46519
+ "items": {
46520
+ "type": "string",
46521
+ "maxLength": 255
46522
+ }
46523
+ },
46524
+ "deviceTags": {
46525
+ "type": "array",
46526
+ "maxItems": 100,
46527
+ "items": {
46528
+ "type": "object",
46529
+ "properties": {
46530
+ "key": {
46531
+ "type": "string",
46532
+ "maxLength": 255
46533
+ },
46534
+ "value": {
46535
+ "type": "string",
46536
+ "maxLength": 255
46537
+ },
46538
+ "fromCtx": {
46539
+ "type": "string",
46540
+ "maxLength": 255
46541
+ }
46542
+ },
46543
+ "additionalProperties": false
46544
+ }
46545
+ },
46546
+ "query": {
46547
+ "type": "string",
46548
+ "maxLength": 32767
46549
+ },
46550
+ "duration": {
46551
+ "oneOf": [
46552
+ {
46553
+ "type": "integer",
46554
+ "minimum": 0
46555
+ },
46556
+ {
46557
+ "type": "string",
46558
+ "enum": [
46559
+ "{{dashboard.duration}}"
46560
+ ]
46561
+ }
46562
+ ]
46563
+ }
46564
+ },
46565
+ "additionalProperties": false
46566
+ },
46567
+ {
46568
+ "type": "object",
46569
+ "properties": {
46570
+ "queryType": {
46571
+ "type": "string",
46572
+ "enum": [
46573
+ "data-table"
46574
+ ]
46575
+ },
46576
+ "id": {
46577
+ "type": "string",
46578
+ "maxLength": 48
46579
+ },
46580
+ "dataTableId": {
46581
+ "type": "string",
46582
+ "pattern": "^[A-Fa-f\\d]{24}$"
46583
+ },
46584
+ "query": {
46585
+ "type": "string",
46586
+ "maxLength": 32767
46587
+ },
46588
+ "queryMode": {
46589
+ "type": "string",
46590
+ "enum": [
46591
+ "$or",
46592
+ "$and",
46593
+ "advanced"
46594
+ ]
46595
+ },
46596
+ "sortColumn": {
46597
+ "type": "string",
46598
+ "maxLength": 255
46599
+ },
46600
+ "sortDirection": {
46601
+ "type": "string",
46602
+ "maxLength": 255
46603
+ },
46604
+ "limit": {
46605
+ "type": "string",
46606
+ "maxLength": 255
46607
+ },
46608
+ "offset": {
46609
+ "type": "string",
46610
+ "maxLength": 255
46611
+ }
46612
+ },
46613
+ "additionalProperties": false
46614
+ },
46615
+ {
46616
+ "type": "object",
46617
+ "properties": {
46618
+ "queryType": {
46619
+ "type": "string",
46620
+ "enum": [
46621
+ "device-info"
46622
+ ]
46623
+ },
46624
+ "id": {
46625
+ "type": "string",
46626
+ "maxLength": 48
46627
+ },
46628
+ "attributes": {
46629
+ "oneOf": [
46630
+ {
46631
+ "type": "null"
46632
+ },
46633
+ {
46634
+ "type": "array",
46635
+ "maxItems": 100,
46636
+ "items": {
46637
+ "type": "string",
46638
+ "maxLength": 255
46639
+ }
46640
+ }
46641
+ ]
46642
+ },
46643
+ "excludeConnectionInfo": {
46644
+ "type": "boolean"
46645
+ },
46646
+ "sortField": {
46647
+ "type": "string",
46648
+ "maxLength": 255
46649
+ },
46650
+ "sortDirection": {
46651
+ "type": "string",
46652
+ "maxLength": 255
46653
+ },
46654
+ "page": {
46655
+ "type": "string",
46656
+ "maxLength": 255
46657
+ },
46658
+ "perPage": {
46659
+ "type": "string",
46660
+ "maxLength": 255
46661
+ },
46662
+ "query": {
46663
+ "type": "string",
46664
+ "maxLength": 32767
46665
+ },
46666
+ "compositeStateType": {
46667
+ "type": "string",
46668
+ "maxLength": 255
46669
+ }
46670
+ },
46671
+ "additionalProperties": false
46672
+ },
46673
+ {
46674
+ "type": "object",
46675
+ "properties": {
46676
+ "queryType": {
46677
+ "type": "string",
46678
+ "enum": [
46679
+ "events"
46680
+ ]
46681
+ },
46682
+ "id": {
46683
+ "type": "string",
46684
+ "maxLength": 48
46685
+ },
46686
+ "sortField": {
46687
+ "type": "string",
46688
+ "maxLength": 255
46689
+ },
46690
+ "sortDirection": {
46691
+ "type": "string",
46692
+ "maxLength": 255
46693
+ },
46694
+ "page": {
46695
+ "type": "string",
46696
+ "maxLength": 255
46697
+ },
46698
+ "perPage": {
46699
+ "type": "string",
46700
+ "maxLength": 255
46701
+ },
46702
+ "query": {
46703
+ "type": "string",
46704
+ "maxLength": 32767
46705
+ },
46706
+ "includeExtendedEventInfo": {
46707
+ "type": "boolean"
46708
+ }
46709
+ },
46710
+ "additionalProperties": false
46711
+ }
46712
+ ]
46713
+ }
46714
+ },
46715
+ "vegaVersion": {
46716
+ "type": "string",
46717
+ "enum": [
46718
+ "vegaLite2",
46719
+ "vegaLite3",
46720
+ "vegaLite4",
46721
+ "vegaLite5",
46722
+ "vegaLite6",
46723
+ "vega4",
46724
+ "vega5",
46725
+ "vega6"
46726
+ ]
46727
+ },
46728
+ "tooltipEventSubscribe": {
46729
+ "type": "boolean"
46730
+ }
46731
+ },
46732
+ "additionalProperties": false
46733
+ }
46734
+ },
46735
+ "required": [
46736
+ "blockType",
46737
+ "startX",
46738
+ "startY",
46739
+ "width",
46740
+ "height"
46741
+ ],
46742
+ "additionalProperties": false
46743
+ }
46744
+ },
46745
+ "required": [
46746
+ "text",
46747
+ "blockConfig"
46748
+ ],
46749
+ "additionalProperties": false
46750
+ }
46751
+ ```
46752
+ ### <a name="dashboard-block-suggest-code-post-example"></a> Example
46753
+
46754
+ ```json
46755
+ {
46756
+ "text": "Generate a Google Charts time series chart using the data from the time series segment",
46757
+ "blockConfig": {
46758
+ "applicationId": "64b8f0f1f1c2a30008e4b8c1",
46759
+ "id": "1",
46760
+ "startX": 0,
46761
+ "startY": 0,
46762
+ "width": 6,
46763
+ "height": 6,
46764
+ "blockType": "custom-html",
46765
+ "config": {
46766
+ "configuration": {
46767
+ "headContent": "",
46768
+ "bodyContent": ""
46769
+ },
46770
+ "segments": [
46771
+ {
46772
+ "queryType": "time-series",
46773
+ "id": "time-series-0",
46774
+ "deviceIds": [
46775
+ "{{ctx.deviceId}}"
46776
+ ],
46777
+ "deviceTags": [],
46778
+ "attribute": "{{ctx.attribute}}",
46779
+ "duration": "{{dashboard.duration}}",
46780
+ "resolution": "{{dashboard.resolution}}"
46781
+ }
46782
+ ],
46783
+ "tooltipEventSubscribe": false
46784
+ }
46785
+ }
46786
+ }
46787
+ ```
46788
+
46789
+ <br/>
46790
+
46791
+ ## Suggest Function Respone
46792
+
46793
+ Schema for the response to a suggest function request
46794
+
46795
+ ### <a name="suggest-function-respone-schema"></a> Schema
46796
+
46797
+ ```json
46798
+ {
46799
+ "$schema": "http://json-schema.org/draft-07/schema#",
46800
+ "type": "object",
46801
+ "properties": {
46802
+ "response": {
46803
+ "type": "object",
46804
+ "properties": {
46805
+ "headContent": {
46806
+ "type": "string",
46807
+ "maxLength": 32767
46808
+ },
46809
+ "bodyContent": {
46810
+ "type": "string",
46811
+ "maxLength": 32767
46812
+ },
46813
+ "comments": {
46814
+ "type": "string",
46815
+ "maxLength": 32767
46816
+ }
46817
+ }
46818
+ },
46819
+ "responseId": {
46820
+ "type": "string",
46821
+ "minLength": 1,
46822
+ "maxLength": 1024
46823
+ },
46824
+ "finishReason": {
46825
+ "type": "string",
46826
+ "enum": [
46827
+ "FINISH_REASON_UNSPECIFIED",
46828
+ "STOP",
46829
+ "MAX_TOKENS",
46830
+ "SAFETY",
46831
+ "RECITATION",
46832
+ "OTHER",
46833
+ "BLOCKLIST",
46834
+ "PROHIBITED_CONTENT",
46835
+ "SPII",
46836
+ "MALFORMED_FUNCTION_CALL"
46837
+ ]
46838
+ }
46839
+ },
46840
+ "required": [
46841
+ "response",
46842
+ "responseId",
46843
+ "finishReason"
46844
+ ],
46845
+ "additionalProperties": false
46846
+ }
46847
+ ```
46848
+ ### <a name="suggest-function-respone-example"></a> Example
46849
+
46850
+ ```json
46851
+ {
46852
+ "response": {
46853
+ "headContent": "<script>window.alert('Hello from the Custom HTML Block!');</script>",
46854
+ "bodyContent": "<div>Did you see an alert?</div>",
46855
+ "comments": "This code will fire a window alert when the block initially loads."
46856
+ },
46857
+ "responseId": "YCwSaIeyOfComecPutWYyAg",
46858
+ "finishReason": "STOP"
46859
+ }
46860
+ ```
46861
+
46862
+ <br/>
46863
+
46040
46864
  ## Dashboard Context Instance
46041
46865
 
46042
46866
  Schema for a dashboard context instance
@@ -47028,8 +47852,10 @@ Schema for the body of a Dashboard modification request
47028
47852
  "vegaLite3",
47029
47853
  "vegaLite4",
47030
47854
  "vegaLite5",
47855
+ "vegaLite6",
47031
47856
  "vega4",
47032
- "vega5"
47857
+ "vega5",
47858
+ "vega6"
47033
47859
  ]
47034
47860
  },
47035
47861
  "tooltipEventSubscribe": {
@@ -53463,8 +54289,10 @@ Schema for the body of a Dashboard creation request
53463
54289
  "vegaLite3",
53464
54290
  "vegaLite4",
53465
54291
  "vegaLite5",
54292
+ "vegaLite6",
53466
54293
  "vega4",
53467
- "vega5"
54294
+ "vega5",
54295
+ "vega6"
53468
54296
  ]
53469
54297
  },
53470
54298
  "tooltipEventSubscribe": {
@@ -60297,8 +61125,10 @@ Schema for a collection of Dashboards
60297
61125
  "vegaLite3",
60298
61126
  "vegaLite4",
60299
61127
  "vegaLite5",
61128
+ "vegaLite6",
60300
61129
  "vega4",
60301
- "vega5"
61130
+ "vega5",
61131
+ "vega6"
60302
61132
  ]
60303
61133
  },
60304
61134
  "tooltipEventSubscribe": {
@@ -82587,7 +83417,8 @@ Schema for the body of a Devices modification request
82587
83417
  "575ecec57ae143cd83dc4a9f",
82588
83418
  "575ecec57ae143cd83dc4a9e",
82589
83419
  "575ecec57ae143cd83dc4a9a"
82590
- ]
83420
+ ],
83421
+ "email": "email@example.com"
82591
83422
  }
82592
83423
  ```
82593
83424
 
@@ -84699,7 +85530,8 @@ Schema for the body of a bulk data removal request
84699
85530
  "attributes": [
84700
85531
  "deleteMyData",
84701
85532
  "mineToo"
84702
- ]
85533
+ ],
85534
+ "callbackUrl": "https://example.com/cb"
84703
85535
  }
84704
85536
  ```
84705
85537
 
@@ -91091,6 +91923,12 @@ The body of an experience linked resources response
91091
91923
  },
91092
91924
  "update": {
91093
91925
  "type": "boolean"
91926
+ },
91927
+ "public": {
91928
+ "type": "boolean"
91929
+ },
91930
+ "private": {
91931
+ "type": "boolean"
91094
91932
  }
91095
91933
  },
91096
91934
  "additionalProperties": false
@@ -94222,6 +95060,12 @@ The body of an experience linked resources response
94222
95060
  },
94223
95061
  "update": {
94224
95062
  "type": "boolean"
95063
+ },
95064
+ "public": {
95065
+ "type": "boolean"
95066
+ },
95067
+ "private": {
95068
+ "type": "boolean"
94225
95069
  }
94226
95070
  },
94227
95071
  "additionalProperties": false
@@ -97262,6 +98106,12 @@ The body of an experience linked resources response
97262
98106
  },
97263
98107
  "update": {
97264
98108
  "type": "boolean"
98109
+ },
98110
+ "public": {
98111
+ "type": "boolean"
98112
+ },
98113
+ "private": {
98114
+ "type": "boolean"
97265
98115
  }
97266
98116
  },
97267
98117
  "additionalProperties": false
@@ -102090,7 +102940,7 @@ Schema for a collection of Experience Views
102090
102940
 
102091
102941
  ## File Schema
102092
102942
 
102093
- Schema for a single file
102943
+ Schema for a single public or private file
102094
102944
 
102095
102945
  ### <a name="file-schema-schema"></a> Schema
102096
102946
 
@@ -102208,7 +103058,7 @@ Schema for a single file
102208
103058
 
102209
103059
  ## File Patch
102210
103060
 
102211
- Schema to patch a file
103061
+ Schema to patch a public or private file
102212
103062
 
102213
103063
  ### <a name="file-patch-schema"></a> Schema
102214
103064
 
@@ -102255,7 +103105,7 @@ Schema to patch a file
102255
103105
 
102256
103106
  ## File Post
102257
103107
 
102258
- Schema to create a single file or directory
103108
+ Schema to create a single public or private file or directory
102259
103109
 
102260
103110
  ### <a name="file-post-schema"></a> Schema
102261
103111
 
@@ -102296,140 +103146,161 @@ Schema to create a single file or directory
102296
103146
  "height": {
102297
103147
  "type": "number"
102298
103148
  }
102299
- },
102300
- "additionalProperties": false
102301
- }
102302
- },
102303
- "additionalProperties": false,
102304
- "required": [
102305
- "name",
102306
- "type"
102307
- ]
102308
- }
102309
- ```
102310
- ### <a name="file-post-example"></a> Example
102311
-
102312
- ```json
102313
- {
102314
- "name": "file.csv",
102315
- "type": "file",
102316
- "parentDirectory": "/",
102317
- "fileSize": 500,
102318
- "contentType": "text/csv"
102319
- }
102320
- ```
102321
-
102322
- <br/>
102323
-
102324
- ## File Upload Post Response
102325
-
102326
- Schema to upload the file to s3
102327
-
102328
- ### <a name="file-upload-post-response-schema"></a> Schema
102329
-
102330
- ```json
102331
- {
102332
- "$schema": "http://json-schema.org/draft-07/schema#",
102333
- "type": "object",
102334
- "properties": {
102335
- "id": {
102336
- "type": "string",
102337
- "pattern": "^[A-Fa-f\\d]{24}$"
102338
- },
102339
- "applicationId": {
102340
- "type": "string",
102341
- "pattern": "^[A-Fa-f\\d]{24}$"
102342
- },
102343
- "creationDate": {
102344
- "type": "string",
102345
- "format": "date-time"
102346
- },
102347
- "lastUpdated": {
102348
- "type": "string",
102349
- "format": "date-time"
102350
- },
102351
- "authorId": {
102352
- "type": "string",
102353
- "pattern": "^[A-Fa-f\\d]{24}$"
102354
- },
102355
- "authorType": {
102356
- "type": "string",
102357
- "enum": [
102358
- "flow",
102359
- "user",
102360
- "device",
102361
- "apiToken",
102362
- "notebook"
102363
- ]
102364
- },
102365
- "status": {
102366
- "type": "string",
102367
- "enum": [
102368
- "pending",
102369
- "moving",
102370
- "deleting",
102371
- "completed"
102372
- ]
102373
- },
102374
- "name": {
102375
- "type": "string",
102376
- "minLength": 1,
102377
- "maxLength": 1024
102378
- },
102379
- "parentDirectory": {
102380
- "type": "string",
102381
- "maxLength": 1024
102382
- },
102383
- "type": {
102384
- "type": "string",
102385
- "enum": [
102386
- "file",
102387
- "directory"
102388
- ]
102389
- },
102390
- "fileSize": {
102391
- "type": "number"
102392
- },
102393
- "contentType": {
102394
- "type": "string",
102395
- "maxLength": 1024
102396
- },
102397
- "fileDimensions": {
102398
- "type": "object",
102399
- "properties": {
102400
- "width": {
102401
- "type": "number"
102402
- },
102403
- "height": {
102404
- "type": "number"
102405
- }
102406
- }
102407
- },
102408
- "upload": {
103149
+ },
103150
+ "additionalProperties": false
103151
+ }
103152
+ },
103153
+ "additionalProperties": false,
103154
+ "required": [
103155
+ "name",
103156
+ "type"
103157
+ ]
103158
+ }
103159
+ ```
103160
+ ### <a name="file-post-example"></a> Example
103161
+
103162
+ ```json
103163
+ {
103164
+ "name": "file.csv",
103165
+ "type": "file",
103166
+ "parentDirectory": "/",
103167
+ "fileSize": 500,
103168
+ "contentType": "text/csv"
103169
+ }
103170
+ ```
103171
+
103172
+ <br/>
103173
+
103174
+ ## File Upload Post Response
103175
+
103176
+ Schema with the information needed to upload public or private file contents
103177
+
103178
+ ### <a name="file-upload-post-response-schema"></a> Schema
103179
+
103180
+ ```json
103181
+ {
103182
+ "$schema": "http://json-schema.org/draft-07/schema#",
103183
+ "allOf": [
103184
+ {
103185
+ "title": "File Schema",
103186
+ "description": "Schema for a single public or private file",
102409
103187
  "type": "object",
102410
103188
  "properties": {
102411
- "url": {
103189
+ "id": {
103190
+ "type": "string",
103191
+ "pattern": "^[A-Fa-f\\d]{24}$"
103192
+ },
103193
+ "applicationId": {
103194
+ "type": "string",
103195
+ "pattern": "^[A-Fa-f\\d]{24}$"
103196
+ },
103197
+ "creationDate": {
103198
+ "type": "string",
103199
+ "format": "date-time"
103200
+ },
103201
+ "lastUpdated": {
103202
+ "type": "string",
103203
+ "format": "date-time"
103204
+ },
103205
+ "authorId": {
103206
+ "type": "string",
103207
+ "pattern": "^[A-Fa-f\\d]{24}$"
103208
+ },
103209
+ "authorType": {
103210
+ "type": "string",
103211
+ "enum": [
103212
+ "flow",
103213
+ "user",
103214
+ "device",
103215
+ "apiToken",
103216
+ "notebook"
103217
+ ]
103218
+ },
103219
+ "status": {
103220
+ "type": "string",
103221
+ "enum": [
103222
+ "pending",
103223
+ "moving",
103224
+ "deleting",
103225
+ "completed"
103226
+ ]
103227
+ },
103228
+ "name": {
103229
+ "type": "string",
103230
+ "minLength": 1,
103231
+ "maxLength": 1024
103232
+ },
103233
+ "parentDirectory": {
103234
+ "type": "string",
103235
+ "maxLength": 1024
103236
+ },
103237
+ "type": {
103238
+ "type": "string",
103239
+ "enum": [
103240
+ "file",
103241
+ "directory"
103242
+ ]
103243
+ },
103244
+ "fileSize": {
103245
+ "type": "number"
103246
+ },
103247
+ "s3etag": {
102412
103248
  "type": "string"
102413
103249
  },
102414
- "fields": {
103250
+ "contentType": {
103251
+ "type": "string",
103252
+ "maxLength": 1024
103253
+ },
103254
+ "fileDimensions": {
102415
103255
  "type": "object",
102416
- "patternProperties": {
102417
- "^.*$": {
102418
- "type": "string"
103256
+ "properties": {
103257
+ "width": {
103258
+ "type": "number"
103259
+ },
103260
+ "height": {
103261
+ "type": "number"
102419
103262
  }
102420
- },
103263
+ }
103264
+ },
103265
+ "moveIntoId": {
103266
+ "type": "string",
103267
+ "pattern": "^[A-Fa-f\\d]{24}$"
103268
+ },
103269
+ "url": {
103270
+ "type": "string"
103271
+ }
103272
+ }
103273
+ },
103274
+ {
103275
+ "type": "object",
103276
+ "properties": {
103277
+ "upload": {
103278
+ "type": "object",
102421
103279
  "properties": {
102422
- "key": {
103280
+ "url": {
102423
103281
  "type": "string"
102424
103282
  },
102425
- "bucket": {
102426
- "type": "string"
103283
+ "fields": {
103284
+ "type": "object",
103285
+ "patternProperties": {
103286
+ "^.*$": {
103287
+ "type": "string"
103288
+ }
103289
+ },
103290
+ "properties": {
103291
+ "key": {
103292
+ "type": "string"
103293
+ },
103294
+ "bucket": {
103295
+ "type": "string"
103296
+ }
103297
+ }
102427
103298
  }
102428
103299
  }
102429
103300
  }
102430
103301
  }
102431
103302
  }
102432
- }
103303
+ ]
102433
103304
  }
102434
103305
  ```
102435
103306
  ### <a name="file-upload-post-response-example"></a> Example
@@ -102467,7 +103338,7 @@ Schema to upload the file to s3
102467
103338
 
102468
103339
  ## Files Schema
102469
103340
 
102470
- Schema for a collection of files
103341
+ Schema for a collection of public or private files
102471
103342
 
102472
103343
  ### <a name="files-schema-schema"></a> Schema
102473
103344
 
@@ -102480,7 +103351,7 @@ Schema for a collection of files
102480
103351
  "type": "array",
102481
103352
  "items": {
102482
103353
  "title": "File Schema",
102483
- "description": "Schema for a single file",
103354
+ "description": "Schema for a single public or private file",
102484
103355
  "type": "object",
102485
103356
  "properties": {
102486
103357
  "id": {
@@ -102782,6 +103653,12 @@ Schema for a single Workflow
102782
103653
  },
102783
103654
  "update": {
102784
103655
  "type": "boolean"
103656
+ },
103657
+ "public": {
103658
+ "type": "boolean"
103659
+ },
103660
+ "private": {
103661
+ "type": "boolean"
102785
103662
  }
102786
103663
  },
102787
103664
  "additionalProperties": false
@@ -106056,6 +106933,12 @@ Schema for the body of a Workflow modification request
106056
106933
  },
106057
106934
  "update": {
106058
106935
  "type": "boolean"
106936
+ },
106937
+ "public": {
106938
+ "type": "boolean"
106939
+ },
106940
+ "private": {
106941
+ "type": "boolean"
106059
106942
  }
106060
106943
  },
106061
106944
  "additionalProperties": false
@@ -109083,6 +109966,12 @@ Schema for the body of a Workflow creation request
109083
109966
  },
109084
109967
  "update": {
109085
109968
  "type": "boolean"
109969
+ },
109970
+ "public": {
109971
+ "type": "boolean"
109972
+ },
109973
+ "private": {
109974
+ "type": "boolean"
109086
109975
  }
109087
109976
  },
109088
109977
  "additionalProperties": false
@@ -112382,6 +113271,12 @@ Schema for a single Workflow Version
112382
113271
  },
112383
113272
  "update": {
112384
113273
  "type": "boolean"
113274
+ },
113275
+ "public": {
113276
+ "type": "boolean"
113277
+ },
113278
+ "private": {
113279
+ "type": "boolean"
112385
113280
  }
112386
113281
  },
112387
113282
  "additionalProperties": false
@@ -115422,6 +116317,12 @@ Schema for a single Workflow Version
115422
116317
  },
115423
116318
  "update": {
115424
116319
  "type": "boolean"
116320
+ },
116321
+ "public": {
116322
+ "type": "boolean"
116323
+ },
116324
+ "private": {
116325
+ "type": "boolean"
115425
116326
  }
115426
116327
  },
115427
116328
  "additionalProperties": false
@@ -118173,6 +119074,12 @@ Schema for the body of a Workflow Version creation request
118173
119074
  },
118174
119075
  "update": {
118175
119076
  "type": "boolean"
119077
+ },
119078
+ "public": {
119079
+ "type": "boolean"
119080
+ },
119081
+ "private": {
119082
+ "type": "boolean"
118176
119083
  }
118177
119084
  },
118178
119085
  "additionalProperties": false
@@ -121239,6 +122146,12 @@ Schema for a collection of Workflow Versions
121239
122146
  },
121240
122147
  "update": {
121241
122148
  "type": "boolean"
122149
+ },
122150
+ "public": {
122151
+ "type": "boolean"
122152
+ },
122153
+ "private": {
122154
+ "type": "boolean"
121242
122155
  }
121243
122156
  },
121244
122157
  "additionalProperties": false
@@ -124279,6 +125192,12 @@ Schema for a collection of Workflow Versions
124279
125192
  },
124280
125193
  "update": {
124281
125194
  "type": "boolean"
125195
+ },
125196
+ "public": {
125197
+ "type": "boolean"
125198
+ },
125199
+ "private": {
125200
+ "type": "boolean"
124282
125201
  }
124283
125202
  },
124284
125203
  "additionalProperties": false
@@ -128259,6 +129178,12 @@ Schema for a collection of Workflows
128259
129178
  },
128260
129179
  "update": {
128261
129180
  "type": "boolean"
129181
+ },
129182
+ "public": {
129183
+ "type": "boolean"
129184
+ },
129185
+ "private": {
129186
+ "type": "boolean"
128262
129187
  }
128263
129188
  },
128264
129189
  "additionalProperties": false
@@ -131410,6 +132335,12 @@ Schema for the body of a workflow import request
131410
132335
  },
131411
132336
  "update": {
131412
132337
  "type": "boolean"
132338
+ },
132339
+ "public": {
132340
+ "type": "boolean"
132341
+ },
132342
+ "private": {
132343
+ "type": "boolean"
131413
132344
  }
131414
132345
  },
131415
132346
  "additionalProperties": false
@@ -134439,6 +135370,12 @@ Schema for the body of a workflow import request
134439
135370
  },
134440
135371
  "update": {
134441
135372
  "type": "boolean"
135373
+ },
135374
+ "public": {
135375
+ "type": "boolean"
135376
+ },
135377
+ "private": {
135378
+ "type": "boolean"
134442
135379
  }
134443
135380
  },
134444
135381
  "additionalProperties": false
@@ -137542,6 +138479,12 @@ Schema for the result of a workflow import request
137542
138479
  },
137543
138480
  "update": {
137544
138481
  "type": "boolean"
138482
+ },
138483
+ "public": {
138484
+ "type": "boolean"
138485
+ },
138486
+ "private": {
138487
+ "type": "boolean"
137545
138488
  }
137546
138489
  },
137547
138490
  "additionalProperties": false
@@ -140622,6 +141565,12 @@ Schema for the result of a workflow import request
140622
141565
  },
140623
141566
  "update": {
140624
141567
  "type": "boolean"
141568
+ },
141569
+ "public": {
141570
+ "type": "boolean"
141571
+ },
141572
+ "private": {
141573
+ "type": "boolean"
140625
141574
  }
140626
141575
  },
140627
141576
  "additionalProperties": false
@@ -143662,6 +144611,12 @@ Schema for the result of a workflow import request
143662
144611
  },
143663
144612
  "update": {
143664
144613
  "type": "boolean"
144614
+ },
144615
+ "public": {
144616
+ "type": "boolean"
144617
+ },
144618
+ "private": {
144619
+ "type": "boolean"
143665
144620
  }
143666
144621
  },
143667
144622
  "additionalProperties": false
@@ -146445,10 +147400,12 @@ Schema for the body of a Github login request
146445
147400
  "flows.*",
146446
147401
  "flowVersion.*",
146447
147402
  "flowVersions.*",
146448
- "resourceJobs.*",
146449
- "resourceJob.*",
146450
147403
  "notebook.*",
146451
147404
  "notebooks.*",
147405
+ "privateFile.*",
147406
+ "privateFiles.*",
147407
+ "resourceJobs.*",
147408
+ "resourceJob.*",
146452
147409
  "webhook.*",
146453
147410
  "webhooks.*",
146454
147411
  "application.applyTemplate",
@@ -146685,6 +147642,13 @@ Schema for the body of a Github login request
146685
147642
  "notebook.upload",
146686
147643
  "notebooks.get",
146687
147644
  "notebooks.post",
147645
+ "privateFile.get",
147646
+ "privateFile.patch",
147647
+ "privateFile.move",
147648
+ "privateFile.delete",
147649
+ "privateFile.upload",
147650
+ "privateFiles.get",
147651
+ "privateFiles.post",
146688
147652
  "resourceJob.get",
146689
147653
  "resourceJob.logs",
146690
147654
  "resourceJob.patch",
@@ -146721,6 +147685,7 @@ Schema for the body of a Github login request
146721
147685
  "dashboard.patch",
146722
147686
  "dashboard.delete",
146723
147687
  "dashboard.sendReport",
147688
+ "dashboard.suggestCode",
146724
147689
  "dashboards.get",
146725
147690
  "dashboards.post",
146726
147691
  "org.get",
@@ -147042,6 +148007,10 @@ Schema for a collection of Historical Summaries
147042
148007
  "type": "integer",
147043
148008
  "minimum": 0
147044
148009
  },
148010
+ "privatefile": {
148011
+ "type": "integer",
148012
+ "minimum": 0
148013
+ },
147045
148014
  "resourcejob": {
147046
148015
  "type": "integer",
147047
148016
  "minimum": 0
@@ -147198,6 +148167,12 @@ Schema for a collection of Historical Summaries
147198
148167
  "notebookMinutesCount": {
147199
148168
  "type": "number"
147200
148169
  },
148170
+ "privateFileCount": {
148171
+ "type": "number"
148172
+ },
148173
+ "privateFileTotalSizeMb": {
148174
+ "type": "number"
148175
+ },
147201
148176
  "webhookCount": {
147202
148177
  "type": "number"
147203
148178
  },
@@ -147613,6 +148588,8 @@ Schema for a collection of Historical Summaries
147613
148588
  "resourceJobCount": 0,
147614
148589
  "notebookRunCount": 0,
147615
148590
  "notebookMinutesCount": 0,
148591
+ "privateFileCount": 0,
148592
+ "privateFileTotalSizeMb": 0,
147616
148593
  "webhookCount": 2,
147617
148594
  "workflowCount": 3,
147618
148595
  "payloadBillableCount": 437,
@@ -147782,6 +148759,10 @@ Schema for a historical summary report
147782
148759
  "type": "integer",
147783
148760
  "minimum": 0
147784
148761
  },
148762
+ "privatefile": {
148763
+ "type": "integer",
148764
+ "minimum": 0
148765
+ },
147785
148766
  "resourcejob": {
147786
148767
  "type": "integer",
147787
148768
  "minimum": 0
@@ -147938,6 +148919,12 @@ Schema for a historical summary report
147938
148919
  "notebookMinutesCount": {
147939
148920
  "type": "number"
147940
148921
  },
148922
+ "privateFileCount": {
148923
+ "type": "number"
148924
+ },
148925
+ "privateFileTotalSizeMb": {
148926
+ "type": "number"
148927
+ },
147941
148928
  "webhookCount": {
147942
148929
  "type": "number"
147943
148930
  },
@@ -148317,6 +149304,8 @@ Schema for a historical summary report
148317
149304
  "resourceJobCount": 0,
148318
149305
  "notebookRunCount": 0,
148319
149306
  "notebookMinutesCount": 0,
149307
+ "privateFileCount": 0,
149308
+ "privateFileTotalSizeMb": 0,
148320
149309
  "webhookCount": 2,
148321
149310
  "workflowCount": 3,
148322
149311
  "payloadBillableCount": 437,
@@ -148410,6 +149399,7 @@ Schema for additional application import options
148410
149399
  "Global",
148411
149400
  "Integration",
148412
149401
  "Notebook",
149402
+ "PrivateFile",
148413
149403
  "Webhook",
148414
149404
  "ResourceJob"
148415
149405
  ]
@@ -148495,6 +149485,7 @@ Schema for additional application import options (new application)
148495
149485
  "Global",
148496
149486
  "Integration",
148497
149487
  "Notebook",
149488
+ "PrivateFile",
148498
149489
  "Webhook",
148499
149490
  "ResourceJob"
148500
149491
  ]
@@ -148697,6 +149688,9 @@ Schema for a single Instance
148697
149688
  "notebook": {
148698
149689
  "type": "integer"
148699
149690
  },
149691
+ "privatefile": {
149692
+ "type": "integer"
149693
+ },
148700
149694
  "resourcejob": {
148701
149695
  "type": "integer"
148702
149696
  },
@@ -148823,6 +149817,10 @@ Schema for a single Instance
148823
149817
  "type": "integer",
148824
149818
  "minimum": 0
148825
149819
  },
149820
+ "privatefile": {
149821
+ "type": "integer",
149822
+ "minimum": 0
149823
+ },
148826
149824
  "resourcejob": {
148827
149825
  "type": "integer",
148828
149826
  "minimum": 0
@@ -148933,6 +149931,7 @@ Schema for a single Instance
148933
149931
  "integration": 50,
148934
149932
  "notebook": 100,
148935
149933
  "resourcejob": 10,
149934
+ "privatefile": 1000,
148936
149935
  "webhook": 1000,
148937
149936
  "dataTTL": 15552000,
148938
149937
  "member": 100,
@@ -152469,6 +153468,10 @@ Schema for the body of an Organization owned by an instance
152469
153468
  "type": "integer",
152470
153469
  "minimum": 0
152471
153470
  },
153471
+ "privatefile": {
153472
+ "type": "integer",
153473
+ "minimum": 0
153474
+ },
152472
153475
  "resourcejob": {
152473
153476
  "type": "integer",
152474
153477
  "minimum": 0
@@ -152590,6 +153593,9 @@ Schema for the body of an Organization owned by an instance
152590
153593
  "notebookCount": {
152591
153594
  "type": "integer"
152592
153595
  },
153596
+ "privateFileCount": {
153597
+ "type": "integer"
153598
+ },
152593
153599
  "resourceJobCount": {
152594
153600
  "type": "integer"
152595
153601
  },
@@ -152946,6 +153952,7 @@ Schema for the body of an Organization owned by an instance
152946
153952
  "integration": 50,
152947
153953
  "notebook": 100,
152948
153954
  "resourcejob": 100,
153955
+ "privatefile": 1000,
152949
153956
  "webhook": 1000,
152950
153957
  "dataTTL": 15552000,
152951
153958
  "member": 100,
@@ -152979,6 +153986,7 @@ Schema for the body of an Organization owned by an instance
152979
153986
  "flowCount": 30,
152980
153987
  "integrationCount": 6,
152981
153988
  "notebookCount": 0,
153989
+ "privateFileCount": 0,
152982
153990
  "resourceJobCount": 5,
152983
153991
  "keyCount": 17,
152984
153992
  "memberCount": 1,
@@ -153545,6 +154553,10 @@ Schema for the body of an Organization modification request within an instance
153545
154553
  "type": "integer",
153546
154554
  "minimum": 0
153547
154555
  },
154556
+ "privatefile": {
154557
+ "type": "integer",
154558
+ "minimum": 0
154559
+ },
153548
154560
  "resourcejob": {
153549
154561
  "type": "integer",
153550
154562
  "minimum": 0
@@ -153804,6 +154816,10 @@ Schema for the body of an Organization creation request within an instance
153804
154816
  "type": "integer",
153805
154817
  "minimum": 0
153806
154818
  },
154819
+ "privatefile": {
154820
+ "type": "integer",
154821
+ "minimum": 0
154822
+ },
153807
154823
  "resourcejob": {
153808
154824
  "type": "integer",
153809
154825
  "minimum": 0
@@ -154259,6 +155275,10 @@ Schema for a collection of Organizations within an instance
154259
155275
  "type": "integer",
154260
155276
  "minimum": 0
154261
155277
  },
155278
+ "privatefile": {
155279
+ "type": "integer",
155280
+ "minimum": 0
155281
+ },
154262
155282
  "resourcejob": {
154263
155283
  "type": "integer",
154264
155284
  "minimum": 0
@@ -154380,6 +155400,9 @@ Schema for a collection of Organizations within an instance
154380
155400
  "notebookCount": {
154381
155401
  "type": "integer"
154382
155402
  },
155403
+ "privateFileCount": {
155404
+ "type": "integer"
155405
+ },
154383
155406
  "resourceJobCount": {
154384
155407
  "type": "integer"
154385
155408
  },
@@ -154776,6 +155799,7 @@ Schema for a collection of Organizations within an instance
154776
155799
  "integration": 50,
154777
155800
  "notebook": 100,
154778
155801
  "resourcejob": 100,
155802
+ "privatefile": 1000,
154779
155803
  "webhook": 1000,
154780
155804
  "dataTTL": 15552000,
154781
155805
  "member": 100,
@@ -154809,6 +155833,7 @@ Schema for a collection of Organizations within an instance
154809
155833
  "flowCount": 30,
154810
155834
  "integrationCount": 6,
154811
155835
  "notebookCount": 0,
155836
+ "privateFileCount": 0,
154812
155837
  "resourceJobCount": 5,
154813
155838
  "keyCount": 17,
154814
155839
  "memberCount": 1,
@@ -155017,6 +156042,10 @@ Schema for instance patch request
155017
156042
  "type": "integer",
155018
156043
  "minimum": 0
155019
156044
  },
156045
+ "privatefile": {
156046
+ "type": "integer",
156047
+ "minimum": 0
156048
+ },
155020
156049
  "resourcejob": {
155021
156050
  "type": "integer",
155022
156051
  "minimum": 0
@@ -155357,6 +156386,9 @@ Schema for information about a sandbox user within an instance domain
155357
156386
  "notebook": {
155358
156387
  "type": "integer"
155359
156388
  },
156389
+ "privatefile": {
156390
+ "type": "integer"
156391
+ },
155360
156392
  "resourcejob": {
155361
156393
  "type": "integer"
155362
156394
  },
@@ -155465,6 +156497,9 @@ Schema for information about a sandbox user within an instance domain
155465
156497
  "resourceJobCount": {
155466
156498
  "type": "integer"
155467
156499
  },
156500
+ "privateFileCount": {
156501
+ "type": "integer"
156502
+ },
155468
156503
  "webhookCount": {
155469
156504
  "type": "integer"
155470
156505
  },
@@ -155922,6 +156957,9 @@ Schema for a collection of instance associated sandboxes
155922
156957
  "notebook": {
155923
156958
  "type": "integer"
155924
156959
  },
156960
+ "privatefile": {
156961
+ "type": "integer"
156962
+ },
155925
156963
  "resourcejob": {
155926
156964
  "type": "integer"
155927
156965
  },
@@ -156030,6 +157068,9 @@ Schema for a collection of instance associated sandboxes
156030
157068
  "resourceJobCount": {
156031
157069
  "type": "integer"
156032
157070
  },
157071
+ "privateFileCount": {
157072
+ "type": "integer"
157073
+ },
156033
157074
  "webhookCount": {
156034
157075
  "type": "integer"
156035
157076
  },
@@ -156567,6 +157608,9 @@ Schema for a collection of Instances
156567
157608
  "notebook": {
156568
157609
  "type": "integer"
156569
157610
  },
157611
+ "privatefile": {
157612
+ "type": "integer"
157613
+ },
156570
157614
  "resourcejob": {
156571
157615
  "type": "integer"
156572
157616
  },
@@ -156693,6 +157737,10 @@ Schema for a collection of Instances
156693
157737
  "type": "integer",
156694
157738
  "minimum": 0
156695
157739
  },
157740
+ "privatefile": {
157741
+ "type": "integer",
157742
+ "minimum": 0
157743
+ },
156696
157744
  "resourcejob": {
156697
157745
  "type": "integer",
156698
157746
  "minimum": 0
@@ -156840,6 +157888,7 @@ Schema for a collection of Instances
156840
157888
  "integration": 50,
156841
157889
  "notebook": 100,
156842
157890
  "resourcejob": 10,
157891
+ "privatefile": 1000,
156843
157892
  "webhook": 1000,
156844
157893
  "dataTTL": 15552000,
156845
157894
  "member": 100,
@@ -160612,6 +161661,11 @@ Schema for information about the currently authenticated user
160612
161661
  "format": "email",
160613
161662
  "maxLength": 1024
160614
161663
  },
161664
+ "requestedEmail": {
161665
+ "type": "string",
161666
+ "format": "email",
161667
+ "maxLength": 1024
161668
+ },
160615
161669
  "firstName": {
160616
161670
  "type": "string",
160617
161671
  "minLength": 1,
@@ -160731,6 +161785,9 @@ Schema for information about the currently authenticated user
160731
161785
  "notebook": {
160732
161786
  "type": "integer"
160733
161787
  },
161788
+ "privatefile": {
161789
+ "type": "integer"
161790
+ },
160734
161791
  "resourcejob": {
160735
161792
  "type": "integer"
160736
161793
  },
@@ -160953,6 +162010,9 @@ Schema for information about the currently authenticated user
160953
162010
  "resourceJobCount": {
160954
162011
  "type": "integer"
160955
162012
  },
162013
+ "privateFileCount": {
162014
+ "type": "integer"
162015
+ },
160956
162016
  "webhookCount": {
160957
162017
  "type": "integer"
160958
162018
  },
@@ -164125,6 +165185,9 @@ Schema for a single Notebook
164125
165185
  "type": "string",
164126
165186
  "minLength": 1,
164127
165187
  "maxLength": 1024
165188
+ },
165189
+ "destinationPrivate": {
165190
+ "type": "boolean"
164128
165191
  }
164129
165192
  },
164130
165193
  "required": [
@@ -164161,6 +165224,9 @@ Schema for a single Notebook
164161
165224
  "type": "string",
164162
165225
  "minLength": 1,
164163
165226
  "maxLength": 1024
165227
+ },
165228
+ "destinationPrivate": {
165229
+ "type": "boolean"
164164
165230
  }
164165
165231
  },
164166
165232
  "required": [
@@ -164198,6 +165264,9 @@ Schema for a single Notebook
164198
165264
  "type": "string",
164199
165265
  "minLength": 1,
164200
165266
  "maxLength": 1024
165267
+ },
165268
+ "destinationPrivate": {
165269
+ "type": "boolean"
164201
165270
  }
164202
165271
  },
164203
165272
  "required": [
@@ -165261,6 +166330,9 @@ Schema for the body of a Notebook modification request
165261
166330
  "type": "string",
165262
166331
  "minLength": 1,
165263
166332
  "maxLength": 1024
166333
+ },
166334
+ "destinationPrivate": {
166335
+ "type": "boolean"
165264
166336
  }
165265
166337
  },
165266
166338
  "required": [
@@ -165297,6 +166369,9 @@ Schema for the body of a Notebook modification request
165297
166369
  "type": "string",
165298
166370
  "minLength": 1,
165299
166371
  "maxLength": 1024
166372
+ },
166373
+ "destinationPrivate": {
166374
+ "type": "boolean"
165300
166375
  }
165301
166376
  },
165302
166377
  "required": [
@@ -165334,6 +166409,9 @@ Schema for the body of a Notebook modification request
165334
166409
  "type": "string",
165335
166410
  "minLength": 1,
165336
166411
  "maxLength": 1024
166412
+ },
166413
+ "destinationPrivate": {
166414
+ "type": "boolean"
165337
166415
  }
165338
166416
  },
165339
166417
  "required": [
@@ -165915,6 +166993,9 @@ Schema for the body of an Notebook creation request
165915
166993
  "type": "string",
165916
166994
  "minLength": 1,
165917
166995
  "maxLength": 1024
166996
+ },
166997
+ "destinationPrivate": {
166998
+ "type": "boolean"
165918
166999
  }
165919
167000
  },
165920
167001
  "required": [
@@ -165951,6 +167032,9 @@ Schema for the body of an Notebook creation request
165951
167032
  "type": "string",
165952
167033
  "minLength": 1,
165953
167034
  "maxLength": 1024
167035
+ },
167036
+ "destinationPrivate": {
167037
+ "type": "boolean"
165954
167038
  }
165955
167039
  },
165956
167040
  "required": [
@@ -165988,6 +167072,9 @@ Schema for the body of an Notebook creation request
165988
167072
  "type": "string",
165989
167073
  "minLength": 1,
165990
167074
  "maxLength": 1024
167075
+ },
167076
+ "destinationPrivate": {
167077
+ "type": "boolean"
165991
167078
  }
165992
167079
  },
165993
167080
  "required": [
@@ -166599,6 +167686,9 @@ Schema for a collection of Notebooks
166599
167686
  "type": "string",
166600
167687
  "minLength": 1,
166601
167688
  "maxLength": 1024
167689
+ },
167690
+ "destinationPrivate": {
167691
+ "type": "boolean"
166602
167692
  }
166603
167693
  },
166604
167694
  "required": [
@@ -166635,6 +167725,9 @@ Schema for a collection of Notebooks
166635
167725
  "type": "string",
166636
167726
  "minLength": 1,
166637
167727
  "maxLength": 1024
167728
+ },
167729
+ "destinationPrivate": {
167730
+ "type": "boolean"
166638
167731
  }
166639
167732
  },
166640
167733
  "required": [
@@ -166672,6 +167765,9 @@ Schema for a collection of Notebooks
166672
167765
  "type": "string",
166673
167766
  "minLength": 1,
166674
167767
  "maxLength": 1024
167768
+ },
167769
+ "destinationPrivate": {
167770
+ "type": "boolean"
166675
167771
  }
166676
167772
  },
166677
167773
  "required": [
@@ -168119,6 +169215,10 @@ Schema for a single Organization
168119
169215
  "type": "integer",
168120
169216
  "minimum": 0
168121
169217
  },
169218
+ "privatefile": {
169219
+ "type": "integer",
169220
+ "minimum": 0
169221
+ },
168122
169222
  "resourcejob": {
168123
169223
  "type": "integer",
168124
169224
  "minimum": 0
@@ -168240,6 +169340,9 @@ Schema for a single Organization
168240
169340
  "notebookCount": {
168241
169341
  "type": "integer"
168242
169342
  },
169343
+ "privateFileCount": {
169344
+ "type": "integer"
169345
+ },
168243
169346
  "resourceJobCount": {
168244
169347
  "type": "integer"
168245
169348
  },
@@ -170009,6 +171112,10 @@ Schema for a collection of Organizations
170009
171112
  "type": "integer",
170010
171113
  "minimum": 0
170011
171114
  },
171115
+ "privatefile": {
171116
+ "type": "integer",
171117
+ "minimum": 0
171118
+ },
170012
171119
  "resourcejob": {
170013
171120
  "type": "integer",
170014
171121
  "minimum": 0
@@ -170130,6 +171237,9 @@ Schema for a collection of Organizations
170130
171237
  "notebookCount": {
170131
171238
  "type": "integer"
170132
171239
  },
171240
+ "privateFileCount": {
171241
+ "type": "integer"
171242
+ },
170133
171243
  "resourceJobCount": {
170134
171244
  "type": "integer"
170135
171245
  },
@@ -172956,10 +174066,12 @@ SAML Response body for login
172956
174066
  "flows.*",
172957
174067
  "flowVersion.*",
172958
174068
  "flowVersions.*",
172959
- "resourceJobs.*",
172960
- "resourceJob.*",
172961
174069
  "notebook.*",
172962
174070
  "notebooks.*",
174071
+ "privateFile.*",
174072
+ "privateFiles.*",
174073
+ "resourceJobs.*",
174074
+ "resourceJob.*",
172963
174075
  "webhook.*",
172964
174076
  "webhooks.*",
172965
174077
  "application.applyTemplate",
@@ -173196,6 +174308,13 @@ SAML Response body for login
173196
174308
  "notebook.upload",
173197
174309
  "notebooks.get",
173198
174310
  "notebooks.post",
174311
+ "privateFile.get",
174312
+ "privateFile.patch",
174313
+ "privateFile.move",
174314
+ "privateFile.delete",
174315
+ "privateFile.upload",
174316
+ "privateFiles.get",
174317
+ "privateFiles.post",
173199
174318
  "resourceJob.get",
173200
174319
  "resourceJob.logs",
173201
174320
  "resourceJob.patch",
@@ -173232,6 +174351,7 @@ SAML Response body for login
173232
174351
  "dashboard.patch",
173233
174352
  "dashboard.delete",
173234
174353
  "dashboard.sendReport",
174354
+ "dashboard.suggestCode",
173235
174355
  "dashboards.get",
173236
174356
  "dashboards.post",
173237
174357
  "org.get",
@@ -173533,7 +174653,8 @@ Schema for the body of a workflow suggestion function request
173533
174653
  "type": "string",
173534
174654
  "minLength": 1,
173535
174655
  "maxLength": 8192
173536
- }
174656
+ },
174657
+ "payload": {}
173537
174658
  },
173538
174659
  "required": [
173539
174660
  "text"
@@ -173567,6 +174688,19 @@ Schema for the response to a suggest function request
173567
174688
  "maxLength": 32767,
173568
174689
  "minLength": 1
173569
174690
  },
174691
+ "response": {
174692
+ "type": "object",
174693
+ "properties": {
174694
+ "code": {
174695
+ "type": "string",
174696
+ "maxLength": 32767
174697
+ },
174698
+ "comments": {
174699
+ "type": "string",
174700
+ "maxLength": 32767
174701
+ }
174702
+ }
174703
+ },
173570
174704
  "responseId": {
173571
174705
  "type": "string",
173572
174706
  "minLength": 1,
@@ -173589,7 +174723,6 @@ Schema for the response to a suggest function request
173589
174723
  }
173590
174724
  },
173591
174725
  "required": [
173592
- "text",
173593
174726
  "responseId",
173594
174727
  "finishReason"
173595
174728
  ],
@@ -173600,7 +174733,10 @@ Schema for the response to a suggest function request
173600
174733
 
173601
174734
  ```json
173602
174735
  {
173603
- "text": "```javascript\n/**\n * A function to sort an array of objects, by their 'name' property,\n * from the nethermost 'Z' to the foremost 'A'.\n *\n * @param {Array<Object>} arr - The array of objects to be sorted,\n * each object possessing a 'name' property.\n * @returns {Array<Object>} - The sorted array of objects.\n */\nfunction sortObjectsByNameReverse(arr) {\n // Hark! A comparison function, to bend the wills of objects!\n // We shall compare the names, and judge which doth precede the other.\n return arr.sort((a, b) => {\n // Let 'nameA' be the name of the first object, brought low for scrutiny.\n const nameA = a.name.toUpperCase(); // Cast aloft to uppercase, lest lower case betray us!\n // And 'nameB', the name of the second, likewise brought before us.\n const nameB = b.name.toUpperCase(); // Uppercase again, that all be judged as equals!\n\n // Now, to the comparing! A most subtle dance of precedence!\n if (nameA < nameB) {\n // If 'nameA' be found wanting, and falls behind 'nameB'...\n return 1; // ...then 'nameB' shall take precedence, and rise above!\n }\n if (nameA > nameB) {\n // But if 'nameA' doth surpass 'nameB', and standeth taller...\n return -1; // ...then 'nameA' shall hold its place, and 'nameB' shall yield.\n }\n\n // Should they be equal, twins in name and form...\n return 0; // ...then let them remain as they were, neither before nor behind.\n });\n}\n\n// Example Usage: A scene of players, sorted by their given names!\nconst players = [\n { name: \"Hamlet\" },\n { name: \"Ophelia\" },\n { name: \"Lear\" },\n { name: \"Macbeth\" },\n { name: \"Juliet\" },\n];\n\nconst sortedPlayers = sortObjectsByNameReverse(players);\nconsole.log(sortedPlayers); // Behold! A tragedy, properly ordered!\n\n```\n\n**Explanation of the Shakespearean Comments:**\n\n* **Hark!**: An attention-grabbing start, like a herald announcing something important.\n* **Bend the wills of objects!**: A dramatic way of saying \"compare the objects.\"\n* **Brought low for scrutiny**: Figurative language for accessing the `name` property.\n* **Cast aloft to uppercase, lest lower case betray us!**: Converting to uppercase to ensure case-insensitive sorting (avoids confusion with lowercase vs. uppercase letters). The \"betray us\" adds a dramatic flair.\n* **A most subtle dance of precedence!**: Describing the comparison process in a poetic way.\n* **Found wanting, and falls behind**: Describing the comparison result in a theatrical manner.\n* **Take precedence, and rise above!**: Emphasizing the meaning of the return value `1`.\n* **Doth surpass... shall hold its place, and yield**: The inverse of the previous comment, for the `-1` return value.\n* **Twins in name and form**: Describes when the names are equal.\n* **Then let them remain as they were**: meaning return 0, and the original order remains intact.\n* **Behold! A tragedy, properly ordered!**: A dramatic conclusion to the example, linking the sorted array back to the Shakespearean theme.\n\nThe comments attempt to use language that is both descriptive of the code and stylistically reminiscent of Shakespeare's plays, adding a layer of humor and theatricality to the code explanation.\n",
174736
+ "response": {
174737
+ "code": "payload.tempF = (9/5 * payload.tempC) + 32;",
174738
+ "comments": "This function will convert a Fahrenheit temperature at `payload.tempF` to a Celsius temperature and place the result at `payload.tempC`."
174739
+ },
173604
174740
  "responseId": "YCwSaIeyOfComecPutWYyAg",
173605
174741
  "finishReason": "STOP"
173606
174742
  }
@@ -176330,10 +177466,12 @@ Schema for the body of a User authentication request
176330
177466
  "flows.*",
176331
177467
  "flowVersion.*",
176332
177468
  "flowVersions.*",
176333
- "resourceJobs.*",
176334
- "resourceJob.*",
176335
177469
  "notebook.*",
176336
177470
  "notebooks.*",
177471
+ "privateFile.*",
177472
+ "privateFiles.*",
177473
+ "resourceJobs.*",
177474
+ "resourceJob.*",
176337
177475
  "webhook.*",
176338
177476
  "webhooks.*",
176339
177477
  "application.applyTemplate",
@@ -176570,6 +177708,13 @@ Schema for the body of a User authentication request
176570
177708
  "notebook.upload",
176571
177709
  "notebooks.get",
176572
177710
  "notebooks.post",
177711
+ "privateFile.get",
177712
+ "privateFile.patch",
177713
+ "privateFile.move",
177714
+ "privateFile.delete",
177715
+ "privateFile.upload",
177716
+ "privateFiles.get",
177717
+ "privateFiles.post",
176573
177718
  "resourceJob.get",
176574
177719
  "resourceJob.logs",
176575
177720
  "resourceJob.patch",
@@ -176606,6 +177751,7 @@ Schema for the body of a User authentication request
176606
177751
  "dashboard.patch",
176607
177752
  "dashboard.delete",
176608
177753
  "dashboard.sendReport",
177754
+ "dashboard.suggestCode",
176609
177755
  "dashboards.get",
176610
177756
  "dashboards.post",
176611
177757
  "org.get",
@@ -176941,10 +178087,12 @@ Schema for the body of a User creation request
176941
178087
  "flows.*",
176942
178088
  "flowVersion.*",
176943
178089
  "flowVersions.*",
176944
- "resourceJobs.*",
176945
- "resourceJob.*",
176946
178090
  "notebook.*",
176947
178091
  "notebooks.*",
178092
+ "privateFile.*",
178093
+ "privateFiles.*",
178094
+ "resourceJobs.*",
178095
+ "resourceJob.*",
176948
178096
  "webhook.*",
176949
178097
  "webhooks.*",
176950
178098
  "application.applyTemplate",
@@ -177181,6 +178329,13 @@ Schema for the body of a User creation request
177181
178329
  "notebook.upload",
177182
178330
  "notebooks.get",
177183
178331
  "notebooks.post",
178332
+ "privateFile.get",
178333
+ "privateFile.patch",
178334
+ "privateFile.move",
178335
+ "privateFile.delete",
178336
+ "privateFile.upload",
178337
+ "privateFiles.get",
178338
+ "privateFiles.post",
177184
178339
  "resourceJob.get",
177185
178340
  "resourceJob.logs",
177186
178341
  "resourceJob.patch",
@@ -177217,6 +178372,7 @@ Schema for the body of a User creation request
177217
178372
  "dashboard.patch",
177218
178373
  "dashboard.delete",
177219
178374
  "dashboard.sendReport",
178375
+ "dashboard.suggestCode",
177220
178376
  "dashboards.get",
177221
178377
  "dashboards.post",
177222
178378
  "org.get",
@@ -178027,6 +179183,9 @@ Schema for a single Webhook
178027
179183
  },
178028
179184
  "annotateMultipart": {
178029
179185
  "type": "boolean"
179186
+ },
179187
+ "enabled": {
179188
+ "type": "boolean"
178030
179189
  }
178031
179190
  }
178032
179191
  }
@@ -178114,6 +179273,9 @@ Schema for the body of a Webhook modification request
178114
179273
  },
178115
179274
  "annotateMultipart": {
178116
179275
  "type": "boolean"
179276
+ },
179277
+ "enabled": {
179278
+ "type": "boolean"
178117
179279
  }
178118
179280
  },
178119
179281
  "additionalProperties": false
@@ -178195,6 +179357,9 @@ Schema for the body of a Webhook creation request
178195
179357
  },
178196
179358
  "annotateMultipart": {
178197
179359
  "type": "boolean"
179360
+ },
179361
+ "enabled": {
179362
+ "type": "boolean"
178198
179363
  }
178199
179364
  },
178200
179365
  "required": [
@@ -178309,6 +179474,9 @@ Schema for a collection of Webhooks
178309
179474
  },
178310
179475
  "annotateMultipart": {
178311
179476
  "type": "boolean"
179477
+ },
179478
+ "enabled": {
179479
+ "type": "boolean"
178312
179480
  }
178313
179481
  }
178314
179482
  }