losant_rest 2.1.0 → 2.1.1

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 (191) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +139101 -66992
  3. data/docs/application.md +6 -6
  4. data/docs/applicationCertificates.md +3 -2
  5. data/docs/applicationDashboard.md +1 -1
  6. data/docs/applications.md +1 -1
  7. data/docs/auth.md +1 -1
  8. data/docs/dashboard.md +1 -1
  9. data/docs/dashboards.md +1 -0
  10. data/docs/dataTableRow.md +1 -1
  11. data/docs/dataTableRows.md +3 -3
  12. data/docs/device.md +1 -1
  13. data/docs/edgeDeployments.md +3 -3
  14. data/docs/embeddedDeployments.md +3 -3
  15. data/docs/experience.md +1 -1
  16. data/docs/file.md +4 -4
  17. data/docs/files.md +1 -1
  18. data/docs/flowVersions.md +1 -1
  19. data/docs/instanceApiTokens.md +1 -1
  20. data/docs/instanceMember.md +1 -1
  21. data/docs/instanceOrg.md +1 -1
  22. data/docs/instanceOrgInvite.md +2 -2
  23. data/docs/instanceOrgInvites.md +1 -1
  24. data/docs/instanceOrgMembers.md +2 -1
  25. data/docs/instanceOrgs.md +1 -1
  26. data/docs/me.md +1 -1
  27. data/docs/notebook.md +1 -1
  28. data/docs/org.md +1 -1
  29. data/docs/privateFile.md +4 -4
  30. data/docs/privateFiles.md +1 -1
  31. data/docs/resourceJob.md +2 -2
  32. data/docs/userApiTokens.md +2 -2
  33. data/lib/platform_rest/application.rb +1 -1
  34. data/lib/platform_rest/application_certificates.rb +5 -2
  35. data/lib/platform_rest/application_dashboard.rb +1 -1
  36. data/lib/platform_rest/client.rb +2 -2
  37. data/lib/platform_rest/dashboard.rb +1 -1
  38. data/lib/platform_rest/dashboards.rb +1 -0
  39. data/lib/platform_rest/data_table_row.rb +1 -1
  40. data/lib/platform_rest/data_table_rows.rb +3 -3
  41. data/lib/platform_rest/device.rb +1 -1
  42. data/lib/platform_rest/edge_deployments.rb +3 -3
  43. data/lib/platform_rest/embedded_deployments.rb +3 -3
  44. data/lib/platform_rest/experience.rb +1 -1
  45. data/lib/platform_rest/file.rb +2 -2
  46. data/lib/platform_rest/instance_api_tokens.rb +1 -1
  47. data/lib/platform_rest/instance_member.rb +1 -1
  48. data/lib/platform_rest/instance_org.rb +1 -1
  49. data/lib/platform_rest/instance_org_invite.rb +2 -2
  50. data/lib/platform_rest/instance_org_invites.rb +2 -2
  51. data/lib/platform_rest/instance_org_members.rb +2 -1
  52. data/lib/platform_rest/instance_orgs.rb +1 -1
  53. data/lib/platform_rest/me.rb +1 -1
  54. data/lib/platform_rest/notebook.rb +1 -1
  55. data/lib/platform_rest/org.rb +1 -1
  56. data/lib/platform_rest/private_file.rb +2 -2
  57. data/lib/platform_rest/resource_job.rb +2 -2
  58. data/lib/platform_rest/user_api_tokens.rb +2 -2
  59. data/lib/platform_rest/version.rb +1 -1
  60. data/schemas/advancedApplicationCertQuery.json +1885 -0
  61. data/schemas/advancedApplicationKeyQuery.json +763 -763
  62. data/schemas/apiToken.json +10 -1
  63. data/schemas/apiTokens.json +20 -2
  64. data/schemas/application.json +15 -2
  65. data/schemas/applicationCertificate.json +90 -58
  66. data/schemas/applicationCertificateAuthorities.json +24 -0
  67. data/schemas/applicationCertificateAuthority.json +24 -0
  68. data/schemas/applicationCertificatePatch.json +32 -4
  69. data/schemas/applicationCertificatePost.json +28 -30
  70. data/schemas/applicationCertificates.json +90 -58
  71. data/schemas/applicationCreationByTemplateResult.json +15 -2
  72. data/schemas/applicationDashboardPost.json +179 -128
  73. data/schemas/applicationImportExecutions.json +3 -5
  74. data/schemas/applicationImportResult.json +674 -0
  75. data/schemas/applicationJobLog.json +129 -123
  76. data/schemas/applicationJobLogs.json +129 -123
  77. data/schemas/applicationKey.json +41 -41
  78. data/schemas/applicationKeyPatch.json +4 -4
  79. data/schemas/applicationKeyPost.json +36 -29
  80. data/schemas/applicationKeys.json +41 -41
  81. data/schemas/applicationSearchResult.json +10 -10
  82. data/schemas/applicationTemplates.json +9 -2
  83. data/schemas/applications.json +15 -2
  84. data/schemas/auditLog.json +2 -6
  85. data/schemas/auditLogs.json +2 -6
  86. data/schemas/authedDevice.json +3 -0
  87. data/schemas/credential.json +7 -0
  88. data/schemas/credentialLinkedResources.json +19724 -344
  89. data/schemas/credentialPatch.json +3 -0
  90. data/schemas/credentialPost.json +3 -0
  91. data/schemas/credentials.json +7 -0
  92. data/schemas/dashboard.json +199 -128
  93. data/schemas/dashboardBlockSuggestCodePost.json +19 -0
  94. data/schemas/dashboardPatch.json +179 -128
  95. data/schemas/dashboardPost.json +179 -128
  96. data/schemas/dashboardUpdateEventsResult.json +266 -0
  97. data/schemas/dashboards.json +199 -128
  98. data/schemas/dataTable.json +11 -0
  99. data/schemas/dataTableRowPatch.json +16 -0
  100. data/schemas/dataTableRowPost.json +39 -0
  101. data/schemas/dataTableRowPostResult.json +54 -0
  102. data/schemas/dataTables.json +11 -0
  103. data/schemas/device.json +259 -107
  104. data/schemas/deviceConnectionStatus.json +4 -0
  105. data/schemas/deviceLog.json +3 -0
  106. data/schemas/deviceRecipe.json +259 -108
  107. data/schemas/deviceRecipes.json +259 -108
  108. data/schemas/devices.json +287 -116
  109. data/schemas/edgeDeploymentRelease.json +4252 -39
  110. data/schemas/edgeDeployments.json +28 -0
  111. data/schemas/embeddedDeploymentRelease.json +2073 -0
  112. data/schemas/embeddedDeployments.json +25 -0
  113. data/schemas/error.json +14 -0
  114. data/schemas/event.json +4 -1
  115. data/schemas/eventPlusNewCount.json +4 -1
  116. data/schemas/events.json +4 -1
  117. data/schemas/experienceDomains.json +19 -0
  118. data/schemas/experienceEndpoint.json +19 -0
  119. data/schemas/experienceEndpoints.json +24 -0
  120. data/schemas/experienceLinkedResources.json +19728 -313
  121. data/schemas/experienceSlugs.json +19 -0
  122. data/schemas/experienceUsers.json +16 -2
  123. data/schemas/experienceVersions.json +25 -0
  124. data/schemas/experienceView.json +5 -0
  125. data/schemas/experienceViews.json +10 -0
  126. data/schemas/fileUploadPostResponse.json +92 -103
  127. data/schemas/files.json +5 -1
  128. data/schemas/flow.json +211 -46
  129. data/schemas/flowPatch.json +199 -46
  130. data/schemas/flowPost.json +199 -46
  131. data/schemas/flowStorageMetadata.json +2 -2
  132. data/schemas/flowVersion.json +450 -101
  133. data/schemas/flowVersionPost.json +199 -46
  134. data/schemas/flowVersions.json +9903 -113
  135. data/schemas/flows.json +9637 -46
  136. data/schemas/flowsImportPost.json +398 -92
  137. data/schemas/flowsImportResult.json +661 -147
  138. data/schemas/historicalSummaries.json +3 -2
  139. data/schemas/historicalSummary.json +3 -2
  140. data/schemas/instanceAuditLog.json +2 -6
  141. data/schemas/instanceAuditLogs.json +90 -1
  142. data/schemas/instanceCustomNode.json +41 -2
  143. data/schemas/instanceCustomNodePatch.json +59 -6
  144. data/schemas/instanceCustomNodePost.json +59 -6
  145. data/schemas/instanceCustomNodes.json +41 -2
  146. data/schemas/instanceOrg.json +4 -1
  147. data/schemas/instanceOrgInvite.json +102 -0
  148. data/schemas/instanceOrgInviteSent.json +12 -0
  149. data/schemas/instanceOrgInvites.json +145 -0
  150. data/schemas/instanceOrgMember.json +52 -0
  151. data/schemas/instanceOrgMembers.json +105 -1
  152. data/schemas/instanceOrgPost.json +1 -1
  153. data/schemas/instanceOrgs.json +5 -2
  154. data/schemas/instanceSandbox.json +5 -1
  155. data/schemas/instanceSandboxes.json +9 -1
  156. data/schemas/integration.json +38 -39
  157. data/schemas/integrationPatch.json +8 -8
  158. data/schemas/integrationPost.json +8 -8
  159. data/schemas/integrations.json +38 -39
  160. data/schemas/jobEnqueuedResult.json +1 -1
  161. data/schemas/me.json +685 -88
  162. data/schemas/notebook.json +33 -21
  163. data/schemas/notebookExecutionLogs.json +20 -0
  164. data/schemas/notebookMinuteCounts.json +1 -1
  165. data/schemas/notebookPatch.json +29 -21
  166. data/schemas/notebookPost.json +29 -21
  167. data/schemas/notebooks.json +33 -21
  168. data/schemas/notificationRule.json +4 -0
  169. data/schemas/notificationRules.json +8 -0
  170. data/schemas/org.json +14 -1
  171. data/schemas/orgInvites.json +77 -82
  172. data/schemas/orgInvitesUser.json +44 -47
  173. data/schemas/orgs.json +14 -1
  174. data/schemas/paletteResponse.json +372 -364
  175. data/schemas/periodSummaries.json +1 -1
  176. data/schemas/recentItemList.json +226 -27
  177. data/schemas/resourceJob.json +33 -9
  178. data/schemas/resourceJobExecutionLogs.json +34 -20
  179. data/schemas/resourceJobExecutionOptions.json +1 -1
  180. data/schemas/resourceJobPatch.json +9 -9
  181. data/schemas/resourceJobPost.json +9 -9
  182. data/schemas/resourceJobs.json +33 -9
  183. data/schemas/tagValuesResponse.json +1 -2
  184. data/schemas/templateKeywords.json +1 -0
  185. data/schemas/timeSeriesData.json +36 -4
  186. data/schemas/userOauthToken.json +4 -1
  187. data/schemas/userOauthTokenPost.json +1 -1
  188. data/schemas/userOauthTokens.json +4 -1
  189. data/schemas/validateContextError.json +71 -24
  190. data/schemas/validateContextSuccess.json +71 -24
  191. metadata +10 -1
@@ -0,0 +1,674 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "oneOf": [
4
+ {
5
+ "title": "Application",
6
+ "description": "Schema for a single Application",
7
+ "type": "object",
8
+ "properties": {
9
+ "id": {
10
+ "type": "string",
11
+ "pattern": "^[A-Fa-f\\d]{24}$"
12
+ },
13
+ "applicationId": {
14
+ "type": "string",
15
+ "pattern": "^[A-Fa-f\\d]{24}$"
16
+ },
17
+ "creationDate": {
18
+ "type": "string",
19
+ "format": "date-time"
20
+ },
21
+ "lastUpdated": {
22
+ "type": "string",
23
+ "format": "date-time"
24
+ },
25
+ "appliedTemplateIds": {
26
+ "type": "array",
27
+ "items": {
28
+ "type": "string",
29
+ "pattern": "^[A-Fa-f\\d]{24}$"
30
+ },
31
+ "maxItems": 1000
32
+ },
33
+ "ownerId": {
34
+ "type": "string",
35
+ "pattern": "^[A-Fa-f\\d]{24}$"
36
+ },
37
+ "ownerType": {
38
+ "type": "string",
39
+ "enum": [
40
+ "user",
41
+ "organization"
42
+ ]
43
+ },
44
+ "organizationName": {
45
+ "type": "string",
46
+ "minLength": 1,
47
+ "maxLength": 255
48
+ },
49
+ "organizationIconColor": {
50
+ "type": "string",
51
+ "maxLength": 64
52
+ },
53
+ "_currentRole": {
54
+ "type": "string",
55
+ "enum": [
56
+ "admin",
57
+ "edit",
58
+ "collaborate",
59
+ "view"
60
+ ]
61
+ },
62
+ "name": {
63
+ "type": "string",
64
+ "minLength": 1,
65
+ "maxLength": 255
66
+ },
67
+ "description": {
68
+ "type": "string",
69
+ "maxLength": 1024
70
+ },
71
+ "endpointSlug": {
72
+ "type": "string",
73
+ "minLength": 3,
74
+ "maxLength": 63,
75
+ "pattern": "^[0-9a-z-]*$"
76
+ },
77
+ "expUserTokenCutoff": {
78
+ "type": "string",
79
+ "format": "date-time"
80
+ },
81
+ "endpointDefaultCors": {
82
+ "type": "boolean"
83
+ },
84
+ "globals": {
85
+ "type": "array",
86
+ "maxItems": 100,
87
+ "items": {
88
+ "type": "object",
89
+ "properties": {
90
+ "key": {
91
+ "type": "string",
92
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
93
+ },
94
+ "json": {
95
+ "type": "string",
96
+ "minLength": 1,
97
+ "maxLength": 32767
98
+ },
99
+ "cloudOnly": {
100
+ "type": "boolean",
101
+ "default": false
102
+ },
103
+ "description": {
104
+ "type": "string",
105
+ "maxLength": 1024
106
+ }
107
+ },
108
+ "additionalProperties": false,
109
+ "required": [
110
+ "key",
111
+ "json"
112
+ ]
113
+ }
114
+ },
115
+ "blobUrlTTL": {
116
+ "type": "number",
117
+ "minimum": 3600,
118
+ "maximum": 604800
119
+ },
120
+ "summary": {
121
+ "type": "object",
122
+ "properties": {
123
+ "apiTokenCount": {
124
+ "type": "integer"
125
+ },
126
+ "certificateCount": {
127
+ "type": "integer"
128
+ },
129
+ "certificateAuthorityCount": {
130
+ "type": "integer"
131
+ },
132
+ "credentialCount": {
133
+ "type": "integer"
134
+ },
135
+ "dashCount": {
136
+ "type": "integer"
137
+ },
138
+ "dataTableCount": {
139
+ "type": "integer"
140
+ },
141
+ "deviceCount": {
142
+ "type": "integer"
143
+ },
144
+ "deviceRecipeCount": {
145
+ "type": "integer"
146
+ },
147
+ "eventCount": {
148
+ "type": "integer"
149
+ },
150
+ "experienceDomainCount": {
151
+ "type": "integer"
152
+ },
153
+ "experienceEndpointCount": {
154
+ "type": "integer"
155
+ },
156
+ "experienceGroupCount": {
157
+ "type": "integer"
158
+ },
159
+ "experienceSlugCount": {
160
+ "type": "integer"
161
+ },
162
+ "experienceUserCount": {
163
+ "type": "integer"
164
+ },
165
+ "experienceVersionCount": {
166
+ "type": "integer"
167
+ },
168
+ "experienceViewCount": {
169
+ "type": "integer"
170
+ },
171
+ "fileCount": {
172
+ "type": "integer"
173
+ },
174
+ "flowCount": {
175
+ "type": "integer"
176
+ },
177
+ "integrationCount": {
178
+ "type": "integer"
179
+ },
180
+ "keyCount": {
181
+ "type": "integer"
182
+ },
183
+ "notebookCount": {
184
+ "type": "integer"
185
+ },
186
+ "privateFileCount": {
187
+ "type": "integer"
188
+ },
189
+ "resourceJobCount": {
190
+ "type": "integer"
191
+ },
192
+ "webhookCount": {
193
+ "type": "integer"
194
+ },
195
+ "payloadCount": {
196
+ "title": "Payload Stats",
197
+ "description": "Schema for the result of a payload stats request",
198
+ "type": "object",
199
+ "properties": {
200
+ "appFile": {
201
+ "type": "object",
202
+ "patternProperties": {
203
+ ".*": {
204
+ "type": "number"
205
+ }
206
+ }
207
+ },
208
+ "dataTable": {
209
+ "type": "object",
210
+ "patternProperties": {
211
+ ".*": {
212
+ "type": "number"
213
+ }
214
+ }
215
+ },
216
+ "deviceCreate": {
217
+ "type": "object",
218
+ "patternProperties": {
219
+ ".*": {
220
+ "type": "number"
221
+ }
222
+ }
223
+ },
224
+ "deviceCommand": {
225
+ "type": "object",
226
+ "patternProperties": {
227
+ ".*": {
228
+ "type": "number"
229
+ }
230
+ }
231
+ },
232
+ "deviceConnect": {
233
+ "type": "object",
234
+ "patternProperties": {
235
+ ".*": {
236
+ "type": "number"
237
+ }
238
+ }
239
+ },
240
+ "deviceDisconnect": {
241
+ "type": "object",
242
+ "patternProperties": {
243
+ ".*": {
244
+ "type": "number"
245
+ }
246
+ }
247
+ },
248
+ "deviceState": {
249
+ "type": "object",
250
+ "patternProperties": {
251
+ ".*": {
252
+ "type": "number"
253
+ }
254
+ }
255
+ },
256
+ "endpoint": {
257
+ "type": "object",
258
+ "patternProperties": {
259
+ ".*": {
260
+ "type": "number"
261
+ }
262
+ }
263
+ },
264
+ "event": {
265
+ "type": "object",
266
+ "patternProperties": {
267
+ ".*": {
268
+ "type": "number"
269
+ }
270
+ }
271
+ },
272
+ "flowError": {
273
+ "type": "object",
274
+ "patternProperties": {
275
+ ".*": {
276
+ "type": "number"
277
+ }
278
+ }
279
+ },
280
+ "inboundEmail": {
281
+ "type": "object",
282
+ "patternProperties": {
283
+ ".*": {
284
+ "type": "number"
285
+ }
286
+ }
287
+ },
288
+ "integration": {
289
+ "type": "object",
290
+ "patternProperties": {
291
+ ".*": {
292
+ "type": "number"
293
+ }
294
+ }
295
+ },
296
+ "mqttIn": {
297
+ "type": "object",
298
+ "patternProperties": {
299
+ ".*": {
300
+ "type": "number"
301
+ }
302
+ }
303
+ },
304
+ "mqttOut": {
305
+ "type": "object",
306
+ "patternProperties": {
307
+ ".*": {
308
+ "type": "number"
309
+ }
310
+ }
311
+ },
312
+ "notebook": {
313
+ "type": "object",
314
+ "patternProperties": {
315
+ ".*": {
316
+ "type": "number"
317
+ }
318
+ }
319
+ },
320
+ "resourceJob": {
321
+ "type": "object",
322
+ "patternProperties": {
323
+ ".*": {
324
+ "type": "number"
325
+ }
326
+ }
327
+ },
328
+ "timer": {
329
+ "type": "object",
330
+ "patternProperties": {
331
+ ".*": {
332
+ "type": "number"
333
+ }
334
+ }
335
+ },
336
+ "virtualButton": {
337
+ "type": "object",
338
+ "patternProperties": {
339
+ ".*": {
340
+ "type": "number"
341
+ }
342
+ }
343
+ },
344
+ "webhook": {
345
+ "type": "object",
346
+ "patternProperties": {
347
+ ".*": {
348
+ "type": "number"
349
+ }
350
+ }
351
+ }
352
+ }
353
+ },
354
+ "storageStats": {
355
+ "type": "object",
356
+ "properties": {
357
+ "count": {
358
+ "type": "integer"
359
+ },
360
+ "size": {
361
+ "type": "integer"
362
+ }
363
+ }
364
+ },
365
+ "notebookStats": {
366
+ "type": "object",
367
+ "properties": {
368
+ "awaitingCompletion": {
369
+ "type": "integer"
370
+ },
371
+ "minutesThisPeriod": {
372
+ "type": "number"
373
+ },
374
+ "runsThisPeriod": {
375
+ "type": "integer"
376
+ }
377
+ }
378
+ }
379
+ }
380
+ },
381
+ "ftueTracking": {
382
+ "type": "array",
383
+ "items": {
384
+ "type": "object",
385
+ "properties": {
386
+ "name": {
387
+ "type": "string",
388
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
389
+ },
390
+ "version": {
391
+ "type": "number"
392
+ },
393
+ "status": {
394
+ "type": "string",
395
+ "enum": [
396
+ "skipped",
397
+ "completed"
398
+ ]
399
+ }
400
+ },
401
+ "required": [
402
+ "name",
403
+ "version",
404
+ "status"
405
+ ],
406
+ "additionalProperties": false
407
+ },
408
+ "maxItems": 100
409
+ },
410
+ "archiveConfig": {
411
+ "type": "object",
412
+ "properties": {
413
+ "directory": {
414
+ "type": "string",
415
+ "maxLength": 255
416
+ },
417
+ "mode": {
418
+ "type": "string",
419
+ "enum": [
420
+ "all",
421
+ "whitelist",
422
+ "blacklist"
423
+ ]
424
+ },
425
+ "deviceIds": {
426
+ "type": "array",
427
+ "items": {
428
+ "type": "string",
429
+ "pattern": "^[A-Fa-f\\d]{24}$"
430
+ },
431
+ "maxItems": 1000
432
+ },
433
+ "deviceTags": {
434
+ "type": "array",
435
+ "items": {
436
+ "type": "object",
437
+ "properties": {
438
+ "key": {
439
+ "type": "string",
440
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
441
+ },
442
+ "value": {
443
+ "type": "string",
444
+ "minLength": 1,
445
+ "maxLength": 255
446
+ }
447
+ },
448
+ "additionalProperties": false
449
+ },
450
+ "maxItems": 100
451
+ },
452
+ "includeDevices": {
453
+ "type": "boolean",
454
+ "default": true
455
+ },
456
+ "includeEvents": {
457
+ "type": "boolean",
458
+ "default": false
459
+ },
460
+ "includeDataTables": {
461
+ "type": "boolean",
462
+ "default": false
463
+ },
464
+ "dataTablesMode": {
465
+ "type": "string",
466
+ "enum": [
467
+ "all",
468
+ "whitelist",
469
+ "blacklist"
470
+ ]
471
+ },
472
+ "dataTableIds": {
473
+ "type": "array",
474
+ "items": {
475
+ "type": "string",
476
+ "pattern": "^[A-Fa-f\\d]{24}$"
477
+ },
478
+ "maxItems": 1000
479
+ },
480
+ "includeApplicationExport": {
481
+ "type": "boolean",
482
+ "default": false
483
+ },
484
+ "applicationExportOptions": {
485
+ "type": "object",
486
+ "properties": {
487
+ "includeFiles": {
488
+ "type": "boolean",
489
+ "default": false
490
+ },
491
+ "includePrivateFiles": {
492
+ "type": "boolean",
493
+ "default": false
494
+ },
495
+ "includeDataTableRows": {
496
+ "type": "boolean",
497
+ "default": false
498
+ },
499
+ "includeDevices": {
500
+ "type": "boolean",
501
+ "default": false
502
+ },
503
+ "exportType": {
504
+ "type": "string",
505
+ "enum": [
506
+ "repo"
507
+ ],
508
+ "default": "repo"
509
+ },
510
+ "credentialName": {
511
+ "type": "string",
512
+ "minLength": 1,
513
+ "maxLength": 255
514
+ },
515
+ "repo": {
516
+ "type": "object",
517
+ "properties": {
518
+ "branch": {
519
+ "type": "string",
520
+ "maxLength": 255
521
+ },
522
+ "directory": {
523
+ "type": "string",
524
+ "maxLength": 1024
525
+ },
526
+ "commitMessage": {
527
+ "type": "string",
528
+ "maxLength": 1024
529
+ }
530
+ }
531
+ }
532
+ },
533
+ "required": [
534
+ "credentialName"
535
+ ],
536
+ "additionalProperties": false
537
+ },
538
+ "delayDays": {
539
+ "type": "integer",
540
+ "minimum": 1
541
+ },
542
+ "s3": {
543
+ "type": "object",
544
+ "properties": {
545
+ "bucket": {
546
+ "type": "string",
547
+ "maxLength": 255
548
+ },
549
+ "accessKeyId": {
550
+ "type": "string",
551
+ "minLength": 4,
552
+ "maxLength": 128
553
+ },
554
+ "secretAccessKey": {
555
+ "type": "string",
556
+ "minLength": 4,
557
+ "maxLength": 128
558
+ },
559
+ "region": {
560
+ "type": "string",
561
+ "maxLength": 128
562
+ }
563
+ },
564
+ "required": [
565
+ "bucket"
566
+ ],
567
+ "additionalProperties": false
568
+ },
569
+ "credentialName": {
570
+ "type": "string",
571
+ "minLength": 1,
572
+ "maxLength": 255
573
+ },
574
+ "gcs": {
575
+ "type": "object",
576
+ "properties": {
577
+ "projectId": {
578
+ "type": "string",
579
+ "minLength": 1,
580
+ "maxLength": 1024
581
+ },
582
+ "keyJson": {
583
+ "type": "string",
584
+ "maxLength": 32767,
585
+ "minLength": 4
586
+ },
587
+ "bucket": {
588
+ "type": "string",
589
+ "maxLength": 255
590
+ }
591
+ },
592
+ "required": [
593
+ "bucket"
594
+ ],
595
+ "additionalProperties": false
596
+ },
597
+ "azure": {
598
+ "type": "object",
599
+ "properties": {
600
+ "account": {
601
+ "type": "string",
602
+ "minLength": 3,
603
+ "maxLength": 24
604
+ },
605
+ "accountKey": {
606
+ "type": "string",
607
+ "maxLength": 255
608
+ },
609
+ "bucket": {
610
+ "type": "string",
611
+ "minLength": 3,
612
+ "maxLength": 63
613
+ }
614
+ },
615
+ "required": [
616
+ "bucket"
617
+ ],
618
+ "additionalProperties": false
619
+ }
620
+ },
621
+ "additionalProperties": false
622
+ }
623
+ },
624
+ "required": [
625
+ "id",
626
+ "name"
627
+ ]
628
+ },
629
+ {
630
+ "title": "Application Import Dry-Run Result",
631
+ "description": "Returned by application.import when `dryRun: true` and the import does not require a job",
632
+ "type": "object",
633
+ "properties": {
634
+ "limitErrors": {
635
+ "type": "array",
636
+ "items": {
637
+ "enum": [
638
+ "ApplicationCertificateAuthority",
639
+ "Dashboard",
640
+ "DataTableRow",
641
+ "DataTable",
642
+ "DeviceRecipe",
643
+ "Device",
644
+ "ExperienceDevelopConfig",
645
+ "ExperienceEndpoint",
646
+ "ExperienceFlowVersion",
647
+ "ExperienceGroup",
648
+ "ExperienceUser",
649
+ "ExperienceVersion",
650
+ "ExperienceView",
651
+ "File",
652
+ "FlowVersion",
653
+ "Flow",
654
+ "Global",
655
+ "Integration",
656
+ "Notebook",
657
+ "PrivateFile",
658
+ "Webhook",
659
+ "ResourceJob"
660
+ ]
661
+ },
662
+ "uniqueItems": true
663
+ },
664
+ "url": {
665
+ "type": "string"
666
+ }
667
+ },
668
+ "required": [
669
+ "url",
670
+ "limitErrors"
671
+ ]
672
+ }
673
+ ]
674
+ }