losant_rest 1.19.7 → 1.19.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +30 -0
- data/README.md +2 -2
- data/docs/_schemas.md +3986 -227
- data/docs/devices.md +0 -1
- data/docs/instanceOrgs.md +1 -0
- data/lib/platform_rest/client.rb +2 -2
- data/lib/platform_rest/devices.rb +0 -1
- data/lib/platform_rest/instance_orgs.rb +3 -0
- data/lib/platform_rest/version.rb +1 -1
- data/schemas/advancedInstanceOrgQuery.json +1171 -0
- data/schemas/application.json +20 -4
- data/schemas/applicationCreationByTemplateResult.json +20 -4
- data/schemas/applicationDashboardPost.json +7 -0
- data/schemas/applicationTemplate.json +4 -0
- data/schemas/applicationTemplates.json +4 -0
- data/schemas/applications.json +20 -4
- data/schemas/credential.json +13 -1
- data/schemas/credentialLinkedResources.json +330 -18
- data/schemas/credentialPatch.json +22 -0
- data/schemas/credentialPost.json +31 -1
- data/schemas/credentials.json +13 -1
- data/schemas/dashboard.json +7 -0
- data/schemas/dashboardPatch.json +7 -0
- data/schemas/dashboardPost.json +7 -0
- data/schemas/dashboards.json +7 -0
- data/schemas/devicesExportPost.json +8 -0
- data/schemas/devicesRemoveDataPost.json +10 -0
- data/schemas/experienceLinkedResources.json +341 -18
- data/schemas/experienceView.json +11 -0
- data/schemas/experienceViewPatch.json +11 -0
- data/schemas/experienceViewPost.json +11 -0
- data/schemas/experienceViews.json +11 -0
- data/schemas/flow.json +110 -6
- data/schemas/flowPatch.json +110 -6
- data/schemas/flowPost.json +110 -6
- data/schemas/flowVersion.json +220 -12
- data/schemas/flowVersionPost.json +110 -6
- data/schemas/flowVersions.json +220 -12
- data/schemas/flows.json +110 -6
- data/schemas/flowsImportPost.json +220 -12
- data/schemas/flowsImportResult.json +330 -18
- data/schemas/historicalSummaries.json +40 -8
- data/schemas/historicalSummary.json +40 -8
- data/schemas/instanceCustomNodePatch.json +8 -6
- data/schemas/instanceCustomNodePost.json +8 -6
- data/schemas/instanceOrg.json +20 -4
- data/schemas/instanceOrgs.json +20 -4
- data/schemas/instanceSandbox.json +20 -4
- data/schemas/instanceSandboxes.json +20 -4
- data/schemas/me.json +20 -4
- data/schemas/notebook.json +8 -0
- data/schemas/notebookPatch.json +8 -0
- data/schemas/notebookPost.json +8 -0
- data/schemas/notebooks.json +8 -0
- data/schemas/org.json +20 -4
- data/schemas/orgs.json +20 -4
- data/schemas/payloadStats.json +20 -4
- data/schemas/webhook.json +13 -0
- data/schemas/webhookPatch.json +13 -0
- data/schemas/webhookPost.json +13 -0
- data/schemas/webhooks.json +13 -0
- metadata +4 -3
- data/.travis.yml +0 -7
@@ -304,6 +304,14 @@
|
|
304
304
|
"description": "Schema for the result of a payload stats request",
|
305
305
|
"type": "object",
|
306
306
|
"properties": {
|
307
|
+
"appFile": {
|
308
|
+
"type": "object",
|
309
|
+
"patternProperties": {
|
310
|
+
".*": {
|
311
|
+
"type": "number"
|
312
|
+
}
|
313
|
+
}
|
314
|
+
},
|
307
315
|
"dataTable": {
|
308
316
|
"type": "object",
|
309
317
|
"patternProperties": {
|
@@ -368,6 +376,14 @@
|
|
368
376
|
}
|
369
377
|
}
|
370
378
|
},
|
379
|
+
"inboundEmail": {
|
380
|
+
"type": "object",
|
381
|
+
"patternProperties": {
|
382
|
+
".*": {
|
383
|
+
"type": "number"
|
384
|
+
}
|
385
|
+
}
|
386
|
+
},
|
371
387
|
"integration": {
|
372
388
|
"type": "object",
|
373
389
|
"patternProperties": {
|
@@ -400,7 +416,7 @@
|
|
400
416
|
}
|
401
417
|
}
|
402
418
|
},
|
403
|
-
"
|
419
|
+
"resourceJob": {
|
404
420
|
"type": "object",
|
405
421
|
"patternProperties": {
|
406
422
|
".*": {
|
@@ -408,7 +424,7 @@
|
|
408
424
|
}
|
409
425
|
}
|
410
426
|
},
|
411
|
-
"
|
427
|
+
"timer": {
|
412
428
|
"type": "object",
|
413
429
|
"patternProperties": {
|
414
430
|
".*": {
|
@@ -416,7 +432,7 @@
|
|
416
432
|
}
|
417
433
|
}
|
418
434
|
},
|
419
|
-
"
|
435
|
+
"virtualButton": {
|
420
436
|
"type": "object",
|
421
437
|
"patternProperties": {
|
422
438
|
".*": {
|
@@ -424,7 +440,7 @@
|
|
424
440
|
}
|
425
441
|
}
|
426
442
|
},
|
427
|
-
"
|
443
|
+
"webhook": {
|
428
444
|
"type": "object",
|
429
445
|
"patternProperties": {
|
430
446
|
".*": {
|
@@ -439,6 +455,14 @@
|
|
439
455
|
"description": "Schema for the result of a payload stats request",
|
440
456
|
"type": "object",
|
441
457
|
"properties": {
|
458
|
+
"appFile": {
|
459
|
+
"type": "object",
|
460
|
+
"patternProperties": {
|
461
|
+
".*": {
|
462
|
+
"type": "number"
|
463
|
+
}
|
464
|
+
}
|
465
|
+
},
|
442
466
|
"dataTable": {
|
443
467
|
"type": "object",
|
444
468
|
"patternProperties": {
|
@@ -503,6 +527,14 @@
|
|
503
527
|
}
|
504
528
|
}
|
505
529
|
},
|
530
|
+
"inboundEmail": {
|
531
|
+
"type": "object",
|
532
|
+
"patternProperties": {
|
533
|
+
".*": {
|
534
|
+
"type": "number"
|
535
|
+
}
|
536
|
+
}
|
537
|
+
},
|
506
538
|
"integration": {
|
507
539
|
"type": "object",
|
508
540
|
"patternProperties": {
|
@@ -535,7 +567,7 @@
|
|
535
567
|
}
|
536
568
|
}
|
537
569
|
},
|
538
|
-
"
|
570
|
+
"resourceJob": {
|
539
571
|
"type": "object",
|
540
572
|
"patternProperties": {
|
541
573
|
".*": {
|
@@ -543,7 +575,7 @@
|
|
543
575
|
}
|
544
576
|
}
|
545
577
|
},
|
546
|
-
"
|
578
|
+
"timer": {
|
547
579
|
"type": "object",
|
548
580
|
"patternProperties": {
|
549
581
|
".*": {
|
@@ -551,7 +583,7 @@
|
|
551
583
|
}
|
552
584
|
}
|
553
585
|
},
|
554
|
-
"
|
586
|
+
"virtualButton": {
|
555
587
|
"type": "object",
|
556
588
|
"patternProperties": {
|
557
589
|
".*": {
|
@@ -559,7 +591,7 @@
|
|
559
591
|
}
|
560
592
|
}
|
561
593
|
},
|
562
|
-
"
|
594
|
+
"webhook": {
|
563
595
|
"type": "object",
|
564
596
|
"patternProperties": {
|
565
597
|
".*": {
|
@@ -66,15 +66,16 @@
|
|
66
66
|
"deviceTagConnect",
|
67
67
|
"deviceIdDisconnect",
|
68
68
|
"deviceTagDisconnect",
|
69
|
+
"inboundEmail",
|
69
70
|
"notebook",
|
70
71
|
"onBoot",
|
71
72
|
"onConnect",
|
72
73
|
"onDisconnect",
|
73
|
-
"
|
74
|
-
"webhook",
|
74
|
+
"resourceJobComplete",
|
75
75
|
"resourceJobIteration",
|
76
76
|
"resourceJobIterationTimeout",
|
77
|
-
"
|
77
|
+
"udp",
|
78
|
+
"webhook"
|
78
79
|
]
|
79
80
|
},
|
80
81
|
"config": {
|
@@ -99,15 +100,16 @@
|
|
99
100
|
"deviceIdsTagsDisconnect",
|
100
101
|
"eeaInit",
|
101
102
|
"flowError",
|
103
|
+
"inboundEmail",
|
102
104
|
"notebook",
|
103
105
|
"onBoot",
|
104
106
|
"onConnect",
|
105
107
|
"onDisconnect",
|
106
|
-
"
|
107
|
-
"webhook",
|
108
|
+
"resourceJobComplete",
|
108
109
|
"resourceJobIteration",
|
109
110
|
"resourceJobIterationTimeout",
|
110
|
-
"
|
111
|
+
"udp",
|
112
|
+
"webhook"
|
111
113
|
]
|
112
114
|
},
|
113
115
|
"label": {
|
@@ -66,15 +66,16 @@
|
|
66
66
|
"deviceTagConnect",
|
67
67
|
"deviceIdDisconnect",
|
68
68
|
"deviceTagDisconnect",
|
69
|
+
"inboundEmail",
|
69
70
|
"notebook",
|
70
71
|
"onBoot",
|
71
72
|
"onConnect",
|
72
73
|
"onDisconnect",
|
73
|
-
"
|
74
|
-
"webhook",
|
74
|
+
"resourceJobComplete",
|
75
75
|
"resourceJobIteration",
|
76
76
|
"resourceJobIterationTimeout",
|
77
|
-
"
|
77
|
+
"udp",
|
78
|
+
"webhook"
|
78
79
|
]
|
79
80
|
},
|
80
81
|
"config": {
|
@@ -99,15 +100,16 @@
|
|
99
100
|
"deviceIdsTagsDisconnect",
|
100
101
|
"eeaInit",
|
101
102
|
"flowError",
|
103
|
+
"inboundEmail",
|
102
104
|
"notebook",
|
103
105
|
"onBoot",
|
104
106
|
"onConnect",
|
105
107
|
"onDisconnect",
|
106
|
-
"
|
107
|
-
"webhook",
|
108
|
+
"resourceJobComplete",
|
108
109
|
"resourceJobIteration",
|
109
110
|
"resourceJobIterationTimeout",
|
110
|
-
"
|
111
|
+
"udp",
|
112
|
+
"webhook"
|
111
113
|
]
|
112
114
|
},
|
113
115
|
"label": {
|
data/schemas/instanceOrg.json
CHANGED
@@ -256,6 +256,14 @@
|
|
256
256
|
"description": "Schema for the result of a payload stats request",
|
257
257
|
"type": "object",
|
258
258
|
"properties": {
|
259
|
+
"appFile": {
|
260
|
+
"type": "object",
|
261
|
+
"patternProperties": {
|
262
|
+
".*": {
|
263
|
+
"type": "number"
|
264
|
+
}
|
265
|
+
}
|
266
|
+
},
|
259
267
|
"dataTable": {
|
260
268
|
"type": "object",
|
261
269
|
"patternProperties": {
|
@@ -320,6 +328,14 @@
|
|
320
328
|
}
|
321
329
|
}
|
322
330
|
},
|
331
|
+
"inboundEmail": {
|
332
|
+
"type": "object",
|
333
|
+
"patternProperties": {
|
334
|
+
".*": {
|
335
|
+
"type": "number"
|
336
|
+
}
|
337
|
+
}
|
338
|
+
},
|
323
339
|
"integration": {
|
324
340
|
"type": "object",
|
325
341
|
"patternProperties": {
|
@@ -352,7 +368,7 @@
|
|
352
368
|
}
|
353
369
|
}
|
354
370
|
},
|
355
|
-
"
|
371
|
+
"resourceJob": {
|
356
372
|
"type": "object",
|
357
373
|
"patternProperties": {
|
358
374
|
".*": {
|
@@ -360,7 +376,7 @@
|
|
360
376
|
}
|
361
377
|
}
|
362
378
|
},
|
363
|
-
"
|
379
|
+
"timer": {
|
364
380
|
"type": "object",
|
365
381
|
"patternProperties": {
|
366
382
|
".*": {
|
@@ -368,7 +384,7 @@
|
|
368
384
|
}
|
369
385
|
}
|
370
386
|
},
|
371
|
-
"
|
387
|
+
"virtualButton": {
|
372
388
|
"type": "object",
|
373
389
|
"patternProperties": {
|
374
390
|
".*": {
|
@@ -376,7 +392,7 @@
|
|
376
392
|
}
|
377
393
|
}
|
378
394
|
},
|
379
|
-
"
|
395
|
+
"webhook": {
|
380
396
|
"type": "object",
|
381
397
|
"patternProperties": {
|
382
398
|
".*": {
|
data/schemas/instanceOrgs.json
CHANGED
@@ -263,6 +263,14 @@
|
|
263
263
|
"description": "Schema for the result of a payload stats request",
|
264
264
|
"type": "object",
|
265
265
|
"properties": {
|
266
|
+
"appFile": {
|
267
|
+
"type": "object",
|
268
|
+
"patternProperties": {
|
269
|
+
".*": {
|
270
|
+
"type": "number"
|
271
|
+
}
|
272
|
+
}
|
273
|
+
},
|
266
274
|
"dataTable": {
|
267
275
|
"type": "object",
|
268
276
|
"patternProperties": {
|
@@ -327,6 +335,14 @@
|
|
327
335
|
}
|
328
336
|
}
|
329
337
|
},
|
338
|
+
"inboundEmail": {
|
339
|
+
"type": "object",
|
340
|
+
"patternProperties": {
|
341
|
+
".*": {
|
342
|
+
"type": "number"
|
343
|
+
}
|
344
|
+
}
|
345
|
+
},
|
330
346
|
"integration": {
|
331
347
|
"type": "object",
|
332
348
|
"patternProperties": {
|
@@ -359,7 +375,7 @@
|
|
359
375
|
}
|
360
376
|
}
|
361
377
|
},
|
362
|
-
"
|
378
|
+
"resourceJob": {
|
363
379
|
"type": "object",
|
364
380
|
"patternProperties": {
|
365
381
|
".*": {
|
@@ -367,7 +383,7 @@
|
|
367
383
|
}
|
368
384
|
}
|
369
385
|
},
|
370
|
-
"
|
386
|
+
"timer": {
|
371
387
|
"type": "object",
|
372
388
|
"patternProperties": {
|
373
389
|
".*": {
|
@@ -375,7 +391,7 @@
|
|
375
391
|
}
|
376
392
|
}
|
377
393
|
},
|
378
|
-
"
|
394
|
+
"virtualButton": {
|
379
395
|
"type": "object",
|
380
396
|
"patternProperties": {
|
381
397
|
".*": {
|
@@ -383,7 +399,7 @@
|
|
383
399
|
}
|
384
400
|
}
|
385
401
|
},
|
386
|
-
"
|
402
|
+
"webhook": {
|
387
403
|
"type": "object",
|
388
404
|
"patternProperties": {
|
389
405
|
".*": {
|
@@ -291,6 +291,14 @@
|
|
291
291
|
"description": "Schema for the result of a payload stats request",
|
292
292
|
"type": "object",
|
293
293
|
"properties": {
|
294
|
+
"appFile": {
|
295
|
+
"type": "object",
|
296
|
+
"patternProperties": {
|
297
|
+
".*": {
|
298
|
+
"type": "number"
|
299
|
+
}
|
300
|
+
}
|
301
|
+
},
|
294
302
|
"dataTable": {
|
295
303
|
"type": "object",
|
296
304
|
"patternProperties": {
|
@@ -355,6 +363,14 @@
|
|
355
363
|
}
|
356
364
|
}
|
357
365
|
},
|
366
|
+
"inboundEmail": {
|
367
|
+
"type": "object",
|
368
|
+
"patternProperties": {
|
369
|
+
".*": {
|
370
|
+
"type": "number"
|
371
|
+
}
|
372
|
+
}
|
373
|
+
},
|
358
374
|
"integration": {
|
359
375
|
"type": "object",
|
360
376
|
"patternProperties": {
|
@@ -387,7 +403,7 @@
|
|
387
403
|
}
|
388
404
|
}
|
389
405
|
},
|
390
|
-
"
|
406
|
+
"resourceJob": {
|
391
407
|
"type": "object",
|
392
408
|
"patternProperties": {
|
393
409
|
".*": {
|
@@ -395,7 +411,7 @@
|
|
395
411
|
}
|
396
412
|
}
|
397
413
|
},
|
398
|
-
"
|
414
|
+
"timer": {
|
399
415
|
"type": "object",
|
400
416
|
"patternProperties": {
|
401
417
|
".*": {
|
@@ -403,7 +419,7 @@
|
|
403
419
|
}
|
404
420
|
}
|
405
421
|
},
|
406
|
-
"
|
422
|
+
"virtualButton": {
|
407
423
|
"type": "object",
|
408
424
|
"patternProperties": {
|
409
425
|
".*": {
|
@@ -411,7 +427,7 @@
|
|
411
427
|
}
|
412
428
|
}
|
413
429
|
},
|
414
|
-
"
|
430
|
+
"webhook": {
|
415
431
|
"type": "object",
|
416
432
|
"patternProperties": {
|
417
433
|
".*": {
|
@@ -298,6 +298,14 @@
|
|
298
298
|
"description": "Schema for the result of a payload stats request",
|
299
299
|
"type": "object",
|
300
300
|
"properties": {
|
301
|
+
"appFile": {
|
302
|
+
"type": "object",
|
303
|
+
"patternProperties": {
|
304
|
+
".*": {
|
305
|
+
"type": "number"
|
306
|
+
}
|
307
|
+
}
|
308
|
+
},
|
301
309
|
"dataTable": {
|
302
310
|
"type": "object",
|
303
311
|
"patternProperties": {
|
@@ -362,6 +370,14 @@
|
|
362
370
|
}
|
363
371
|
}
|
364
372
|
},
|
373
|
+
"inboundEmail": {
|
374
|
+
"type": "object",
|
375
|
+
"patternProperties": {
|
376
|
+
".*": {
|
377
|
+
"type": "number"
|
378
|
+
}
|
379
|
+
}
|
380
|
+
},
|
365
381
|
"integration": {
|
366
382
|
"type": "object",
|
367
383
|
"patternProperties": {
|
@@ -394,7 +410,7 @@
|
|
394
410
|
}
|
395
411
|
}
|
396
412
|
},
|
397
|
-
"
|
413
|
+
"resourceJob": {
|
398
414
|
"type": "object",
|
399
415
|
"patternProperties": {
|
400
416
|
".*": {
|
@@ -402,7 +418,7 @@
|
|
402
418
|
}
|
403
419
|
}
|
404
420
|
},
|
405
|
-
"
|
421
|
+
"timer": {
|
406
422
|
"type": "object",
|
407
423
|
"patternProperties": {
|
408
424
|
".*": {
|
@@ -410,7 +426,7 @@
|
|
410
426
|
}
|
411
427
|
}
|
412
428
|
},
|
413
|
-
"
|
429
|
+
"virtualButton": {
|
414
430
|
"type": "object",
|
415
431
|
"patternProperties": {
|
416
432
|
".*": {
|
@@ -418,7 +434,7 @@
|
|
418
434
|
}
|
419
435
|
}
|
420
436
|
},
|
421
|
-
"
|
437
|
+
"webhook": {
|
422
438
|
"type": "object",
|
423
439
|
"patternProperties": {
|
424
440
|
".*": {
|
data/schemas/me.json
CHANGED
@@ -382,6 +382,14 @@
|
|
382
382
|
"description": "Schema for the result of a payload stats request",
|
383
383
|
"type": "object",
|
384
384
|
"properties": {
|
385
|
+
"appFile": {
|
386
|
+
"type": "object",
|
387
|
+
"patternProperties": {
|
388
|
+
".*": {
|
389
|
+
"type": "number"
|
390
|
+
}
|
391
|
+
}
|
392
|
+
},
|
385
393
|
"dataTable": {
|
386
394
|
"type": "object",
|
387
395
|
"patternProperties": {
|
@@ -446,6 +454,14 @@
|
|
446
454
|
}
|
447
455
|
}
|
448
456
|
},
|
457
|
+
"inboundEmail": {
|
458
|
+
"type": "object",
|
459
|
+
"patternProperties": {
|
460
|
+
".*": {
|
461
|
+
"type": "number"
|
462
|
+
}
|
463
|
+
}
|
464
|
+
},
|
449
465
|
"integration": {
|
450
466
|
"type": "object",
|
451
467
|
"patternProperties": {
|
@@ -478,7 +494,7 @@
|
|
478
494
|
}
|
479
495
|
}
|
480
496
|
},
|
481
|
-
"
|
497
|
+
"resourceJob": {
|
482
498
|
"type": "object",
|
483
499
|
"patternProperties": {
|
484
500
|
".*": {
|
@@ -486,7 +502,7 @@
|
|
486
502
|
}
|
487
503
|
}
|
488
504
|
},
|
489
|
-
"
|
505
|
+
"timer": {
|
490
506
|
"type": "object",
|
491
507
|
"patternProperties": {
|
492
508
|
".*": {
|
@@ -494,7 +510,7 @@
|
|
494
510
|
}
|
495
511
|
}
|
496
512
|
},
|
497
|
-
"
|
513
|
+
"virtualButton": {
|
498
514
|
"type": "object",
|
499
515
|
"patternProperties": {
|
500
516
|
".*": {
|
@@ -502,7 +518,7 @@
|
|
502
518
|
}
|
503
519
|
}
|
504
520
|
},
|
505
|
-
"
|
521
|
+
"webhook": {
|
506
522
|
"type": "object",
|
507
523
|
"patternProperties": {
|
508
524
|
".*": {
|
data/schemas/notebook.json
CHANGED
data/schemas/notebookPatch.json
CHANGED
data/schemas/notebookPost.json
CHANGED
data/schemas/notebooks.json
CHANGED
data/schemas/org.json
CHANGED
@@ -351,6 +351,14 @@
|
|
351
351
|
"description": "Schema for the result of a payload stats request",
|
352
352
|
"type": "object",
|
353
353
|
"properties": {
|
354
|
+
"appFile": {
|
355
|
+
"type": "object",
|
356
|
+
"patternProperties": {
|
357
|
+
".*": {
|
358
|
+
"type": "number"
|
359
|
+
}
|
360
|
+
}
|
361
|
+
},
|
354
362
|
"dataTable": {
|
355
363
|
"type": "object",
|
356
364
|
"patternProperties": {
|
@@ -415,6 +423,14 @@
|
|
415
423
|
}
|
416
424
|
}
|
417
425
|
},
|
426
|
+
"inboundEmail": {
|
427
|
+
"type": "object",
|
428
|
+
"patternProperties": {
|
429
|
+
".*": {
|
430
|
+
"type": "number"
|
431
|
+
}
|
432
|
+
}
|
433
|
+
},
|
418
434
|
"integration": {
|
419
435
|
"type": "object",
|
420
436
|
"patternProperties": {
|
@@ -447,7 +463,7 @@
|
|
447
463
|
}
|
448
464
|
}
|
449
465
|
},
|
450
|
-
"
|
466
|
+
"resourceJob": {
|
451
467
|
"type": "object",
|
452
468
|
"patternProperties": {
|
453
469
|
".*": {
|
@@ -455,7 +471,7 @@
|
|
455
471
|
}
|
456
472
|
}
|
457
473
|
},
|
458
|
-
"
|
474
|
+
"timer": {
|
459
475
|
"type": "object",
|
460
476
|
"patternProperties": {
|
461
477
|
".*": {
|
@@ -463,7 +479,7 @@
|
|
463
479
|
}
|
464
480
|
}
|
465
481
|
},
|
466
|
-
"
|
482
|
+
"virtualButton": {
|
467
483
|
"type": "object",
|
468
484
|
"patternProperties": {
|
469
485
|
".*": {
|
@@ -471,7 +487,7 @@
|
|
471
487
|
}
|
472
488
|
}
|
473
489
|
},
|
474
|
-
"
|
490
|
+
"webhook": {
|
475
491
|
"type": "object",
|
476
492
|
"patternProperties": {
|
477
493
|
".*": {
|