losant_rest 1.19.1 → 1.19.2
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 +1723 -148
- data/docs/me.md +6 -6
- data/lib/losant_rest/version.rb +1 -1
- data/lib/platform_rest/client.rb +2 -2
- data/lib/platform_rest/me.rb +6 -6
- data/schemas/application.json +166 -2
- data/schemas/applicationCreationByTemplateResult.json +166 -2
- data/schemas/applicationDashboardPost.json +6 -0
- data/schemas/applications.json +166 -2
- data/schemas/credential.json +31 -1
- data/schemas/credentialPatch.json +28 -0
- data/schemas/credentialPost.json +35 -1
- data/schemas/credentials.json +31 -1
- data/schemas/dashboard.json +6 -0
- data/schemas/dashboardPatch.json +6 -0
- data/schemas/dashboardPost.json +6 -0
- data/schemas/dashboards.json +6 -0
- data/schemas/historicalSummaries.json +16 -0
- data/schemas/historicalSummary.json +16 -0
- data/schemas/instance.json +13 -0
- data/schemas/instanceOrg.json +264 -0
- data/schemas/instanceOrgPatch.json +21 -0
- data/schemas/instanceOrgPost.json +21 -0
- data/schemas/instanceOrgs.json +264 -0
- data/schemas/instancePatch.json +13 -0
- data/schemas/instanceSandbox.json +46 -2
- data/schemas/instanceSandboxes.json +46 -2
- data/schemas/instances.json +13 -0
- data/schemas/me.json +46 -2
- data/schemas/multiFactorAuthDisable.json +20 -0
- data/schemas/multiFactorAuthEnable.json +25 -0
- data/schemas/multiFactorAuthInfo.json +15 -0
- data/schemas/org.json +55 -5
- data/schemas/orgPatch.json +8 -0
- data/schemas/orgPost.json +8 -0
- data/schemas/orgs.json +55 -5
- data/schemas/timeSeriesData.json +35 -2
- metadata +5 -2
@@ -112,6 +112,12 @@
|
|
112
112
|
"application": {
|
113
113
|
"type": "integer"
|
114
114
|
},
|
115
|
+
"applicationcertificate": {
|
116
|
+
"type": "integer"
|
117
|
+
},
|
118
|
+
"applicationcertificateauthority": {
|
119
|
+
"type": "integer"
|
120
|
+
},
|
115
121
|
"applicationkey": {
|
116
122
|
"type": "integer"
|
117
123
|
},
|
@@ -192,6 +198,9 @@
|
|
192
198
|
},
|
193
199
|
"applicationFlowSlots": {
|
194
200
|
"type": "integer"
|
201
|
+
},
|
202
|
+
"systemInterval": {
|
203
|
+
"type": "integer"
|
195
204
|
}
|
196
205
|
},
|
197
206
|
"additionalProperties": false
|
@@ -205,6 +214,12 @@
|
|
205
214
|
"appCount": {
|
206
215
|
"type": "integer"
|
207
216
|
},
|
217
|
+
"certificateCount": {
|
218
|
+
"type": "integer"
|
219
|
+
},
|
220
|
+
"certificateAuthorityCount": {
|
221
|
+
"type": "integer"
|
222
|
+
},
|
208
223
|
"credentialCount": {
|
209
224
|
"type": "integer"
|
210
225
|
},
|
@@ -220,6 +235,12 @@
|
|
220
235
|
"deviceRecipeCount": {
|
221
236
|
"type": "integer"
|
222
237
|
},
|
238
|
+
"eventCount": {
|
239
|
+
"type": "integer"
|
240
|
+
},
|
241
|
+
"experienceDomainCount": {
|
242
|
+
"type": "integer"
|
243
|
+
},
|
223
244
|
"experienceEndpointCount": {
|
224
245
|
"type": "integer"
|
225
246
|
},
|
@@ -250,9 +271,21 @@
|
|
250
271
|
"keyCount": {
|
251
272
|
"type": "integer"
|
252
273
|
},
|
274
|
+
"notebookCount": {
|
275
|
+
"type": "integer"
|
276
|
+
},
|
277
|
+
"resourceJobCount": {
|
278
|
+
"type": "integer"
|
279
|
+
},
|
280
|
+
"webhookCount": {
|
281
|
+
"type": "integer"
|
282
|
+
},
|
253
283
|
"orgCount": {
|
254
284
|
"type": "integer"
|
255
285
|
},
|
286
|
+
"instanceCount": {
|
287
|
+
"type": "integer"
|
288
|
+
},
|
256
289
|
"payloadCount": {
|
257
290
|
"title": "Payload Stats",
|
258
291
|
"description": "Schema for the result of a payload stats request",
|
@@ -399,8 +432,19 @@
|
|
399
432
|
}
|
400
433
|
}
|
401
434
|
},
|
402
|
-
"
|
403
|
-
"type": "
|
435
|
+
"notebookStats": {
|
436
|
+
"type": "object",
|
437
|
+
"properties": {
|
438
|
+
"awaitingCompletion": {
|
439
|
+
"type": "integer"
|
440
|
+
},
|
441
|
+
"minutesThisPeriod": {
|
442
|
+
"type": "integer"
|
443
|
+
},
|
444
|
+
"runsThisPeriod": {
|
445
|
+
"type": "integer"
|
446
|
+
}
|
447
|
+
}
|
404
448
|
}
|
405
449
|
}
|
406
450
|
},
|
@@ -119,6 +119,12 @@
|
|
119
119
|
"application": {
|
120
120
|
"type": "integer"
|
121
121
|
},
|
122
|
+
"applicationcertificate": {
|
123
|
+
"type": "integer"
|
124
|
+
},
|
125
|
+
"applicationcertificateauthority": {
|
126
|
+
"type": "integer"
|
127
|
+
},
|
122
128
|
"applicationkey": {
|
123
129
|
"type": "integer"
|
124
130
|
},
|
@@ -199,6 +205,9 @@
|
|
199
205
|
},
|
200
206
|
"applicationFlowSlots": {
|
201
207
|
"type": "integer"
|
208
|
+
},
|
209
|
+
"systemInterval": {
|
210
|
+
"type": "integer"
|
202
211
|
}
|
203
212
|
},
|
204
213
|
"additionalProperties": false
|
@@ -212,6 +221,12 @@
|
|
212
221
|
"appCount": {
|
213
222
|
"type": "integer"
|
214
223
|
},
|
224
|
+
"certificateCount": {
|
225
|
+
"type": "integer"
|
226
|
+
},
|
227
|
+
"certificateAuthorityCount": {
|
228
|
+
"type": "integer"
|
229
|
+
},
|
215
230
|
"credentialCount": {
|
216
231
|
"type": "integer"
|
217
232
|
},
|
@@ -227,6 +242,12 @@
|
|
227
242
|
"deviceRecipeCount": {
|
228
243
|
"type": "integer"
|
229
244
|
},
|
245
|
+
"eventCount": {
|
246
|
+
"type": "integer"
|
247
|
+
},
|
248
|
+
"experienceDomainCount": {
|
249
|
+
"type": "integer"
|
250
|
+
},
|
230
251
|
"experienceEndpointCount": {
|
231
252
|
"type": "integer"
|
232
253
|
},
|
@@ -257,9 +278,21 @@
|
|
257
278
|
"keyCount": {
|
258
279
|
"type": "integer"
|
259
280
|
},
|
281
|
+
"notebookCount": {
|
282
|
+
"type": "integer"
|
283
|
+
},
|
284
|
+
"resourceJobCount": {
|
285
|
+
"type": "integer"
|
286
|
+
},
|
287
|
+
"webhookCount": {
|
288
|
+
"type": "integer"
|
289
|
+
},
|
260
290
|
"orgCount": {
|
261
291
|
"type": "integer"
|
262
292
|
},
|
293
|
+
"instanceCount": {
|
294
|
+
"type": "integer"
|
295
|
+
},
|
263
296
|
"payloadCount": {
|
264
297
|
"title": "Payload Stats",
|
265
298
|
"description": "Schema for the result of a payload stats request",
|
@@ -406,8 +439,19 @@
|
|
406
439
|
}
|
407
440
|
}
|
408
441
|
},
|
409
|
-
"
|
410
|
-
"type": "
|
442
|
+
"notebookStats": {
|
443
|
+
"type": "object",
|
444
|
+
"properties": {
|
445
|
+
"awaitingCompletion": {
|
446
|
+
"type": "integer"
|
447
|
+
},
|
448
|
+
"minutesThisPeriod": {
|
449
|
+
"type": "integer"
|
450
|
+
},
|
451
|
+
"runsThisPeriod": {
|
452
|
+
"type": "integer"
|
453
|
+
}
|
454
|
+
}
|
411
455
|
}
|
412
456
|
}
|
413
457
|
},
|
data/schemas/instances.json
CHANGED
@@ -213,6 +213,14 @@
|
|
213
213
|
"type": "integer",
|
214
214
|
"minimum": 0
|
215
215
|
},
|
216
|
+
"applicationcertificate": {
|
217
|
+
"type": "integer",
|
218
|
+
"minimum": 0
|
219
|
+
},
|
220
|
+
"applicationcertificateauthority": {
|
221
|
+
"type": "integer",
|
222
|
+
"minimum": 0
|
223
|
+
},
|
216
224
|
"applicationkey": {
|
217
225
|
"type": "integer",
|
218
226
|
"minimum": 0
|
@@ -324,6 +332,11 @@
|
|
324
332
|
"applicationFlowSlots": {
|
325
333
|
"type": "integer",
|
326
334
|
"minimum": 0
|
335
|
+
},
|
336
|
+
"systemInterval": {
|
337
|
+
"type": "integer",
|
338
|
+
"minimum": 5,
|
339
|
+
"maximum": 3600
|
327
340
|
}
|
328
341
|
},
|
329
342
|
"additionalProperties": false
|
data/schemas/me.json
CHANGED
@@ -89,6 +89,12 @@
|
|
89
89
|
"application": {
|
90
90
|
"type": "integer"
|
91
91
|
},
|
92
|
+
"applicationcertificate": {
|
93
|
+
"type": "integer"
|
94
|
+
},
|
95
|
+
"applicationcertificateauthority": {
|
96
|
+
"type": "integer"
|
97
|
+
},
|
92
98
|
"applicationkey": {
|
93
99
|
"type": "integer"
|
94
100
|
},
|
@@ -169,6 +175,9 @@
|
|
169
175
|
},
|
170
176
|
"applicationFlowSlots": {
|
171
177
|
"type": "integer"
|
178
|
+
},
|
179
|
+
"systemInterval": {
|
180
|
+
"type": "integer"
|
172
181
|
}
|
173
182
|
},
|
174
183
|
"additionalProperties": false
|
@@ -296,6 +305,12 @@
|
|
296
305
|
"appCount": {
|
297
306
|
"type": "integer"
|
298
307
|
},
|
308
|
+
"certificateCount": {
|
309
|
+
"type": "integer"
|
310
|
+
},
|
311
|
+
"certificateAuthorityCount": {
|
312
|
+
"type": "integer"
|
313
|
+
},
|
299
314
|
"credentialCount": {
|
300
315
|
"type": "integer"
|
301
316
|
},
|
@@ -311,6 +326,12 @@
|
|
311
326
|
"deviceRecipeCount": {
|
312
327
|
"type": "integer"
|
313
328
|
},
|
329
|
+
"eventCount": {
|
330
|
+
"type": "integer"
|
331
|
+
},
|
332
|
+
"experienceDomainCount": {
|
333
|
+
"type": "integer"
|
334
|
+
},
|
314
335
|
"experienceEndpointCount": {
|
315
336
|
"type": "integer"
|
316
337
|
},
|
@@ -341,9 +362,21 @@
|
|
341
362
|
"keyCount": {
|
342
363
|
"type": "integer"
|
343
364
|
},
|
365
|
+
"notebookCount": {
|
366
|
+
"type": "integer"
|
367
|
+
},
|
368
|
+
"resourceJobCount": {
|
369
|
+
"type": "integer"
|
370
|
+
},
|
371
|
+
"webhookCount": {
|
372
|
+
"type": "integer"
|
373
|
+
},
|
344
374
|
"orgCount": {
|
345
375
|
"type": "integer"
|
346
376
|
},
|
377
|
+
"instanceCount": {
|
378
|
+
"type": "integer"
|
379
|
+
},
|
347
380
|
"payloadCount": {
|
348
381
|
"title": "Payload Stats",
|
349
382
|
"description": "Schema for the result of a payload stats request",
|
@@ -490,8 +523,19 @@
|
|
490
523
|
}
|
491
524
|
}
|
492
525
|
},
|
493
|
-
"
|
494
|
-
"type": "
|
526
|
+
"notebookStats": {
|
527
|
+
"type": "object",
|
528
|
+
"properties": {
|
529
|
+
"awaitingCompletion": {
|
530
|
+
"type": "integer"
|
531
|
+
},
|
532
|
+
"minutesThisPeriod": {
|
533
|
+
"type": "integer"
|
534
|
+
},
|
535
|
+
"runsThisPeriod": {
|
536
|
+
"type": "integer"
|
537
|
+
}
|
538
|
+
}
|
495
539
|
}
|
496
540
|
}
|
497
541
|
},
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"properties": {
|
5
|
+
"twoFactorCode": {
|
6
|
+
"type": "string",
|
7
|
+
"maxLength": 2048
|
8
|
+
},
|
9
|
+
"password": {
|
10
|
+
"type": "string",
|
11
|
+
"minLength": 8,
|
12
|
+
"maxLength": 2048
|
13
|
+
}
|
14
|
+
},
|
15
|
+
"required": [
|
16
|
+
"password",
|
17
|
+
"twoFactorCode"
|
18
|
+
],
|
19
|
+
"additionalProperties": false
|
20
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"properties": {
|
5
|
+
"twoFactorAuthKey": {
|
6
|
+
"type": "string",
|
7
|
+
"minLength": 52,
|
8
|
+
"maxLength": 52
|
9
|
+
},
|
10
|
+
"password": {
|
11
|
+
"type": "string",
|
12
|
+
"minLength": 8,
|
13
|
+
"maxLength": 2048
|
14
|
+
},
|
15
|
+
"twoFactorCode": {
|
16
|
+
"type": "string",
|
17
|
+
"maxLength": 2048
|
18
|
+
}
|
19
|
+
},
|
20
|
+
"required": [
|
21
|
+
"password",
|
22
|
+
"twoFactorCode"
|
23
|
+
],
|
24
|
+
"additionalProperties": false
|
25
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"properties": {
|
5
|
+
"key": {
|
6
|
+
"type": "string",
|
7
|
+
"maxLength": 1024
|
8
|
+
},
|
9
|
+
"keyUri": {
|
10
|
+
"type": "string",
|
11
|
+
"maxLength": 1024
|
12
|
+
}
|
13
|
+
},
|
14
|
+
"additionalProperties": false
|
15
|
+
}
|
data/schemas/org.json
CHANGED
@@ -137,6 +137,14 @@
|
|
137
137
|
"type": "integer",
|
138
138
|
"minimum": 0
|
139
139
|
},
|
140
|
+
"applicationcertificate": {
|
141
|
+
"type": "integer",
|
142
|
+
"minimum": 0
|
143
|
+
},
|
144
|
+
"applicationcertificateauthority": {
|
145
|
+
"type": "integer",
|
146
|
+
"minimum": 0
|
147
|
+
},
|
140
148
|
"applicationkey": {
|
141
149
|
"type": "integer",
|
142
150
|
"minimum": 0
|
@@ -248,6 +256,11 @@
|
|
248
256
|
"applicationFlowSlots": {
|
249
257
|
"type": "integer",
|
250
258
|
"minimum": 0
|
259
|
+
},
|
260
|
+
"systemInterval": {
|
261
|
+
"type": "integer",
|
262
|
+
"minimum": 5,
|
263
|
+
"maximum": 3600
|
251
264
|
}
|
252
265
|
},
|
253
266
|
"additionalProperties": false
|
@@ -261,6 +274,12 @@
|
|
261
274
|
"appCount": {
|
262
275
|
"type": "integer"
|
263
276
|
},
|
277
|
+
"certificateCount": {
|
278
|
+
"type": "integer"
|
279
|
+
},
|
280
|
+
"certificateAuthorityCount": {
|
281
|
+
"type": "integer"
|
282
|
+
},
|
264
283
|
"credentialCount": {
|
265
284
|
"type": "integer"
|
266
285
|
},
|
@@ -276,6 +295,9 @@
|
|
276
295
|
"deviceRecipeCount": {
|
277
296
|
"type": "integer"
|
278
297
|
},
|
298
|
+
"eventCount": {
|
299
|
+
"type": "integer"
|
300
|
+
},
|
279
301
|
"experienceDomainCount": {
|
280
302
|
"type": "integer"
|
281
303
|
},
|
@@ -309,9 +331,21 @@
|
|
309
331
|
"keyCount": {
|
310
332
|
"type": "integer"
|
311
333
|
},
|
334
|
+
"notebookCount": {
|
335
|
+
"type": "integer"
|
336
|
+
},
|
337
|
+
"resourceJobCount": {
|
338
|
+
"type": "integer"
|
339
|
+
},
|
340
|
+
"webhookCount": {
|
341
|
+
"type": "integer"
|
342
|
+
},
|
312
343
|
"memberCount": {
|
313
344
|
"type": "integer"
|
314
345
|
},
|
346
|
+
"pendingInviteCount": {
|
347
|
+
"type": "integer"
|
348
|
+
},
|
315
349
|
"payloadCount": {
|
316
350
|
"title": "Payload Stats",
|
317
351
|
"description": "Schema for the result of a payload stats request",
|
@@ -447,9 +481,6 @@
|
|
447
481
|
}
|
448
482
|
}
|
449
483
|
},
|
450
|
-
"pendingInviteCount": {
|
451
|
-
"type": "integer"
|
452
|
-
},
|
453
484
|
"storageStats": {
|
454
485
|
"type": "object",
|
455
486
|
"properties": {
|
@@ -461,8 +492,19 @@
|
|
461
492
|
}
|
462
493
|
}
|
463
494
|
},
|
464
|
-
"
|
465
|
-
"type": "
|
495
|
+
"notebookStats": {
|
496
|
+
"type": "object",
|
497
|
+
"properties": {
|
498
|
+
"awaitingCompletion": {
|
499
|
+
"type": "integer"
|
500
|
+
},
|
501
|
+
"minutesThisPeriod": {
|
502
|
+
"type": "integer"
|
503
|
+
},
|
504
|
+
"runsThisPeriod": {
|
505
|
+
"type": "integer"
|
506
|
+
}
|
507
|
+
}
|
466
508
|
}
|
467
509
|
}
|
468
510
|
},
|
@@ -524,6 +566,14 @@
|
|
524
566
|
},
|
525
567
|
"isReadOnly": {
|
526
568
|
"type": "boolean"
|
569
|
+
},
|
570
|
+
"mfaMode": {
|
571
|
+
"type": "string",
|
572
|
+
"enum": [
|
573
|
+
"notRequired",
|
574
|
+
"adminRequired",
|
575
|
+
"required"
|
576
|
+
]
|
527
577
|
}
|
528
578
|
}
|
529
579
|
}
|
data/schemas/orgPatch.json
CHANGED
data/schemas/orgPost.json
CHANGED
data/schemas/orgs.json
CHANGED
@@ -144,6 +144,14 @@
|
|
144
144
|
"type": "integer",
|
145
145
|
"minimum": 0
|
146
146
|
},
|
147
|
+
"applicationcertificate": {
|
148
|
+
"type": "integer",
|
149
|
+
"minimum": 0
|
150
|
+
},
|
151
|
+
"applicationcertificateauthority": {
|
152
|
+
"type": "integer",
|
153
|
+
"minimum": 0
|
154
|
+
},
|
147
155
|
"applicationkey": {
|
148
156
|
"type": "integer",
|
149
157
|
"minimum": 0
|
@@ -255,6 +263,11 @@
|
|
255
263
|
"applicationFlowSlots": {
|
256
264
|
"type": "integer",
|
257
265
|
"minimum": 0
|
266
|
+
},
|
267
|
+
"systemInterval": {
|
268
|
+
"type": "integer",
|
269
|
+
"minimum": 5,
|
270
|
+
"maximum": 3600
|
258
271
|
}
|
259
272
|
},
|
260
273
|
"additionalProperties": false
|
@@ -268,6 +281,12 @@
|
|
268
281
|
"appCount": {
|
269
282
|
"type": "integer"
|
270
283
|
},
|
284
|
+
"certificateCount": {
|
285
|
+
"type": "integer"
|
286
|
+
},
|
287
|
+
"certificateAuthorityCount": {
|
288
|
+
"type": "integer"
|
289
|
+
},
|
271
290
|
"credentialCount": {
|
272
291
|
"type": "integer"
|
273
292
|
},
|
@@ -283,6 +302,9 @@
|
|
283
302
|
"deviceRecipeCount": {
|
284
303
|
"type": "integer"
|
285
304
|
},
|
305
|
+
"eventCount": {
|
306
|
+
"type": "integer"
|
307
|
+
},
|
286
308
|
"experienceDomainCount": {
|
287
309
|
"type": "integer"
|
288
310
|
},
|
@@ -316,9 +338,21 @@
|
|
316
338
|
"keyCount": {
|
317
339
|
"type": "integer"
|
318
340
|
},
|
341
|
+
"notebookCount": {
|
342
|
+
"type": "integer"
|
343
|
+
},
|
344
|
+
"resourceJobCount": {
|
345
|
+
"type": "integer"
|
346
|
+
},
|
347
|
+
"webhookCount": {
|
348
|
+
"type": "integer"
|
349
|
+
},
|
319
350
|
"memberCount": {
|
320
351
|
"type": "integer"
|
321
352
|
},
|
353
|
+
"pendingInviteCount": {
|
354
|
+
"type": "integer"
|
355
|
+
},
|
322
356
|
"payloadCount": {
|
323
357
|
"title": "Payload Stats",
|
324
358
|
"description": "Schema for the result of a payload stats request",
|
@@ -454,9 +488,6 @@
|
|
454
488
|
}
|
455
489
|
}
|
456
490
|
},
|
457
|
-
"pendingInviteCount": {
|
458
|
-
"type": "integer"
|
459
|
-
},
|
460
491
|
"storageStats": {
|
461
492
|
"type": "object",
|
462
493
|
"properties": {
|
@@ -468,8 +499,19 @@
|
|
468
499
|
}
|
469
500
|
}
|
470
501
|
},
|
471
|
-
"
|
472
|
-
"type": "
|
502
|
+
"notebookStats": {
|
503
|
+
"type": "object",
|
504
|
+
"properties": {
|
505
|
+
"awaitingCompletion": {
|
506
|
+
"type": "integer"
|
507
|
+
},
|
508
|
+
"minutesThisPeriod": {
|
509
|
+
"type": "integer"
|
510
|
+
},
|
511
|
+
"runsThisPeriod": {
|
512
|
+
"type": "integer"
|
513
|
+
}
|
514
|
+
}
|
473
515
|
}
|
474
516
|
}
|
475
517
|
},
|
@@ -531,6 +573,14 @@
|
|
531
573
|
},
|
532
574
|
"isReadOnly": {
|
533
575
|
"type": "boolean"
|
576
|
+
},
|
577
|
+
"mfaMode": {
|
578
|
+
"type": "string",
|
579
|
+
"enum": [
|
580
|
+
"notRequired",
|
581
|
+
"adminRequired",
|
582
|
+
"required"
|
583
|
+
]
|
534
584
|
}
|
535
585
|
}
|
536
586
|
}
|
data/schemas/timeSeriesData.json
CHANGED
@@ -11,7 +11,10 @@
|
|
11
11
|
"format": "date-time"
|
12
12
|
},
|
13
13
|
"resolution": {
|
14
|
-
"type":
|
14
|
+
"type": [
|
15
|
+
"number",
|
16
|
+
"null"
|
17
|
+
]
|
15
18
|
},
|
16
19
|
"aggregation": {
|
17
20
|
"oneOf": [
|
@@ -117,6 +120,19 @@
|
|
117
120
|
}
|
118
121
|
]
|
119
122
|
},
|
123
|
+
"limit": {
|
124
|
+
"type": [
|
125
|
+
"number",
|
126
|
+
"null"
|
127
|
+
]
|
128
|
+
},
|
129
|
+
"order": {
|
130
|
+
"type": "string",
|
131
|
+
"enum": [
|
132
|
+
"asc",
|
133
|
+
"desc"
|
134
|
+
]
|
135
|
+
},
|
120
136
|
"devices": {
|
121
137
|
"type": "object",
|
122
138
|
"patternProperties": {
|
@@ -128,6 +144,20 @@
|
|
128
144
|
"minLength": 1,
|
129
145
|
"maxLength": 255
|
130
146
|
},
|
147
|
+
"tags": {
|
148
|
+
"type": "object",
|
149
|
+
"patternProperties": {
|
150
|
+
"^[0-9a-zA-Z_-]{1,255}$": {
|
151
|
+
"type": "array",
|
152
|
+
"items": {
|
153
|
+
"type": "string",
|
154
|
+
"minLength": 1,
|
155
|
+
"maxLength": 255
|
156
|
+
}
|
157
|
+
}
|
158
|
+
},
|
159
|
+
"additionalProperties": false
|
160
|
+
},
|
131
161
|
"points": {
|
132
162
|
"type": "array",
|
133
163
|
"items": {
|
@@ -162,7 +192,8 @@
|
|
162
192
|
"additionalProperties": false,
|
163
193
|
"required": [
|
164
194
|
"name",
|
165
|
-
"points"
|
195
|
+
"points",
|
196
|
+
"tags"
|
166
197
|
]
|
167
198
|
}
|
168
199
|
},
|
@@ -175,6 +206,8 @@
|
|
175
206
|
"end",
|
176
207
|
"resolution",
|
177
208
|
"aggregation",
|
209
|
+
"limit",
|
210
|
+
"order",
|
178
211
|
"devices"
|
179
212
|
]
|
180
213
|
}
|