losant_rest 1.13.0 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/_schemas.md +19437 -10622
- data/docs/application.md +6 -6
- data/docs/applicationApiTokens.md +1 -1
- data/docs/applications.md +1 -1
- data/docs/dataTable.md +1 -1
- data/docs/dataTableRows.md +1 -1
- data/docs/dataTables.md +1 -1
- data/docs/device.md +43 -0
- data/docs/devices.md +41 -2
- data/docs/edgeDeployment.md +49 -0
- data/docs/embeddedDeployment.md +49 -0
- data/docs/embeddedDeployments.md +215 -0
- data/docs/experience.md +1 -1
- data/docs/experienceDomains.md +1 -1
- data/docs/experienceGroup.md +2 -0
- data/docs/experienceSlugs.md +1 -1
- data/docs/experienceVersion.md +3 -3
- data/docs/experienceVersions.md +2 -2
- data/docs/experienceView.md +4 -4
- data/docs/experienceViews.md +2 -2
- data/docs/file.md +5 -5
- data/docs/files.md +2 -2
- data/docs/flow.md +3 -3
- data/docs/flowVersions.md +44 -0
- data/docs/flows.md +2 -2
- data/docs/instance.md +40 -0
- data/docs/instanceApiToken.md +133 -0
- data/docs/instanceApiTokens.md +91 -0
- data/docs/instanceMembers.md +1 -1
- data/docs/instanceOrg.md +2 -0
- data/docs/instanceOrgInvite.md +139 -0
- data/docs/instanceOrgInvites.md +96 -0
- data/docs/instanceOrgMembers.md +3 -3
- data/docs/instanceOrgs.md +1 -1
- data/docs/me.md +1 -1
- data/docs/org.md +1 -1
- data/docs/userApiToken.md +125 -0
- data/docs/userApiTokens.md +87 -0
- data/lib/losant_rest/application.rb +5 -5
- data/lib/losant_rest/application_api_tokens.rb +1 -1
- data/lib/losant_rest/applications.rb +1 -1
- data/lib/losant_rest/client.rb +38 -2
- data/lib/losant_rest/data_table.rb +1 -1
- data/lib/losant_rest/data_table_rows.rb +1 -1
- data/lib/losant_rest/data_tables.rb +1 -1
- data/lib/losant_rest/device.rb +50 -0
- data/lib/losant_rest/devices.rb +48 -2
- data/lib/losant_rest/edge_deployment.rb +81 -0
- data/lib/losant_rest/embedded_deployment.rb +81 -0
- data/lib/losant_rest/embedded_deployments.rb +280 -0
- data/lib/losant_rest/experience.rb +1 -1
- data/lib/losant_rest/experience_domains.rb +1 -1
- data/lib/losant_rest/experience_group.rb +4 -0
- data/lib/losant_rest/experience_slugs.rb +1 -1
- data/lib/losant_rest/experience_version.rb +3 -3
- data/lib/losant_rest/experience_versions.rb +2 -2
- data/lib/losant_rest/experience_view.rb +4 -4
- data/lib/losant_rest/experience_views.rb +2 -2
- data/lib/losant_rest/file.rb +4 -4
- data/lib/losant_rest/files.rb +2 -2
- data/lib/losant_rest/flow.rb +3 -3
- data/lib/losant_rest/flow_versions.rb +50 -0
- data/lib/losant_rest/flows.rb +2 -2
- data/lib/losant_rest/instance.rb +47 -1
- data/lib/losant_rest/instance_api_token.rb +176 -0
- data/lib/losant_rest/instance_api_tokens.rb +136 -0
- data/lib/losant_rest/instance_member.rb +1 -1
- data/lib/losant_rest/instance_members.rb +2 -2
- data/lib/losant_rest/instance_org.rb +5 -1
- data/lib/losant_rest/instance_org_invite.rb +182 -0
- data/lib/losant_rest/instance_org_invites.rb +138 -0
- data/lib/losant_rest/instance_org_member.rb +1 -1
- data/lib/losant_rest/instance_org_members.rb +4 -4
- data/lib/losant_rest/instance_orgs.rb +3 -3
- data/lib/losant_rest/instances.rb +1 -1
- data/lib/losant_rest/user_api_token.rb +170 -0
- data/lib/losant_rest/user_api_tokens.rb +132 -0
- data/lib/losant_rest/version.rb +1 -1
- data/lib/losant_rest.rb +9 -0
- data/schemas/apiToken.json +2 -1
- data/schemas/apiTokenPost.json +439 -0
- data/schemas/apiTokens.json +4 -2
- data/schemas/application.json +32 -32
- data/schemas/applicationCreationByTemplateResult.json +32 -32
- data/schemas/applicationDashboardPost.json +28 -21
- data/schemas/applicationPatch.json +13 -13
- data/schemas/applicationPost.json +13 -13
- data/schemas/applicationTemplate.json +16 -16
- data/schemas/applicationTemplates.json +16 -16
- data/schemas/applications.json +32 -32
- data/schemas/auditLog.json +4 -0
- data/schemas/auditLogFilter.json +4 -0
- data/schemas/auditLogs.json +4 -0
- data/schemas/authedDevice.json +2 -1
- data/schemas/bulkDeleteResponse.json +12 -0
- data/schemas/dashboard.json +28 -21
- data/schemas/dashboardPatch.json +28 -21
- data/schemas/dashboardPost.json +28 -21
- data/schemas/dashboardSendReport.json +9 -5
- data/schemas/dashboards.json +28 -21
- data/schemas/dataTableRowsDelete.json +1 -1
- data/schemas/device.json +2 -1
- data/schemas/deviceClassFilter.json +4 -2
- data/schemas/devicePatch.json +2 -1
- data/schemas/devicePayloadCounts.json +24 -0
- data/schemas/devicePost.json +2 -1
- data/schemas/deviceRecipe.json +2 -1
- data/schemas/deviceRecipePatch.json +2 -1
- data/schemas/deviceRecipePost.json +2 -1
- data/schemas/deviceRecipes.json +2 -1
- data/schemas/devices.json +4 -2
- data/schemas/devicesExportPayloadCountPost.json +1350 -0
- data/schemas/devicesPatch.json +4 -2
- data/schemas/edgeDeployment.json +20 -0
- data/schemas/edgeDeployments.json +20 -0
- data/schemas/embeddedDeployment.json +179 -0
- data/schemas/embeddedDeploymentExport.json +44 -0
- data/schemas/embeddedDeploymentRelease.json +58 -0
- data/schemas/embeddedDeploymentRemove.json +25 -0
- data/schemas/embeddedDeploymentReplace.json +29 -0
- data/schemas/embeddedDeployments.json +212 -0
- data/schemas/eventsDeleted.json +1 -1
- data/schemas/experienceEndpoint.json +6 -8
- data/schemas/experienceEndpointPatch.json +6 -8
- data/schemas/experienceEndpointPost.json +6 -8
- data/schemas/experienceEndpoints.json +6 -8
- data/schemas/experienceGroup.json +6 -0
- data/schemas/experienceGroups.json +6 -0
- data/schemas/experienceLinkedResources.json +790 -85
- data/schemas/flow.json +252 -16
- data/schemas/flowPatch.json +251 -16
- data/schemas/flowPost.json +252 -16
- data/schemas/flowVersion.json +503 -33
- data/schemas/flowVersionPost.json +251 -16
- data/schemas/flowVersions.json +503 -33
- data/schemas/flowVersionsDeletePost.json +941 -0
- data/schemas/flows.json +253 -16
- data/schemas/flowsImportPost.json +503 -32
- data/schemas/flowsImportResult.json +785 -79
- data/schemas/githubLogin.json +38 -1
- data/schemas/historicalSummary.json +150 -102
- data/schemas/instance.json +150 -77
- data/schemas/instanceMember.json +10 -0
- data/schemas/instanceMemberPost.json +18 -3
- data/schemas/instanceMembers.json +14 -0
- data/schemas/instanceOrg.json +87 -74
- data/schemas/instanceOrgMember.json +14 -0
- data/schemas/instanceOrgMembers.json +8 -0
- data/schemas/instanceOrgPatch.json +64 -26
- data/schemas/instanceOrgPost.json +229 -25
- data/schemas/instanceOrgs.json +91 -74
- data/schemas/instancePatch.json +67 -0
- data/schemas/instanceReportOptionsPost.json +1 -0
- data/schemas/me.json +134 -105
- data/schemas/notebook.json +45 -0
- data/schemas/notebookPatch.json +30 -0
- data/schemas/notebookPost.json +30 -0
- data/schemas/notebooks.json +45 -0
- data/schemas/org.json +145 -110
- data/schemas/orgInvite.json +90 -0
- data/schemas/orgInviteCollection.json +130 -0
- data/schemas/orgInvites.json +82 -77
- data/schemas/orgRoleInfo.json +69 -0
- data/schemas/orgs.json +145 -110
- data/schemas/payloadStats.json +28 -12
- data/schemas/userCredentials.json +38 -1
- data/schemas/userPost.json +38 -1
- data/schemas/validateContextError.json +34 -0
- data/schemas/validateContextSuccess.json +34 -0
- data/schemas/virtualButtonPress.json +4 -0
- metadata +39 -6
@@ -0,0 +1,67 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"properties": {
|
5
|
+
"reportConfigs": {
|
6
|
+
"type": "array",
|
7
|
+
"maxItems": 10,
|
8
|
+
"items": {
|
9
|
+
"type": "object",
|
10
|
+
"properties": {
|
11
|
+
"id": {
|
12
|
+
"type": "string",
|
13
|
+
"maxLength": 48
|
14
|
+
},
|
15
|
+
"cron": {
|
16
|
+
"type": "string",
|
17
|
+
"maxLength": 255
|
18
|
+
},
|
19
|
+
"timezone": {
|
20
|
+
"type": "string",
|
21
|
+
"maxLength": 255
|
22
|
+
},
|
23
|
+
"emails": {
|
24
|
+
"type": "array",
|
25
|
+
"maxItems": 10,
|
26
|
+
"items": {
|
27
|
+
"type": "string",
|
28
|
+
"format": "email",
|
29
|
+
"maxLength": 1024
|
30
|
+
}
|
31
|
+
},
|
32
|
+
"callbackUrl": {
|
33
|
+
"type": "string",
|
34
|
+
"maxLength": 1024
|
35
|
+
},
|
36
|
+
"resourceGroupBy": {
|
37
|
+
"type": "string",
|
38
|
+
"enum": [
|
39
|
+
"application",
|
40
|
+
"organization"
|
41
|
+
]
|
42
|
+
},
|
43
|
+
"dateGroupBy": {
|
44
|
+
"type": "string",
|
45
|
+
"enum": [
|
46
|
+
"day",
|
47
|
+
"month"
|
48
|
+
]
|
49
|
+
},
|
50
|
+
"periods": {
|
51
|
+
"type": "integer",
|
52
|
+
"minimum": 1,
|
53
|
+
"maximum": 90
|
54
|
+
},
|
55
|
+
"includeSandbox": {
|
56
|
+
"type": "boolean"
|
57
|
+
}
|
58
|
+
},
|
59
|
+
"required": [
|
60
|
+
"cron"
|
61
|
+
],
|
62
|
+
"additionalProperties": false
|
63
|
+
}
|
64
|
+
}
|
65
|
+
},
|
66
|
+
"additionalProperties": false
|
67
|
+
}
|
data/schemas/me.json
CHANGED
@@ -81,78 +81,91 @@
|
|
81
81
|
"format": "url"
|
82
82
|
},
|
83
83
|
"limits": {
|
84
|
-
"
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
84
|
+
"type": "object",
|
85
|
+
"properties": {
|
86
|
+
"apitoken": {
|
87
|
+
"type": "integer"
|
88
|
+
},
|
89
|
+
"application": {
|
90
|
+
"type": "integer"
|
91
|
+
},
|
92
|
+
"applicationkey": {
|
93
|
+
"type": "integer"
|
94
|
+
},
|
95
|
+
"dashboard": {
|
96
|
+
"type": "integer"
|
97
|
+
},
|
98
|
+
"datatable": {
|
99
|
+
"type": "integer"
|
100
|
+
},
|
101
|
+
"device": {
|
102
|
+
"type": "integer"
|
103
|
+
},
|
104
|
+
"devicerecipe": {
|
105
|
+
"type": "integer"
|
106
|
+
},
|
107
|
+
"experiencedomain": {
|
108
|
+
"type": "integer"
|
109
|
+
},
|
110
|
+
"experienceendpoint": {
|
111
|
+
"type": "integer"
|
112
|
+
},
|
113
|
+
"experiencegroup": {
|
114
|
+
"type": "integer"
|
115
|
+
},
|
116
|
+
"experienceslug": {
|
117
|
+
"type": "integer"
|
118
|
+
},
|
119
|
+
"experienceuser": {
|
120
|
+
"type": "integer"
|
121
|
+
},
|
122
|
+
"experienceversion": {
|
123
|
+
"type": "integer"
|
124
|
+
},
|
125
|
+
"experienceview": {
|
126
|
+
"type": "integer"
|
127
|
+
},
|
128
|
+
"file": {
|
129
|
+
"type": "integer"
|
130
|
+
},
|
131
|
+
"flow": {
|
132
|
+
"type": "integer"
|
133
|
+
},
|
134
|
+
"integration": {
|
135
|
+
"type": "integer"
|
136
|
+
},
|
137
|
+
"notebook": {
|
138
|
+
"type": "integer"
|
139
|
+
},
|
140
|
+
"webhook": {
|
141
|
+
"type": "integer"
|
142
|
+
},
|
143
|
+
"dataTTL": {
|
144
|
+
"type": "integer"
|
145
|
+
},
|
146
|
+
"payload": {
|
147
|
+
"type": "integer"
|
148
|
+
},
|
149
|
+
"storage": {
|
150
|
+
"type": "integer"
|
151
|
+
},
|
152
|
+
"notebookMinutesPerRun": {
|
153
|
+
"type": "integer"
|
154
|
+
},
|
155
|
+
"notebookMinutesPerMonth": {
|
156
|
+
"type": "integer"
|
157
|
+
},
|
158
|
+
"notebookInParallel": {
|
159
|
+
"type": "integer"
|
160
|
+
},
|
161
|
+
"experienceFlowSlots": {
|
162
|
+
"type": "integer"
|
163
|
+
},
|
164
|
+
"applicationFlowSlots": {
|
165
|
+
"type": "integer"
|
166
|
+
}
|
152
167
|
},
|
153
|
-
"
|
154
|
-
"type": "number"
|
155
|
-
}
|
168
|
+
"additionalProperties": false
|
156
169
|
},
|
157
170
|
"recentDashboards": {
|
158
171
|
"title": "Recent Item List",
|
@@ -272,62 +285,62 @@
|
|
272
285
|
"type": "object",
|
273
286
|
"properties": {
|
274
287
|
"apiTokenCount": {
|
275
|
-
"type": "
|
288
|
+
"type": "integer"
|
276
289
|
},
|
277
290
|
"appCount": {
|
278
|
-
"type": "
|
291
|
+
"type": "integer"
|
279
292
|
},
|
280
293
|
"dashCount": {
|
281
|
-
"type": "
|
294
|
+
"type": "integer"
|
282
295
|
},
|
283
296
|
"dataTableCount": {
|
284
|
-
"type": "
|
297
|
+
"type": "integer"
|
285
298
|
},
|
286
299
|
"deviceCount": {
|
287
|
-
"type": "
|
300
|
+
"type": "integer"
|
288
301
|
},
|
289
302
|
"deviceRecipeCount": {
|
290
|
-
"type": "
|
303
|
+
"type": "integer"
|
291
304
|
},
|
292
305
|
"experienceEndpointCount": {
|
293
|
-
"type": "
|
306
|
+
"type": "integer"
|
294
307
|
},
|
295
308
|
"experienceGroupCount": {
|
296
|
-
"type": "
|
309
|
+
"type": "integer"
|
297
310
|
},
|
298
311
|
"experienceSlugCount": {
|
299
|
-
"type": "
|
312
|
+
"type": "integer"
|
300
313
|
},
|
301
314
|
"experienceUserCount": {
|
302
|
-
"type": "
|
315
|
+
"type": "integer"
|
303
316
|
},
|
304
317
|
"experienceVersionCount": {
|
305
|
-
"type": "
|
318
|
+
"type": "integer"
|
306
319
|
},
|
307
320
|
"experienceViewCount": {
|
308
|
-
"type": "
|
321
|
+
"type": "integer"
|
309
322
|
},
|
310
323
|
"fileCount": {
|
311
|
-
"type": "
|
324
|
+
"type": "integer"
|
312
325
|
},
|
313
326
|
"flowCount": {
|
314
|
-
"type": "
|
327
|
+
"type": "integer"
|
315
328
|
},
|
316
329
|
"integrationCount": {
|
317
|
-
"type": "
|
330
|
+
"type": "integer"
|
318
331
|
},
|
319
332
|
"keyCount": {
|
320
|
-
"type": "
|
333
|
+
"type": "integer"
|
321
334
|
},
|
322
335
|
"orgCount": {
|
323
|
-
"type": "
|
336
|
+
"type": "integer"
|
324
337
|
},
|
325
338
|
"payloadCount": {
|
326
|
-
"title": "Payload
|
327
|
-
"description": "Schema for the result of a payload
|
339
|
+
"title": "Payload Stats",
|
340
|
+
"description": "Schema for the result of a payload stats request",
|
328
341
|
"type": "object",
|
329
342
|
"properties": {
|
330
|
-
"
|
343
|
+
"dataTable": {
|
331
344
|
"type": "object",
|
332
345
|
"patternProperties": {
|
333
346
|
".*": {
|
@@ -335,7 +348,7 @@
|
|
335
348
|
}
|
336
349
|
}
|
337
350
|
},
|
338
|
-
"
|
351
|
+
"deviceCommand": {
|
339
352
|
"type": "object",
|
340
353
|
"patternProperties": {
|
341
354
|
".*": {
|
@@ -343,7 +356,15 @@
|
|
343
356
|
}
|
344
357
|
}
|
345
358
|
},
|
346
|
-
"
|
359
|
+
"deviceConnect": {
|
360
|
+
"type": "object",
|
361
|
+
"patternProperties": {
|
362
|
+
".*": {
|
363
|
+
"type": "number"
|
364
|
+
}
|
365
|
+
}
|
366
|
+
},
|
367
|
+
"deviceDisconnect": {
|
347
368
|
"type": "object",
|
348
369
|
"patternProperties": {
|
349
370
|
".*": {
|
@@ -359,7 +380,7 @@
|
|
359
380
|
}
|
360
381
|
}
|
361
382
|
},
|
362
|
-
"
|
383
|
+
"endpoint": {
|
363
384
|
"type": "object",
|
364
385
|
"patternProperties": {
|
365
386
|
".*": {
|
@@ -367,7 +388,7 @@
|
|
367
388
|
}
|
368
389
|
}
|
369
390
|
},
|
370
|
-
"
|
391
|
+
"event": {
|
371
392
|
"type": "object",
|
372
393
|
"patternProperties": {
|
373
394
|
".*": {
|
@@ -375,7 +396,7 @@
|
|
375
396
|
}
|
376
397
|
}
|
377
398
|
},
|
378
|
-
"
|
399
|
+
"flowError": {
|
379
400
|
"type": "object",
|
380
401
|
"patternProperties": {
|
381
402
|
".*": {
|
@@ -383,7 +404,7 @@
|
|
383
404
|
}
|
384
405
|
}
|
385
406
|
},
|
386
|
-
"
|
407
|
+
"integration": {
|
387
408
|
"type": "object",
|
388
409
|
"patternProperties": {
|
389
410
|
".*": {
|
@@ -391,7 +412,7 @@
|
|
391
412
|
}
|
392
413
|
}
|
393
414
|
},
|
394
|
-
"
|
415
|
+
"mqttIn": {
|
395
416
|
"type": "object",
|
396
417
|
"patternProperties": {
|
397
418
|
".*": {
|
@@ -399,7 +420,7 @@
|
|
399
420
|
}
|
400
421
|
}
|
401
422
|
},
|
402
|
-
"
|
423
|
+
"mqttOut": {
|
403
424
|
"type": "object",
|
404
425
|
"patternProperties": {
|
405
426
|
".*": {
|
@@ -407,7 +428,7 @@
|
|
407
428
|
}
|
408
429
|
}
|
409
430
|
},
|
410
|
-
"
|
431
|
+
"notebook": {
|
411
432
|
"type": "object",
|
412
433
|
"patternProperties": {
|
413
434
|
".*": {
|
@@ -415,7 +436,7 @@
|
|
415
436
|
}
|
416
437
|
}
|
417
438
|
},
|
418
|
-
"
|
439
|
+
"timer": {
|
419
440
|
"type": "object",
|
420
441
|
"patternProperties": {
|
421
442
|
".*": {
|
@@ -423,7 +444,15 @@
|
|
423
444
|
}
|
424
445
|
}
|
425
446
|
},
|
426
|
-
"
|
447
|
+
"virtualButton": {
|
448
|
+
"type": "object",
|
449
|
+
"patternProperties": {
|
450
|
+
".*": {
|
451
|
+
"type": "number"
|
452
|
+
}
|
453
|
+
}
|
454
|
+
},
|
455
|
+
"webhook": {
|
427
456
|
"type": "object",
|
428
457
|
"patternProperties": {
|
429
458
|
".*": {
|
@@ -437,15 +466,15 @@
|
|
437
466
|
"type": "object",
|
438
467
|
"properties": {
|
439
468
|
"count": {
|
440
|
-
"type": "
|
469
|
+
"type": "integer"
|
441
470
|
},
|
442
471
|
"size": {
|
443
|
-
"type": "
|
472
|
+
"type": "integer"
|
444
473
|
}
|
445
474
|
}
|
446
475
|
},
|
447
476
|
"webhookCount": {
|
448
|
-
"type": "
|
477
|
+
"type": "integer"
|
449
478
|
}
|
450
479
|
}
|
451
480
|
},
|
data/schemas/notebook.json
CHANGED
@@ -608,9 +608,54 @@
|
|
608
608
|
"outputType"
|
609
609
|
],
|
610
610
|
"additionalProperties": false
|
611
|
+
},
|
612
|
+
{
|
613
|
+
"type": "object",
|
614
|
+
"properties": {
|
615
|
+
"outputType": {
|
616
|
+
"type": "string",
|
617
|
+
"enum": [
|
618
|
+
"temporaryUrl"
|
619
|
+
]
|
620
|
+
},
|
621
|
+
"fileName": {
|
622
|
+
"oneOf": [
|
623
|
+
{
|
624
|
+
"type": "string",
|
625
|
+
"pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
|
626
|
+
},
|
627
|
+
{
|
628
|
+
"type": "string",
|
629
|
+
"minLength": 4,
|
630
|
+
"maxLength": 255,
|
631
|
+
"pattern": ".*{{.+}}.*"
|
632
|
+
}
|
633
|
+
]
|
634
|
+
}
|
635
|
+
},
|
636
|
+
"required": [
|
637
|
+
"fileName",
|
638
|
+
"outputType"
|
639
|
+
],
|
640
|
+
"additionalProperties": false
|
611
641
|
}
|
612
642
|
]
|
613
643
|
}
|
644
|
+
},
|
645
|
+
"stats": {
|
646
|
+
"type": "object",
|
647
|
+
"properties": {
|
648
|
+
"minutesThisPeriod": {
|
649
|
+
"type": "number"
|
650
|
+
},
|
651
|
+
"runsThisPeriod": {
|
652
|
+
"type": "number"
|
653
|
+
},
|
654
|
+
"errorsThisPeriod": {
|
655
|
+
"type": "number"
|
656
|
+
}
|
657
|
+
},
|
658
|
+
"additionalProperties": false
|
614
659
|
}
|
615
660
|
}
|
616
661
|
}
|
data/schemas/notebookPatch.json
CHANGED
@@ -573,6 +573,36 @@
|
|
573
573
|
"outputType"
|
574
574
|
],
|
575
575
|
"additionalProperties": false
|
576
|
+
},
|
577
|
+
{
|
578
|
+
"type": "object",
|
579
|
+
"properties": {
|
580
|
+
"outputType": {
|
581
|
+
"type": "string",
|
582
|
+
"enum": [
|
583
|
+
"temporaryUrl"
|
584
|
+
]
|
585
|
+
},
|
586
|
+
"fileName": {
|
587
|
+
"oneOf": [
|
588
|
+
{
|
589
|
+
"type": "string",
|
590
|
+
"pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
|
591
|
+
},
|
592
|
+
{
|
593
|
+
"type": "string",
|
594
|
+
"minLength": 4,
|
595
|
+
"maxLength": 255,
|
596
|
+
"pattern": ".*{{.+}}.*"
|
597
|
+
}
|
598
|
+
]
|
599
|
+
}
|
600
|
+
},
|
601
|
+
"required": [
|
602
|
+
"fileName",
|
603
|
+
"outputType"
|
604
|
+
],
|
605
|
+
"additionalProperties": false
|
576
606
|
}
|
577
607
|
]
|
578
608
|
}
|
data/schemas/notebookPost.json
CHANGED
@@ -580,6 +580,36 @@
|
|
580
580
|
"outputType"
|
581
581
|
],
|
582
582
|
"additionalProperties": false
|
583
|
+
},
|
584
|
+
{
|
585
|
+
"type": "object",
|
586
|
+
"properties": {
|
587
|
+
"outputType": {
|
588
|
+
"type": "string",
|
589
|
+
"enum": [
|
590
|
+
"temporaryUrl"
|
591
|
+
]
|
592
|
+
},
|
593
|
+
"fileName": {
|
594
|
+
"oneOf": [
|
595
|
+
{
|
596
|
+
"type": "string",
|
597
|
+
"pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
|
598
|
+
},
|
599
|
+
{
|
600
|
+
"type": "string",
|
601
|
+
"minLength": 4,
|
602
|
+
"maxLength": 255,
|
603
|
+
"pattern": ".*{{.+}}.*"
|
604
|
+
}
|
605
|
+
]
|
606
|
+
}
|
607
|
+
},
|
608
|
+
"required": [
|
609
|
+
"fileName",
|
610
|
+
"outputType"
|
611
|
+
],
|
612
|
+
"additionalProperties": false
|
583
613
|
}
|
584
614
|
]
|
585
615
|
}
|
data/schemas/notebooks.json
CHANGED
@@ -615,9 +615,54 @@
|
|
615
615
|
"outputType"
|
616
616
|
],
|
617
617
|
"additionalProperties": false
|
618
|
+
},
|
619
|
+
{
|
620
|
+
"type": "object",
|
621
|
+
"properties": {
|
622
|
+
"outputType": {
|
623
|
+
"type": "string",
|
624
|
+
"enum": [
|
625
|
+
"temporaryUrl"
|
626
|
+
]
|
627
|
+
},
|
628
|
+
"fileName": {
|
629
|
+
"oneOf": [
|
630
|
+
{
|
631
|
+
"type": "string",
|
632
|
+
"pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
|
633
|
+
},
|
634
|
+
{
|
635
|
+
"type": "string",
|
636
|
+
"minLength": 4,
|
637
|
+
"maxLength": 255,
|
638
|
+
"pattern": ".*{{.+}}.*"
|
639
|
+
}
|
640
|
+
]
|
641
|
+
}
|
642
|
+
},
|
643
|
+
"required": [
|
644
|
+
"fileName",
|
645
|
+
"outputType"
|
646
|
+
],
|
647
|
+
"additionalProperties": false
|
618
648
|
}
|
619
649
|
]
|
620
650
|
}
|
651
|
+
},
|
652
|
+
"stats": {
|
653
|
+
"type": "object",
|
654
|
+
"properties": {
|
655
|
+
"minutesThisPeriod": {
|
656
|
+
"type": "number"
|
657
|
+
},
|
658
|
+
"runsThisPeriod": {
|
659
|
+
"type": "number"
|
660
|
+
},
|
661
|
+
"errorsThisPeriod": {
|
662
|
+
"type": "number"
|
663
|
+
}
|
664
|
+
},
|
665
|
+
"additionalProperties": false
|
621
666
|
}
|
622
667
|
}
|
623
668
|
}
|