losant_rest 1.20.1 → 1.21.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +140 -14
- data/docs/_schemas.md +3150 -646
- data/docs/application.md +1 -0
- data/docs/devices.md +45 -2
- data/docs/instance.md +41 -0
- data/docs/instanceNotificationRule.md +219 -0
- data/docs/instanceNotificationRules.md +91 -0
- data/docs/instanceOrg.md +49 -5
- data/docs/instanceSandbox.md +179 -3
- data/docs/me.md +1 -0
- data/docs/org.md +1 -0
- data/lib/platform_rest/application.rb +2 -0
- data/lib/platform_rest/client.rb +10 -2
- data/lib/platform_rest/devices.rb +52 -2
- data/lib/platform_rest/instance.rb +50 -0
- data/lib/platform_rest/instance_notification_rule.rb +275 -0
- data/lib/platform_rest/instance_notification_rules.rb +136 -0
- data/lib/platform_rest/instance_org.rb +57 -5
- data/lib/platform_rest/instance_sandbox.rb +211 -3
- data/lib/platform_rest/me.rb +2 -0
- data/lib/platform_rest/org.rb +2 -0
- data/lib/platform_rest/version.rb +1 -1
- data/lib/platform_rest.rb +2 -0
- data/schemas/advancedDeviceQuery.json +103 -0
- data/schemas/apiTokenPost.json +16 -0
- data/schemas/applicationSearchResult.json +46 -6
- data/schemas/bulkRestoreResponse.json +12 -0
- data/schemas/credentialLinkedResources.json +12 -0
- data/schemas/dataExport.json +103 -0
- data/schemas/device.json +4 -0
- data/schemas/devices.json +4 -0
- data/schemas/devicesDeleteOrRestorePost.json +2061 -0
- data/schemas/devicesExportPayloadCountPost.json +103 -0
- data/schemas/devicesExportPost.json +103 -0
- data/schemas/devicesPatch.json +103 -0
- data/schemas/devicesRemoveDataPost.json +103 -0
- data/schemas/experienceEndpoint.json +6 -1
- data/schemas/experienceEndpointPatch.json +6 -1
- data/schemas/experienceEndpointPost.json +6 -1
- data/schemas/experienceEndpoints.json +6 -1
- data/schemas/experienceLinkedResources.json +18 -1
- data/schemas/flow.json +4 -0
- data/schemas/flowPatch.json +4 -0
- data/schemas/flowPost.json +4 -0
- data/schemas/flowVersion.json +8 -0
- data/schemas/flowVersionPost.json +4 -0
- data/schemas/flowVersions.json +8 -0
- data/schemas/flows.json +4 -0
- data/schemas/flowsImportPost.json +8 -0
- data/schemas/flowsImportResult.json +12 -0
- data/schemas/githubLogin.json +16 -0
- data/schemas/instance.json +9 -0
- data/schemas/instanceAuditLog.json +2 -1
- data/schemas/instanceAuditLogFilter.json +2 -1
- data/schemas/instanceOrg.json +4 -0
- data/schemas/instanceOrgs.json +4 -0
- data/schemas/instances.json +9 -0
- data/schemas/lastValueQuery.json +103 -0
- data/schemas/multiDeviceCommand.json +103 -0
- data/schemas/notificationRule.json +161 -0
- data/schemas/notificationRuleDeliveryLogs.json +123 -0
- data/schemas/notificationRuleEvaluationOptions.json +10 -0
- data/schemas/notificationRulePatch.json +128 -0
- data/schemas/notificationRulePost.json +140 -0
- data/schemas/notificationRules.json +212 -0
- data/schemas/samlResponse.json +16 -0
- data/schemas/timeSeriesQuery.json +103 -0
- data/schemas/userCredentials.json +16 -0
- data/schemas/userPost.json +16 -0
- metadata +14 -2
@@ -349,6 +349,109 @@
|
|
349
349
|
}
|
350
350
|
]
|
351
351
|
},
|
352
|
+
"deletedAt": {
|
353
|
+
"oneOf": [
|
354
|
+
{
|
355
|
+
"type": [
|
356
|
+
"string",
|
357
|
+
"number",
|
358
|
+
"boolean",
|
359
|
+
"null"
|
360
|
+
]
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"type": "object",
|
364
|
+
"properties": {
|
365
|
+
"$eq": {
|
366
|
+
"type": [
|
367
|
+
"string",
|
368
|
+
"number",
|
369
|
+
"boolean",
|
370
|
+
"null"
|
371
|
+
]
|
372
|
+
},
|
373
|
+
"$ne": {
|
374
|
+
"type": [
|
375
|
+
"string",
|
376
|
+
"number",
|
377
|
+
"boolean",
|
378
|
+
"null"
|
379
|
+
]
|
380
|
+
},
|
381
|
+
"$gt": {
|
382
|
+
"type": [
|
383
|
+
"string",
|
384
|
+
"number",
|
385
|
+
"boolean",
|
386
|
+
"null"
|
387
|
+
]
|
388
|
+
},
|
389
|
+
"$lt": {
|
390
|
+
"type": [
|
391
|
+
"string",
|
392
|
+
"number",
|
393
|
+
"boolean",
|
394
|
+
"null"
|
395
|
+
]
|
396
|
+
},
|
397
|
+
"$gte": {
|
398
|
+
"type": [
|
399
|
+
"string",
|
400
|
+
"number",
|
401
|
+
"boolean",
|
402
|
+
"null"
|
403
|
+
]
|
404
|
+
},
|
405
|
+
"$lte": {
|
406
|
+
"type": [
|
407
|
+
"string",
|
408
|
+
"number",
|
409
|
+
"boolean",
|
410
|
+
"null"
|
411
|
+
]
|
412
|
+
},
|
413
|
+
"$startsWith": {
|
414
|
+
"type": "string",
|
415
|
+
"minLength": 1
|
416
|
+
},
|
417
|
+
"$endsWith": {
|
418
|
+
"type": "string",
|
419
|
+
"minLength": 1
|
420
|
+
},
|
421
|
+
"$contains": {
|
422
|
+
"type": "string",
|
423
|
+
"minLength": 1
|
424
|
+
},
|
425
|
+
"$ci": {
|
426
|
+
"type": "boolean"
|
427
|
+
},
|
428
|
+
"$in": {
|
429
|
+
"type": "array",
|
430
|
+
"maxItems": 100,
|
431
|
+
"items": {
|
432
|
+
"type": [
|
433
|
+
"string",
|
434
|
+
"number",
|
435
|
+
"boolean"
|
436
|
+
]
|
437
|
+
}
|
438
|
+
},
|
439
|
+
"$nin": {
|
440
|
+
"type": "array",
|
441
|
+
"maxItems": 100,
|
442
|
+
"items": {
|
443
|
+
"type": [
|
444
|
+
"string",
|
445
|
+
"number",
|
446
|
+
"boolean"
|
447
|
+
]
|
448
|
+
}
|
449
|
+
}
|
450
|
+
},
|
451
|
+
"additionalProperties": false
|
452
|
+
}
|
453
|
+
]
|
454
|
+
},
|
352
455
|
"name": {
|
353
456
|
"oneOf": [
|
354
457
|
{
|
@@ -349,6 +349,109 @@
|
|
349
349
|
}
|
350
350
|
]
|
351
351
|
},
|
352
|
+
"deletedAt": {
|
353
|
+
"oneOf": [
|
354
|
+
{
|
355
|
+
"type": [
|
356
|
+
"string",
|
357
|
+
"number",
|
358
|
+
"boolean",
|
359
|
+
"null"
|
360
|
+
]
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"type": "object",
|
364
|
+
"properties": {
|
365
|
+
"$eq": {
|
366
|
+
"type": [
|
367
|
+
"string",
|
368
|
+
"number",
|
369
|
+
"boolean",
|
370
|
+
"null"
|
371
|
+
]
|
372
|
+
},
|
373
|
+
"$ne": {
|
374
|
+
"type": [
|
375
|
+
"string",
|
376
|
+
"number",
|
377
|
+
"boolean",
|
378
|
+
"null"
|
379
|
+
]
|
380
|
+
},
|
381
|
+
"$gt": {
|
382
|
+
"type": [
|
383
|
+
"string",
|
384
|
+
"number",
|
385
|
+
"boolean",
|
386
|
+
"null"
|
387
|
+
]
|
388
|
+
},
|
389
|
+
"$lt": {
|
390
|
+
"type": [
|
391
|
+
"string",
|
392
|
+
"number",
|
393
|
+
"boolean",
|
394
|
+
"null"
|
395
|
+
]
|
396
|
+
},
|
397
|
+
"$gte": {
|
398
|
+
"type": [
|
399
|
+
"string",
|
400
|
+
"number",
|
401
|
+
"boolean",
|
402
|
+
"null"
|
403
|
+
]
|
404
|
+
},
|
405
|
+
"$lte": {
|
406
|
+
"type": [
|
407
|
+
"string",
|
408
|
+
"number",
|
409
|
+
"boolean",
|
410
|
+
"null"
|
411
|
+
]
|
412
|
+
},
|
413
|
+
"$startsWith": {
|
414
|
+
"type": "string",
|
415
|
+
"minLength": 1
|
416
|
+
},
|
417
|
+
"$endsWith": {
|
418
|
+
"type": "string",
|
419
|
+
"minLength": 1
|
420
|
+
},
|
421
|
+
"$contains": {
|
422
|
+
"type": "string",
|
423
|
+
"minLength": 1
|
424
|
+
},
|
425
|
+
"$ci": {
|
426
|
+
"type": "boolean"
|
427
|
+
},
|
428
|
+
"$in": {
|
429
|
+
"type": "array",
|
430
|
+
"maxItems": 100,
|
431
|
+
"items": {
|
432
|
+
"type": [
|
433
|
+
"string",
|
434
|
+
"number",
|
435
|
+
"boolean"
|
436
|
+
]
|
437
|
+
}
|
438
|
+
},
|
439
|
+
"$nin": {
|
440
|
+
"type": "array",
|
441
|
+
"maxItems": 100,
|
442
|
+
"items": {
|
443
|
+
"type": [
|
444
|
+
"string",
|
445
|
+
"number",
|
446
|
+
"boolean"
|
447
|
+
]
|
448
|
+
}
|
449
|
+
}
|
450
|
+
},
|
451
|
+
"additionalProperties": false
|
452
|
+
}
|
453
|
+
]
|
454
|
+
},
|
352
455
|
"name": {
|
353
456
|
"oneOf": [
|
354
457
|
{
|
data/schemas/devicesPatch.json
CHANGED
@@ -551,6 +551,109 @@
|
|
551
551
|
}
|
552
552
|
]
|
553
553
|
},
|
554
|
+
"deletedAt": {
|
555
|
+
"oneOf": [
|
556
|
+
{
|
557
|
+
"type": [
|
558
|
+
"string",
|
559
|
+
"number",
|
560
|
+
"boolean",
|
561
|
+
"null"
|
562
|
+
]
|
563
|
+
},
|
564
|
+
{
|
565
|
+
"type": "object",
|
566
|
+
"properties": {
|
567
|
+
"$eq": {
|
568
|
+
"type": [
|
569
|
+
"string",
|
570
|
+
"number",
|
571
|
+
"boolean",
|
572
|
+
"null"
|
573
|
+
]
|
574
|
+
},
|
575
|
+
"$ne": {
|
576
|
+
"type": [
|
577
|
+
"string",
|
578
|
+
"number",
|
579
|
+
"boolean",
|
580
|
+
"null"
|
581
|
+
]
|
582
|
+
},
|
583
|
+
"$gt": {
|
584
|
+
"type": [
|
585
|
+
"string",
|
586
|
+
"number",
|
587
|
+
"boolean",
|
588
|
+
"null"
|
589
|
+
]
|
590
|
+
},
|
591
|
+
"$lt": {
|
592
|
+
"type": [
|
593
|
+
"string",
|
594
|
+
"number",
|
595
|
+
"boolean",
|
596
|
+
"null"
|
597
|
+
]
|
598
|
+
},
|
599
|
+
"$gte": {
|
600
|
+
"type": [
|
601
|
+
"string",
|
602
|
+
"number",
|
603
|
+
"boolean",
|
604
|
+
"null"
|
605
|
+
]
|
606
|
+
},
|
607
|
+
"$lte": {
|
608
|
+
"type": [
|
609
|
+
"string",
|
610
|
+
"number",
|
611
|
+
"boolean",
|
612
|
+
"null"
|
613
|
+
]
|
614
|
+
},
|
615
|
+
"$startsWith": {
|
616
|
+
"type": "string",
|
617
|
+
"minLength": 1
|
618
|
+
},
|
619
|
+
"$endsWith": {
|
620
|
+
"type": "string",
|
621
|
+
"minLength": 1
|
622
|
+
},
|
623
|
+
"$contains": {
|
624
|
+
"type": "string",
|
625
|
+
"minLength": 1
|
626
|
+
},
|
627
|
+
"$ci": {
|
628
|
+
"type": "boolean"
|
629
|
+
},
|
630
|
+
"$in": {
|
631
|
+
"type": "array",
|
632
|
+
"maxItems": 100,
|
633
|
+
"items": {
|
634
|
+
"type": [
|
635
|
+
"string",
|
636
|
+
"number",
|
637
|
+
"boolean"
|
638
|
+
]
|
639
|
+
}
|
640
|
+
},
|
641
|
+
"$nin": {
|
642
|
+
"type": "array",
|
643
|
+
"maxItems": 100,
|
644
|
+
"items": {
|
645
|
+
"type": [
|
646
|
+
"string",
|
647
|
+
"number",
|
648
|
+
"boolean"
|
649
|
+
]
|
650
|
+
}
|
651
|
+
}
|
652
|
+
},
|
653
|
+
"additionalProperties": false
|
654
|
+
}
|
655
|
+
]
|
656
|
+
},
|
554
657
|
"name": {
|
555
658
|
"oneOf": [
|
556
659
|
{
|
@@ -339,6 +339,109 @@
|
|
339
339
|
}
|
340
340
|
]
|
341
341
|
},
|
342
|
+
"deletedAt": {
|
343
|
+
"oneOf": [
|
344
|
+
{
|
345
|
+
"type": [
|
346
|
+
"string",
|
347
|
+
"number",
|
348
|
+
"boolean",
|
349
|
+
"null"
|
350
|
+
]
|
351
|
+
},
|
352
|
+
{
|
353
|
+
"type": "object",
|
354
|
+
"properties": {
|
355
|
+
"$eq": {
|
356
|
+
"type": [
|
357
|
+
"string",
|
358
|
+
"number",
|
359
|
+
"boolean",
|
360
|
+
"null"
|
361
|
+
]
|
362
|
+
},
|
363
|
+
"$ne": {
|
364
|
+
"type": [
|
365
|
+
"string",
|
366
|
+
"number",
|
367
|
+
"boolean",
|
368
|
+
"null"
|
369
|
+
]
|
370
|
+
},
|
371
|
+
"$gt": {
|
372
|
+
"type": [
|
373
|
+
"string",
|
374
|
+
"number",
|
375
|
+
"boolean",
|
376
|
+
"null"
|
377
|
+
]
|
378
|
+
},
|
379
|
+
"$lt": {
|
380
|
+
"type": [
|
381
|
+
"string",
|
382
|
+
"number",
|
383
|
+
"boolean",
|
384
|
+
"null"
|
385
|
+
]
|
386
|
+
},
|
387
|
+
"$gte": {
|
388
|
+
"type": [
|
389
|
+
"string",
|
390
|
+
"number",
|
391
|
+
"boolean",
|
392
|
+
"null"
|
393
|
+
]
|
394
|
+
},
|
395
|
+
"$lte": {
|
396
|
+
"type": [
|
397
|
+
"string",
|
398
|
+
"number",
|
399
|
+
"boolean",
|
400
|
+
"null"
|
401
|
+
]
|
402
|
+
},
|
403
|
+
"$startsWith": {
|
404
|
+
"type": "string",
|
405
|
+
"minLength": 1
|
406
|
+
},
|
407
|
+
"$endsWith": {
|
408
|
+
"type": "string",
|
409
|
+
"minLength": 1
|
410
|
+
},
|
411
|
+
"$contains": {
|
412
|
+
"type": "string",
|
413
|
+
"minLength": 1
|
414
|
+
},
|
415
|
+
"$ci": {
|
416
|
+
"type": "boolean"
|
417
|
+
},
|
418
|
+
"$in": {
|
419
|
+
"type": "array",
|
420
|
+
"maxItems": 100,
|
421
|
+
"items": {
|
422
|
+
"type": [
|
423
|
+
"string",
|
424
|
+
"number",
|
425
|
+
"boolean"
|
426
|
+
]
|
427
|
+
}
|
428
|
+
},
|
429
|
+
"$nin": {
|
430
|
+
"type": "array",
|
431
|
+
"maxItems": 100,
|
432
|
+
"items": {
|
433
|
+
"type": [
|
434
|
+
"string",
|
435
|
+
"number",
|
436
|
+
"boolean"
|
437
|
+
]
|
438
|
+
}
|
439
|
+
}
|
440
|
+
},
|
441
|
+
"additionalProperties": false
|
442
|
+
}
|
443
|
+
]
|
444
|
+
},
|
342
445
|
"name": {
|
343
446
|
"oneOf": [
|
344
447
|
{
|
@@ -245,9 +245,14 @@
|
|
245
245
|
"enum": [
|
246
246
|
"public",
|
247
247
|
"authenticated",
|
248
|
-
"group"
|
248
|
+
"group",
|
249
|
+
"device"
|
249
250
|
]
|
250
251
|
},
|
252
|
+
"deviceIdTemplate": {
|
253
|
+
"type": "string",
|
254
|
+
"maxLength": 255
|
255
|
+
},
|
251
256
|
"endpointTags": {
|
252
257
|
"type": "object",
|
253
258
|
"patternProperties": {
|
@@ -780,6 +785,10 @@
|
|
780
785
|
}
|
781
786
|
},
|
782
787
|
"maxItems": 100
|
788
|
+
},
|
789
|
+
"configName": {
|
790
|
+
"type": "string",
|
791
|
+
"maxLength": 1024
|
783
792
|
}
|
784
793
|
},
|
785
794
|
"additionalProperties": false
|
@@ -3907,6 +3916,10 @@
|
|
3907
3916
|
}
|
3908
3917
|
},
|
3909
3918
|
"maxItems": 100
|
3919
|
+
},
|
3920
|
+
"configName": {
|
3921
|
+
"type": "string",
|
3922
|
+
"maxLength": 1024
|
3910
3923
|
}
|
3911
3924
|
},
|
3912
3925
|
"additionalProperties": false
|
@@ -6943,6 +6956,10 @@
|
|
6943
6956
|
}
|
6944
6957
|
},
|
6945
6958
|
"maxItems": 100
|
6959
|
+
},
|
6960
|
+
"configName": {
|
6961
|
+
"type": "string",
|
6962
|
+
"maxLength": 1024
|
6946
6963
|
}
|
6947
6964
|
},
|
6948
6965
|
"additionalProperties": false
|
data/schemas/flow.json
CHANGED
data/schemas/flowPatch.json
CHANGED
data/schemas/flowPost.json
CHANGED
data/schemas/flowVersion.json
CHANGED
@@ -364,6 +364,10 @@
|
|
364
364
|
}
|
365
365
|
},
|
366
366
|
"maxItems": 100
|
367
|
+
},
|
368
|
+
"configName": {
|
369
|
+
"type": "string",
|
370
|
+
"maxLength": 1024
|
367
371
|
}
|
368
372
|
},
|
369
373
|
"additionalProperties": false
|
@@ -3400,6 +3404,10 @@
|
|
3400
3404
|
}
|
3401
3405
|
},
|
3402
3406
|
"maxItems": 100
|
3407
|
+
},
|
3408
|
+
"configName": {
|
3409
|
+
"type": "string",
|
3410
|
+
"maxLength": 1024
|
3403
3411
|
}
|
3404
3412
|
},
|
3405
3413
|
"additionalProperties": false
|
data/schemas/flowVersions.json
CHANGED
@@ -371,6 +371,10 @@
|
|
371
371
|
}
|
372
372
|
},
|
373
373
|
"maxItems": 100
|
374
|
+
},
|
375
|
+
"configName": {
|
376
|
+
"type": "string",
|
377
|
+
"maxLength": 1024
|
374
378
|
}
|
375
379
|
},
|
376
380
|
"additionalProperties": false
|
@@ -3407,6 +3411,10 @@
|
|
3407
3411
|
}
|
3408
3412
|
},
|
3409
3413
|
"maxItems": 100
|
3414
|
+
},
|
3415
|
+
"configName": {
|
3416
|
+
"type": "string",
|
3417
|
+
"maxLength": 1024
|
3410
3418
|
}
|
3411
3419
|
},
|
3412
3420
|
"additionalProperties": false
|
data/schemas/flows.json
CHANGED
@@ -349,6 +349,10 @@
|
|
349
349
|
}
|
350
350
|
},
|
351
351
|
"maxItems": 100
|
352
|
+
},
|
353
|
+
"configName": {
|
354
|
+
"type": "string",
|
355
|
+
"maxLength": 1024
|
352
356
|
}
|
353
357
|
},
|
354
358
|
"additionalProperties": false
|
@@ -3374,6 +3378,10 @@
|
|
3374
3378
|
}
|
3375
3379
|
},
|
3376
3380
|
"maxItems": 100
|
3381
|
+
},
|
3382
|
+
"configName": {
|
3383
|
+
"type": "string",
|
3384
|
+
"maxLength": 1024
|
3377
3385
|
}
|
3378
3386
|
},
|
3379
3387
|
"additionalProperties": false
|