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.
- checksums.yaml +4 -4
- data/docs/_schemas.md +1313 -145
- data/docs/file.md +3 -3
- data/docs/files.md +2 -2
- data/docs/me.md +11 -1
- data/docs/privateFile.md +222 -0
- data/docs/privateFiles.md +97 -0
- data/lib/platform_rest/client.rb +10 -2
- data/lib/platform_rest/file.rb +3 -3
- data/lib/platform_rest/files.rb +1 -1
- data/lib/platform_rest/me.rb +21 -1
- data/lib/platform_rest/private_file.rb +230 -0
- data/lib/platform_rest/private_files.rb +146 -0
- data/lib/platform_rest/version.rb +1 -1
- data/lib/platform_rest.rb +2 -0
- data/schemas/apiTokenPost.json +12 -2
- data/schemas/application.json +7 -0
- data/schemas/applicationClonePost.json +4 -0
- data/schemas/applicationCreationByTemplateResult.json +7 -0
- data/schemas/applicationDashboardPost.json +3 -1
- data/schemas/applicationExportPost.json +4 -0
- data/schemas/applicationImportExecutions.json +2 -0
- data/schemas/applicationPatch.json +4 -0
- data/schemas/applicationPost.json +4 -0
- data/schemas/applicationTemplate.json +3 -0
- data/schemas/applicationTemplates.json +3 -0
- data/schemas/applications.json +7 -0
- data/schemas/auditLog.json +1 -0
- data/schemas/auditLogFilter.json +1 -0
- data/schemas/auditLogs.json +1 -0
- data/schemas/credentialLinkedResources.json +18 -0
- data/schemas/dashboard.json +3 -1
- data/schemas/dashboardBlockSuggestCodePost.json +620 -0
- data/schemas/dashboardBlockSuggestCodeResponse.json +49 -0
- data/schemas/dashboardPatch.json +3 -1
- data/schemas/dashboardPost.json +3 -1
- data/schemas/dashboards.json +3 -1
- data/schemas/experienceLinkedResources.json +18 -0
- data/schemas/fileUploadPostResponse.json +103 -82
- data/schemas/files.json +1 -1
- data/schemas/flow.json +6 -0
- data/schemas/flowPatch.json +6 -0
- data/schemas/flowPost.json +6 -0
- data/schemas/flowVersion.json +12 -0
- data/schemas/flowVersionPost.json +6 -0
- data/schemas/flowVersions.json +12 -0
- data/schemas/flows.json +6 -0
- data/schemas/flowsImportPost.json +12 -0
- data/schemas/flowsImportResult.json +18 -0
- data/schemas/githubLogin.json +12 -2
- data/schemas/historicalSummaries.json +10 -0
- data/schemas/historicalSummary.json +10 -0
- data/schemas/importIntoApplicationOptions.json +1 -0
- data/schemas/importNewApplicationOptions.json +1 -0
- data/schemas/instance.json +7 -0
- data/schemas/instanceOrg.json +7 -0
- data/schemas/instanceOrgPatch.json +4 -0
- data/schemas/instanceOrgPost.json +4 -0
- data/schemas/instanceOrgs.json +7 -0
- data/schemas/instancePatch.json +4 -0
- data/schemas/instanceSandbox.json +6 -0
- data/schemas/instanceSandboxes.json +6 -0
- data/schemas/instances.json +7 -0
- data/schemas/me.json +11 -0
- data/schemas/notebook.json +9 -0
- data/schemas/notebookPatch.json +9 -0
- data/schemas/notebookPost.json +9 -0
- data/schemas/notebooks.json +9 -0
- data/schemas/org.json +7 -0
- data/schemas/orgs.json +7 -0
- data/schemas/samlResponse.json +12 -2
- data/schemas/suggestFunctionPost.json +2 -1
- data/schemas/suggestFunctionResponse.json +13 -1
- data/schemas/userCredentials.json +12 -2
- data/schemas/userPost.json +12 -2
- data/schemas/webhook.json +3 -0
- data/schemas/webhookPatch.json +3 -0
- data/schemas/webhookPost.json +3 -0
- data/schemas/webhooks.json +3 -0
- metadata +8 -2
data/schemas/dashboard.json
CHANGED
|
@@ -0,0 +1,620 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"text": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"minLength": 1,
|
|
8
|
+
"maxLength": 8192
|
|
9
|
+
},
|
|
10
|
+
"blockConfig": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"id": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"maxLength": 48
|
|
16
|
+
},
|
|
17
|
+
"title": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"maxLength": 255
|
|
20
|
+
},
|
|
21
|
+
"description": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"maxLength": 32767
|
|
24
|
+
},
|
|
25
|
+
"applicationId": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
28
|
+
},
|
|
29
|
+
"startX": {
|
|
30
|
+
"type": "number"
|
|
31
|
+
},
|
|
32
|
+
"startY": {
|
|
33
|
+
"type": "number"
|
|
34
|
+
},
|
|
35
|
+
"width": {
|
|
36
|
+
"type": "number"
|
|
37
|
+
},
|
|
38
|
+
"height": {
|
|
39
|
+
"type": "number"
|
|
40
|
+
},
|
|
41
|
+
"blockType": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"enum": [
|
|
44
|
+
"custom-chart",
|
|
45
|
+
"custom-html"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"config": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"properties": {
|
|
51
|
+
"configuration": {
|
|
52
|
+
"oneOf": [
|
|
53
|
+
{
|
|
54
|
+
"type": "object",
|
|
55
|
+
"properties": {
|
|
56
|
+
"headContent": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"maxLength": 32767
|
|
59
|
+
},
|
|
60
|
+
"bodyContent": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"maxLength": 32767
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"additionalProperties": false
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"type": "string",
|
|
69
|
+
"maxLength": 32767
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"segments": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"maxItems": 100,
|
|
76
|
+
"items": {
|
|
77
|
+
"oneOf": [
|
|
78
|
+
{
|
|
79
|
+
"type": "object",
|
|
80
|
+
"properties": {
|
|
81
|
+
"queryType": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"enum": [
|
|
84
|
+
"time-series"
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"id": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"maxLength": 48
|
|
90
|
+
},
|
|
91
|
+
"attribute": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"maxLength": 255
|
|
94
|
+
},
|
|
95
|
+
"aggregation": {
|
|
96
|
+
"oneOf": [
|
|
97
|
+
{
|
|
98
|
+
"oneOf": [
|
|
99
|
+
{
|
|
100
|
+
"type": "string",
|
|
101
|
+
"enum": [
|
|
102
|
+
"FIRST",
|
|
103
|
+
"LAST",
|
|
104
|
+
"COUNT",
|
|
105
|
+
"MAX",
|
|
106
|
+
"MIN",
|
|
107
|
+
"MEDIAN",
|
|
108
|
+
"MEAN",
|
|
109
|
+
"SUM",
|
|
110
|
+
"STD_DEV"
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"type": "string",
|
|
115
|
+
"enum": [
|
|
116
|
+
"NONE"
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"type": "object",
|
|
123
|
+
"properties": {
|
|
124
|
+
"type": {
|
|
125
|
+
"oneOf": [
|
|
126
|
+
{
|
|
127
|
+
"type": "string",
|
|
128
|
+
"enum": [
|
|
129
|
+
"FIRST",
|
|
130
|
+
"LAST",
|
|
131
|
+
"COUNT",
|
|
132
|
+
"MAX",
|
|
133
|
+
"MIN",
|
|
134
|
+
"MEDIAN",
|
|
135
|
+
"MEAN",
|
|
136
|
+
"SUM",
|
|
137
|
+
"STD_DEV"
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"type": "string",
|
|
142
|
+
"enum": [
|
|
143
|
+
"NONE"
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
"options": {
|
|
149
|
+
"type": "object",
|
|
150
|
+
"additionalProperties": false
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"additionalProperties": false,
|
|
154
|
+
"required": [
|
|
155
|
+
"type"
|
|
156
|
+
]
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"type": "object",
|
|
160
|
+
"properties": {
|
|
161
|
+
"type": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"enum": [
|
|
164
|
+
"TIMEATVALUE"
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
"options": {
|
|
168
|
+
"type": "object",
|
|
169
|
+
"properties": {
|
|
170
|
+
"value": {
|
|
171
|
+
"oneOf": [
|
|
172
|
+
{
|
|
173
|
+
"type": "string",
|
|
174
|
+
"maxLength": 255
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"type": "number"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"type": "boolean"
|
|
181
|
+
}
|
|
182
|
+
]
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"additionalProperties": false,
|
|
186
|
+
"required": [
|
|
187
|
+
"value"
|
|
188
|
+
]
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
"additionalProperties": false,
|
|
192
|
+
"required": [
|
|
193
|
+
"type",
|
|
194
|
+
"options"
|
|
195
|
+
]
|
|
196
|
+
}
|
|
197
|
+
]
|
|
198
|
+
},
|
|
199
|
+
"deviceIds": {
|
|
200
|
+
"type": "array",
|
|
201
|
+
"maxItems": 100,
|
|
202
|
+
"items": {
|
|
203
|
+
"type": "string",
|
|
204
|
+
"maxLength": 255
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"deviceTags": {
|
|
208
|
+
"type": "array",
|
|
209
|
+
"maxItems": 100,
|
|
210
|
+
"items": {
|
|
211
|
+
"type": "object",
|
|
212
|
+
"properties": {
|
|
213
|
+
"key": {
|
|
214
|
+
"type": "string",
|
|
215
|
+
"maxLength": 255
|
|
216
|
+
},
|
|
217
|
+
"value": {
|
|
218
|
+
"type": "string",
|
|
219
|
+
"maxLength": 255
|
|
220
|
+
},
|
|
221
|
+
"fromCtx": {
|
|
222
|
+
"type": "string",
|
|
223
|
+
"maxLength": 255
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"additionalProperties": false
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"query": {
|
|
230
|
+
"type": "string",
|
|
231
|
+
"maxLength": 32767
|
|
232
|
+
},
|
|
233
|
+
"duration": {
|
|
234
|
+
"oneOf": [
|
|
235
|
+
{
|
|
236
|
+
"type": "integer",
|
|
237
|
+
"minimum": 0
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"type": "string",
|
|
241
|
+
"enum": [
|
|
242
|
+
"{{dashboard.duration}}"
|
|
243
|
+
]
|
|
244
|
+
}
|
|
245
|
+
]
|
|
246
|
+
},
|
|
247
|
+
"resolution": {
|
|
248
|
+
"oneOf": [
|
|
249
|
+
{
|
|
250
|
+
"type": "integer",
|
|
251
|
+
"minimum": 0
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"type": "null"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"type": "string",
|
|
258
|
+
"maxLength": 255
|
|
259
|
+
}
|
|
260
|
+
]
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"additionalProperties": false
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"type": "object",
|
|
267
|
+
"properties": {
|
|
268
|
+
"queryType": {
|
|
269
|
+
"type": "string",
|
|
270
|
+
"enum": [
|
|
271
|
+
"gauge"
|
|
272
|
+
]
|
|
273
|
+
},
|
|
274
|
+
"id": {
|
|
275
|
+
"type": "string",
|
|
276
|
+
"maxLength": 48
|
|
277
|
+
},
|
|
278
|
+
"attribute": {
|
|
279
|
+
"type": "string",
|
|
280
|
+
"maxLength": 255
|
|
281
|
+
},
|
|
282
|
+
"aggregation": {
|
|
283
|
+
"oneOf": [
|
|
284
|
+
{
|
|
285
|
+
"oneOf": [
|
|
286
|
+
{
|
|
287
|
+
"type": "string",
|
|
288
|
+
"enum": [
|
|
289
|
+
"FIRST",
|
|
290
|
+
"LAST",
|
|
291
|
+
"COUNT",
|
|
292
|
+
"MAX",
|
|
293
|
+
"MIN",
|
|
294
|
+
"MEDIAN",
|
|
295
|
+
"MEAN",
|
|
296
|
+
"SUM",
|
|
297
|
+
"STD_DEV"
|
|
298
|
+
]
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"type": "string",
|
|
302
|
+
"enum": [
|
|
303
|
+
"NONE"
|
|
304
|
+
]
|
|
305
|
+
}
|
|
306
|
+
]
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"type": "object",
|
|
310
|
+
"properties": {
|
|
311
|
+
"type": {
|
|
312
|
+
"oneOf": [
|
|
313
|
+
{
|
|
314
|
+
"type": "string",
|
|
315
|
+
"enum": [
|
|
316
|
+
"FIRST",
|
|
317
|
+
"LAST",
|
|
318
|
+
"COUNT",
|
|
319
|
+
"MAX",
|
|
320
|
+
"MIN",
|
|
321
|
+
"MEDIAN",
|
|
322
|
+
"MEAN",
|
|
323
|
+
"SUM",
|
|
324
|
+
"STD_DEV"
|
|
325
|
+
]
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"type": "string",
|
|
329
|
+
"enum": [
|
|
330
|
+
"NONE"
|
|
331
|
+
]
|
|
332
|
+
}
|
|
333
|
+
]
|
|
334
|
+
},
|
|
335
|
+
"options": {
|
|
336
|
+
"type": "object",
|
|
337
|
+
"additionalProperties": false
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"additionalProperties": false,
|
|
341
|
+
"required": [
|
|
342
|
+
"type"
|
|
343
|
+
]
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"type": "object",
|
|
347
|
+
"properties": {
|
|
348
|
+
"type": {
|
|
349
|
+
"type": "string",
|
|
350
|
+
"enum": [
|
|
351
|
+
"TIMEATVALUE"
|
|
352
|
+
]
|
|
353
|
+
},
|
|
354
|
+
"options": {
|
|
355
|
+
"type": "object",
|
|
356
|
+
"properties": {
|
|
357
|
+
"value": {
|
|
358
|
+
"oneOf": [
|
|
359
|
+
{
|
|
360
|
+
"type": "string",
|
|
361
|
+
"maxLength": 255
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"type": "number"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"type": "boolean"
|
|
368
|
+
}
|
|
369
|
+
]
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
"additionalProperties": false,
|
|
373
|
+
"required": [
|
|
374
|
+
"value"
|
|
375
|
+
]
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
"additionalProperties": false,
|
|
379
|
+
"required": [
|
|
380
|
+
"type",
|
|
381
|
+
"options"
|
|
382
|
+
]
|
|
383
|
+
}
|
|
384
|
+
]
|
|
385
|
+
},
|
|
386
|
+
"deviceIds": {
|
|
387
|
+
"type": "array",
|
|
388
|
+
"maxItems": 100,
|
|
389
|
+
"items": {
|
|
390
|
+
"type": "string",
|
|
391
|
+
"maxLength": 255
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
"deviceTags": {
|
|
395
|
+
"type": "array",
|
|
396
|
+
"maxItems": 100,
|
|
397
|
+
"items": {
|
|
398
|
+
"type": "object",
|
|
399
|
+
"properties": {
|
|
400
|
+
"key": {
|
|
401
|
+
"type": "string",
|
|
402
|
+
"maxLength": 255
|
|
403
|
+
},
|
|
404
|
+
"value": {
|
|
405
|
+
"type": "string",
|
|
406
|
+
"maxLength": 255
|
|
407
|
+
},
|
|
408
|
+
"fromCtx": {
|
|
409
|
+
"type": "string",
|
|
410
|
+
"maxLength": 255
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"additionalProperties": false
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
"query": {
|
|
417
|
+
"type": "string",
|
|
418
|
+
"maxLength": 32767
|
|
419
|
+
},
|
|
420
|
+
"duration": {
|
|
421
|
+
"oneOf": [
|
|
422
|
+
{
|
|
423
|
+
"type": "integer",
|
|
424
|
+
"minimum": 0
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"type": "string",
|
|
428
|
+
"enum": [
|
|
429
|
+
"{{dashboard.duration}}"
|
|
430
|
+
]
|
|
431
|
+
}
|
|
432
|
+
]
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"additionalProperties": false
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"type": "object",
|
|
439
|
+
"properties": {
|
|
440
|
+
"queryType": {
|
|
441
|
+
"type": "string",
|
|
442
|
+
"enum": [
|
|
443
|
+
"data-table"
|
|
444
|
+
]
|
|
445
|
+
},
|
|
446
|
+
"id": {
|
|
447
|
+
"type": "string",
|
|
448
|
+
"maxLength": 48
|
|
449
|
+
},
|
|
450
|
+
"dataTableId": {
|
|
451
|
+
"type": "string",
|
|
452
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
453
|
+
},
|
|
454
|
+
"query": {
|
|
455
|
+
"type": "string",
|
|
456
|
+
"maxLength": 32767
|
|
457
|
+
},
|
|
458
|
+
"queryMode": {
|
|
459
|
+
"type": "string",
|
|
460
|
+
"enum": [
|
|
461
|
+
"$or",
|
|
462
|
+
"$and",
|
|
463
|
+
"advanced"
|
|
464
|
+
]
|
|
465
|
+
},
|
|
466
|
+
"sortColumn": {
|
|
467
|
+
"type": "string",
|
|
468
|
+
"maxLength": 255
|
|
469
|
+
},
|
|
470
|
+
"sortDirection": {
|
|
471
|
+
"type": "string",
|
|
472
|
+
"maxLength": 255
|
|
473
|
+
},
|
|
474
|
+
"limit": {
|
|
475
|
+
"type": "string",
|
|
476
|
+
"maxLength": 255
|
|
477
|
+
},
|
|
478
|
+
"offset": {
|
|
479
|
+
"type": "string",
|
|
480
|
+
"maxLength": 255
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
"additionalProperties": false
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"type": "object",
|
|
487
|
+
"properties": {
|
|
488
|
+
"queryType": {
|
|
489
|
+
"type": "string",
|
|
490
|
+
"enum": [
|
|
491
|
+
"device-info"
|
|
492
|
+
]
|
|
493
|
+
},
|
|
494
|
+
"id": {
|
|
495
|
+
"type": "string",
|
|
496
|
+
"maxLength": 48
|
|
497
|
+
},
|
|
498
|
+
"attributes": {
|
|
499
|
+
"oneOf": [
|
|
500
|
+
{
|
|
501
|
+
"type": "null"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"type": "array",
|
|
505
|
+
"maxItems": 100,
|
|
506
|
+
"items": {
|
|
507
|
+
"type": "string",
|
|
508
|
+
"maxLength": 255
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
]
|
|
512
|
+
},
|
|
513
|
+
"excludeConnectionInfo": {
|
|
514
|
+
"type": "boolean"
|
|
515
|
+
},
|
|
516
|
+
"sortField": {
|
|
517
|
+
"type": "string",
|
|
518
|
+
"maxLength": 255
|
|
519
|
+
},
|
|
520
|
+
"sortDirection": {
|
|
521
|
+
"type": "string",
|
|
522
|
+
"maxLength": 255
|
|
523
|
+
},
|
|
524
|
+
"page": {
|
|
525
|
+
"type": "string",
|
|
526
|
+
"maxLength": 255
|
|
527
|
+
},
|
|
528
|
+
"perPage": {
|
|
529
|
+
"type": "string",
|
|
530
|
+
"maxLength": 255
|
|
531
|
+
},
|
|
532
|
+
"query": {
|
|
533
|
+
"type": "string",
|
|
534
|
+
"maxLength": 32767
|
|
535
|
+
},
|
|
536
|
+
"compositeStateType": {
|
|
537
|
+
"type": "string",
|
|
538
|
+
"maxLength": 255
|
|
539
|
+
}
|
|
540
|
+
},
|
|
541
|
+
"additionalProperties": false
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"type": "object",
|
|
545
|
+
"properties": {
|
|
546
|
+
"queryType": {
|
|
547
|
+
"type": "string",
|
|
548
|
+
"enum": [
|
|
549
|
+
"events"
|
|
550
|
+
]
|
|
551
|
+
},
|
|
552
|
+
"id": {
|
|
553
|
+
"type": "string",
|
|
554
|
+
"maxLength": 48
|
|
555
|
+
},
|
|
556
|
+
"sortField": {
|
|
557
|
+
"type": "string",
|
|
558
|
+
"maxLength": 255
|
|
559
|
+
},
|
|
560
|
+
"sortDirection": {
|
|
561
|
+
"type": "string",
|
|
562
|
+
"maxLength": 255
|
|
563
|
+
},
|
|
564
|
+
"page": {
|
|
565
|
+
"type": "string",
|
|
566
|
+
"maxLength": 255
|
|
567
|
+
},
|
|
568
|
+
"perPage": {
|
|
569
|
+
"type": "string",
|
|
570
|
+
"maxLength": 255
|
|
571
|
+
},
|
|
572
|
+
"query": {
|
|
573
|
+
"type": "string",
|
|
574
|
+
"maxLength": 32767
|
|
575
|
+
},
|
|
576
|
+
"includeExtendedEventInfo": {
|
|
577
|
+
"type": "boolean"
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
"additionalProperties": false
|
|
581
|
+
}
|
|
582
|
+
]
|
|
583
|
+
}
|
|
584
|
+
},
|
|
585
|
+
"vegaVersion": {
|
|
586
|
+
"type": "string",
|
|
587
|
+
"enum": [
|
|
588
|
+
"vegaLite2",
|
|
589
|
+
"vegaLite3",
|
|
590
|
+
"vegaLite4",
|
|
591
|
+
"vegaLite5",
|
|
592
|
+
"vegaLite6",
|
|
593
|
+
"vega4",
|
|
594
|
+
"vega5",
|
|
595
|
+
"vega6"
|
|
596
|
+
]
|
|
597
|
+
},
|
|
598
|
+
"tooltipEventSubscribe": {
|
|
599
|
+
"type": "boolean"
|
|
600
|
+
}
|
|
601
|
+
},
|
|
602
|
+
"additionalProperties": false
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
"required": [
|
|
606
|
+
"blockType",
|
|
607
|
+
"startX",
|
|
608
|
+
"startY",
|
|
609
|
+
"width",
|
|
610
|
+
"height"
|
|
611
|
+
],
|
|
612
|
+
"additionalProperties": false
|
|
613
|
+
}
|
|
614
|
+
},
|
|
615
|
+
"required": [
|
|
616
|
+
"text",
|
|
617
|
+
"blockConfig"
|
|
618
|
+
],
|
|
619
|
+
"additionalProperties": false
|
|
620
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"response": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"headContent": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"maxLength": 32767
|
|
11
|
+
},
|
|
12
|
+
"bodyContent": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"maxLength": 32767
|
|
15
|
+
},
|
|
16
|
+
"comments": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"maxLength": 32767
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"responseId": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"minLength": 1,
|
|
25
|
+
"maxLength": 1024
|
|
26
|
+
},
|
|
27
|
+
"finishReason": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"enum": [
|
|
30
|
+
"FINISH_REASON_UNSPECIFIED",
|
|
31
|
+
"STOP",
|
|
32
|
+
"MAX_TOKENS",
|
|
33
|
+
"SAFETY",
|
|
34
|
+
"RECITATION",
|
|
35
|
+
"OTHER",
|
|
36
|
+
"BLOCKLIST",
|
|
37
|
+
"PROHIBITED_CONTENT",
|
|
38
|
+
"SPII",
|
|
39
|
+
"MALFORMED_FUNCTION_CALL"
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"required": [
|
|
44
|
+
"response",
|
|
45
|
+
"responseId",
|
|
46
|
+
"finishReason"
|
|
47
|
+
],
|
|
48
|
+
"additionalProperties": false
|
|
49
|
+
}
|