losant_rest 1.21.0 → 1.21.2
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/README.md +1 -1
- data/docs/_schemas.md +1180 -72
- data/docs/application.md +1 -0
- data/docs/devices.md +45 -2
- data/docs/instance.md +41 -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 +2 -2
- data/lib/platform_rest/devices.rb +52 -2
- data/lib/platform_rest/instance.rb +50 -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/schemas/advancedDeviceQuery.json +103 -0
- data/schemas/apiTokenPost.json +7 -0
- data/schemas/bulkRestoreResponse.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/githubLogin.json +7 -0
- data/schemas/lastValueQuery.json +103 -0
- data/schemas/multiDeviceCommand.json +103 -0
- data/schemas/samlResponse.json +7 -0
- data/schemas/timeSeriesQuery.json +103 -0
- data/schemas/userCredentials.json +7 -0
- data/schemas/userPost.json +7 -0
- metadata +4 -2
data/schemas/samlResponse.json
CHANGED
@@ -182,6 +182,7 @@
|
|
182
182
|
"devices.attributeNames",
|
183
183
|
"devices.patch",
|
184
184
|
"devices.delete",
|
185
|
+
"devices.restore",
|
185
186
|
"devices.removeData",
|
186
187
|
"devices.detailedSummary",
|
187
188
|
"devices.deviceNames",
|
@@ -376,6 +377,7 @@
|
|
376
377
|
"instance.patch",
|
377
378
|
"instance.historicalSummaries",
|
378
379
|
"instance.generateReport",
|
380
|
+
"instance.payloadCounts",
|
379
381
|
"instance.payloadCountsBreakdown",
|
380
382
|
"instance.deviceCounts",
|
381
383
|
"instance.notebookMinuteCounts",
|
@@ -383,6 +385,7 @@
|
|
383
385
|
"instanceOrg.get",
|
384
386
|
"instanceOrg.patch",
|
385
387
|
"instanceOrg.delete",
|
388
|
+
"instanceOrg.payloadCounts",
|
386
389
|
"instanceOrg.payloadCountsBreakdown",
|
387
390
|
"instanceOrg.deviceCounts",
|
388
391
|
"instanceOrg.notebookMinuteCounts",
|
@@ -440,6 +443,10 @@
|
|
440
443
|
"instanceSandbox.get",
|
441
444
|
"instanceSandbox.delete",
|
442
445
|
"instanceSandbox.undelete",
|
446
|
+
"instanceSandbox.payloadCounts",
|
447
|
+
"instanceSandbox.payloadCountsBreakdown",
|
448
|
+
"instanceSandbox.deviceCounts",
|
449
|
+
"instanceSandbox.notebookMinuteCounts",
|
443
450
|
"instanceSandboxes.*",
|
444
451
|
"instanceSandboxes.get",
|
445
452
|
"instanceAuditLog.*",
|
@@ -489,6 +489,109 @@
|
|
489
489
|
}
|
490
490
|
]
|
491
491
|
},
|
492
|
+
"deletedAt": {
|
493
|
+
"oneOf": [
|
494
|
+
{
|
495
|
+
"type": [
|
496
|
+
"string",
|
497
|
+
"number",
|
498
|
+
"boolean",
|
499
|
+
"null"
|
500
|
+
]
|
501
|
+
},
|
502
|
+
{
|
503
|
+
"type": "object",
|
504
|
+
"properties": {
|
505
|
+
"$eq": {
|
506
|
+
"type": [
|
507
|
+
"string",
|
508
|
+
"number",
|
509
|
+
"boolean",
|
510
|
+
"null"
|
511
|
+
]
|
512
|
+
},
|
513
|
+
"$ne": {
|
514
|
+
"type": [
|
515
|
+
"string",
|
516
|
+
"number",
|
517
|
+
"boolean",
|
518
|
+
"null"
|
519
|
+
]
|
520
|
+
},
|
521
|
+
"$gt": {
|
522
|
+
"type": [
|
523
|
+
"string",
|
524
|
+
"number",
|
525
|
+
"boolean",
|
526
|
+
"null"
|
527
|
+
]
|
528
|
+
},
|
529
|
+
"$lt": {
|
530
|
+
"type": [
|
531
|
+
"string",
|
532
|
+
"number",
|
533
|
+
"boolean",
|
534
|
+
"null"
|
535
|
+
]
|
536
|
+
},
|
537
|
+
"$gte": {
|
538
|
+
"type": [
|
539
|
+
"string",
|
540
|
+
"number",
|
541
|
+
"boolean",
|
542
|
+
"null"
|
543
|
+
]
|
544
|
+
},
|
545
|
+
"$lte": {
|
546
|
+
"type": [
|
547
|
+
"string",
|
548
|
+
"number",
|
549
|
+
"boolean",
|
550
|
+
"null"
|
551
|
+
]
|
552
|
+
},
|
553
|
+
"$startsWith": {
|
554
|
+
"type": "string",
|
555
|
+
"minLength": 1
|
556
|
+
},
|
557
|
+
"$endsWith": {
|
558
|
+
"type": "string",
|
559
|
+
"minLength": 1
|
560
|
+
},
|
561
|
+
"$contains": {
|
562
|
+
"type": "string",
|
563
|
+
"minLength": 1
|
564
|
+
},
|
565
|
+
"$ci": {
|
566
|
+
"type": "boolean"
|
567
|
+
},
|
568
|
+
"$in": {
|
569
|
+
"type": "array",
|
570
|
+
"maxItems": 100,
|
571
|
+
"items": {
|
572
|
+
"type": [
|
573
|
+
"string",
|
574
|
+
"number",
|
575
|
+
"boolean"
|
576
|
+
]
|
577
|
+
}
|
578
|
+
},
|
579
|
+
"$nin": {
|
580
|
+
"type": "array",
|
581
|
+
"maxItems": 100,
|
582
|
+
"items": {
|
583
|
+
"type": [
|
584
|
+
"string",
|
585
|
+
"number",
|
586
|
+
"boolean"
|
587
|
+
]
|
588
|
+
}
|
589
|
+
}
|
590
|
+
},
|
591
|
+
"additionalProperties": false
|
592
|
+
}
|
593
|
+
]
|
594
|
+
},
|
492
595
|
"name": {
|
493
596
|
"oneOf": [
|
494
597
|
{
|
@@ -186,6 +186,7 @@
|
|
186
186
|
"devices.attributeNames",
|
187
187
|
"devices.patch",
|
188
188
|
"devices.delete",
|
189
|
+
"devices.restore",
|
189
190
|
"devices.removeData",
|
190
191
|
"devices.detailedSummary",
|
191
192
|
"devices.deviceNames",
|
@@ -380,6 +381,7 @@
|
|
380
381
|
"instance.patch",
|
381
382
|
"instance.historicalSummaries",
|
382
383
|
"instance.generateReport",
|
384
|
+
"instance.payloadCounts",
|
383
385
|
"instance.payloadCountsBreakdown",
|
384
386
|
"instance.deviceCounts",
|
385
387
|
"instance.notebookMinuteCounts",
|
@@ -387,6 +389,7 @@
|
|
387
389
|
"instanceOrg.get",
|
388
390
|
"instanceOrg.patch",
|
389
391
|
"instanceOrg.delete",
|
392
|
+
"instanceOrg.payloadCounts",
|
390
393
|
"instanceOrg.payloadCountsBreakdown",
|
391
394
|
"instanceOrg.deviceCounts",
|
392
395
|
"instanceOrg.notebookMinuteCounts",
|
@@ -444,6 +447,10 @@
|
|
444
447
|
"instanceSandbox.get",
|
445
448
|
"instanceSandbox.delete",
|
446
449
|
"instanceSandbox.undelete",
|
450
|
+
"instanceSandbox.payloadCounts",
|
451
|
+
"instanceSandbox.payloadCountsBreakdown",
|
452
|
+
"instanceSandbox.deviceCounts",
|
453
|
+
"instanceSandbox.notebookMinuteCounts",
|
447
454
|
"instanceSandboxes.*",
|
448
455
|
"instanceSandboxes.get",
|
449
456
|
"instanceAuditLog.*",
|
data/schemas/userPost.json
CHANGED
@@ -244,6 +244,7 @@
|
|
244
244
|
"devices.attributeNames",
|
245
245
|
"devices.patch",
|
246
246
|
"devices.delete",
|
247
|
+
"devices.restore",
|
247
248
|
"devices.removeData",
|
248
249
|
"devices.detailedSummary",
|
249
250
|
"devices.deviceNames",
|
@@ -438,6 +439,7 @@
|
|
438
439
|
"instance.patch",
|
439
440
|
"instance.historicalSummaries",
|
440
441
|
"instance.generateReport",
|
442
|
+
"instance.payloadCounts",
|
441
443
|
"instance.payloadCountsBreakdown",
|
442
444
|
"instance.deviceCounts",
|
443
445
|
"instance.notebookMinuteCounts",
|
@@ -445,6 +447,7 @@
|
|
445
447
|
"instanceOrg.get",
|
446
448
|
"instanceOrg.patch",
|
447
449
|
"instanceOrg.delete",
|
450
|
+
"instanceOrg.payloadCounts",
|
448
451
|
"instanceOrg.payloadCountsBreakdown",
|
449
452
|
"instanceOrg.deviceCounts",
|
450
453
|
"instanceOrg.notebookMinuteCounts",
|
@@ -502,6 +505,10 @@
|
|
502
505
|
"instanceSandbox.get",
|
503
506
|
"instanceSandbox.delete",
|
504
507
|
"instanceSandbox.undelete",
|
508
|
+
"instanceSandbox.payloadCounts",
|
509
|
+
"instanceSandbox.payloadCountsBreakdown",
|
510
|
+
"instanceSandbox.deviceCounts",
|
511
|
+
"instanceSandbox.notebookMinuteCounts",
|
505
512
|
"instanceSandboxes.*",
|
506
513
|
"instanceSandboxes.get",
|
507
514
|
"instanceAuditLog.*",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: losant_rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.21.
|
4
|
+
version: 1.21.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Kuehl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -328,6 +328,7 @@ files:
|
|
328
328
|
- schemas/authedDevice.json
|
329
329
|
- schemas/authedUser.json
|
330
330
|
- schemas/bulkDeleteResponse.json
|
331
|
+
- schemas/bulkRestoreResponse.json
|
331
332
|
- schemas/changePassword.json
|
332
333
|
- schemas/compositeDeviceState.json
|
333
334
|
- schemas/compositeDevicesState.json
|
@@ -385,6 +386,7 @@ files:
|
|
385
386
|
- schemas/deviceTagFilter.json
|
386
387
|
- schemas/devices.json
|
387
388
|
- schemas/devicesDataRemoved.json
|
389
|
+
- schemas/devicesDeleteOrRestorePost.json
|
388
390
|
- schemas/devicesDeletePost.json
|
389
391
|
- schemas/devicesDeleted.json
|
390
392
|
- schemas/devicesExportPayloadCountPost.json
|