losant_rest 1.19.8 → 1.20.0
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 +1 -1
- data/docs/_schemas.md +9774 -1641
- data/lib/platform_rest/client.rb +2 -2
- data/lib/platform_rest/version.rb +1 -1
- data/losant_rest.gemspec +2 -2
- data/schemas/advancedApplicationKeyQuery.json +360 -18
- data/schemas/advancedDeviceQuery.json +360 -18
- data/schemas/advancedEventQuery.json +360 -18
- data/schemas/advancedExperienceGroupQuery.json +360 -18
- data/schemas/advancedExperienceUserQuery.json +360 -18
- data/schemas/advancedInstanceOrgQuery.json +360 -18
- data/schemas/apiTokenPost.json +1 -1
- data/schemas/application.json +28 -4
- data/schemas/applicationCreationByTemplateResult.json +28 -4
- data/schemas/applicationDashboardPost.json +2 -1
- data/schemas/applicationTemplate.json +4 -0
- data/schemas/applicationTemplates.json +4 -0
- data/schemas/applications.json +28 -4
- data/schemas/credential.json +7 -1
- data/schemas/credentialLinkedResources.json +336 -18
- data/schemas/credentialPatch.json +11 -0
- data/schemas/credentialPost.json +16 -1
- data/schemas/credentials.json +7 -1
- data/schemas/dashboard.json +2 -1
- data/schemas/dashboardPatch.json +2 -1
- data/schemas/dashboardPost.json +2 -1
- data/schemas/dashboards.json +2 -1
- data/schemas/dataExport.json +360 -18
- data/schemas/devicesDeletePost.json +360 -18
- data/schemas/devicesExportPayloadCountPost.json +360 -18
- data/schemas/devicesExportPost.json +360 -18
- data/schemas/devicesPatch.json +360 -18
- data/schemas/devicesRemoveDataPost.json +360 -18
- data/schemas/eventsExport.json +360 -18
- data/schemas/experienceLinkedResources.json +336 -18
- data/schemas/flow.json +112 -6
- data/schemas/flowPatch.json +112 -6
- data/schemas/flowPost.json +112 -6
- data/schemas/flowVersion.json +224 -12
- data/schemas/flowVersionPost.json +112 -6
- data/schemas/flowVersions.json +224 -12
- data/schemas/flows.json +112 -6
- data/schemas/flowsImportPost.json +224 -12
- data/schemas/flowsImportResult.json +336 -18
- data/schemas/githubLogin.json +1 -1
- data/schemas/historicalSummaries.json +56 -8
- data/schemas/historicalSummary.json +56 -8
- data/schemas/instanceCustomNodePatch.json +10 -6
- data/schemas/instanceCustomNodePost.json +10 -6
- data/schemas/instanceOrg.json +63 -4
- data/schemas/instanceOrgs.json +63 -4
- data/schemas/instanceSandbox.json +28 -4
- data/schemas/instanceSandboxes.json +28 -4
- data/schemas/lastValueQuery.json +360 -18
- data/schemas/me.json +28 -4
- data/schemas/multiDeviceCommand.json +360 -18
- data/schemas/org.json +28 -4
- data/schemas/orgs.json +28 -4
- data/schemas/payloadStats.json +28 -4
- data/schemas/samlResponse.json +1 -1
- data/schemas/timeSeriesQuery.json +360 -18
- data/schemas/userCredentials.json +1 -1
- data/schemas/userPost.json +1 -1
- 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 +5 -5
data/schemas/lastValueQuery.json
CHANGED
@@ -1212,12 +1212,88 @@
|
|
1212
1212
|
"type": "object",
|
1213
1213
|
"properties": {
|
1214
1214
|
"$tagKey": {
|
1215
|
-
"
|
1216
|
-
|
1215
|
+
"oneOf": [
|
1216
|
+
{
|
1217
|
+
"type": "string",
|
1218
|
+
"maxLength": 255
|
1219
|
+
},
|
1220
|
+
{
|
1221
|
+
"type": "object",
|
1222
|
+
"properties": {
|
1223
|
+
"$in": {
|
1224
|
+
"type": "array",
|
1225
|
+
"maxItems": 100,
|
1226
|
+
"items": {
|
1227
|
+
"type": "string",
|
1228
|
+
"maxLength": 255
|
1229
|
+
}
|
1230
|
+
}
|
1231
|
+
},
|
1232
|
+
"required": [
|
1233
|
+
"$in"
|
1234
|
+
],
|
1235
|
+
"additionalProperties": false
|
1236
|
+
},
|
1237
|
+
{
|
1238
|
+
"type": "object",
|
1239
|
+
"properties": {
|
1240
|
+
"$nin": {
|
1241
|
+
"type": "array",
|
1242
|
+
"maxItems": 100,
|
1243
|
+
"items": {
|
1244
|
+
"type": "string",
|
1245
|
+
"maxLength": 255
|
1246
|
+
}
|
1247
|
+
}
|
1248
|
+
},
|
1249
|
+
"required": [
|
1250
|
+
"$nin"
|
1251
|
+
],
|
1252
|
+
"additionalProperties": false
|
1253
|
+
}
|
1254
|
+
]
|
1217
1255
|
},
|
1218
1256
|
"$tagValue": {
|
1219
|
-
"
|
1220
|
-
|
1257
|
+
"oneOf": [
|
1258
|
+
{
|
1259
|
+
"type": "string",
|
1260
|
+
"maxLength": 255
|
1261
|
+
},
|
1262
|
+
{
|
1263
|
+
"type": "object",
|
1264
|
+
"properties": {
|
1265
|
+
"$in": {
|
1266
|
+
"type": "array",
|
1267
|
+
"maxItems": 100,
|
1268
|
+
"items": {
|
1269
|
+
"type": "string",
|
1270
|
+
"maxLength": 255
|
1271
|
+
}
|
1272
|
+
}
|
1273
|
+
},
|
1274
|
+
"required": [
|
1275
|
+
"$in"
|
1276
|
+
],
|
1277
|
+
"additionalProperties": false
|
1278
|
+
},
|
1279
|
+
{
|
1280
|
+
"type": "object",
|
1281
|
+
"properties": {
|
1282
|
+
"$nin": {
|
1283
|
+
"type": "array",
|
1284
|
+
"maxItems": 100,
|
1285
|
+
"items": {
|
1286
|
+
"type": "string",
|
1287
|
+
"maxLength": 255
|
1288
|
+
}
|
1289
|
+
}
|
1290
|
+
},
|
1291
|
+
"required": [
|
1292
|
+
"$nin"
|
1293
|
+
],
|
1294
|
+
"additionalProperties": false
|
1295
|
+
}
|
1296
|
+
]
|
1221
1297
|
}
|
1222
1298
|
},
|
1223
1299
|
"additionalProperties": false,
|
@@ -1227,8 +1303,46 @@
|
|
1227
1303
|
"type": "object",
|
1228
1304
|
"patternProperties": {
|
1229
1305
|
"^[0-9a-zA-Z_-]{1,255}": {
|
1230
|
-
"
|
1231
|
-
|
1306
|
+
"oneOf": [
|
1307
|
+
{
|
1308
|
+
"type": "string",
|
1309
|
+
"maxLength": 255
|
1310
|
+
},
|
1311
|
+
{
|
1312
|
+
"type": "object",
|
1313
|
+
"properties": {
|
1314
|
+
"$in": {
|
1315
|
+
"type": "array",
|
1316
|
+
"maxItems": 100,
|
1317
|
+
"items": {
|
1318
|
+
"type": "string",
|
1319
|
+
"maxLength": 255
|
1320
|
+
}
|
1321
|
+
}
|
1322
|
+
},
|
1323
|
+
"required": [
|
1324
|
+
"$in"
|
1325
|
+
],
|
1326
|
+
"additionalProperties": false
|
1327
|
+
},
|
1328
|
+
{
|
1329
|
+
"type": "object",
|
1330
|
+
"properties": {
|
1331
|
+
"$nin": {
|
1332
|
+
"type": "array",
|
1333
|
+
"maxItems": 100,
|
1334
|
+
"items": {
|
1335
|
+
"type": "string",
|
1336
|
+
"maxLength": 255
|
1337
|
+
}
|
1338
|
+
}
|
1339
|
+
},
|
1340
|
+
"required": [
|
1341
|
+
"$nin"
|
1342
|
+
],
|
1343
|
+
"additionalProperties": false
|
1344
|
+
}
|
1345
|
+
]
|
1232
1346
|
}
|
1233
1347
|
},
|
1234
1348
|
"additionalProperties": false
|
@@ -1244,12 +1358,88 @@
|
|
1244
1358
|
"type": "object",
|
1245
1359
|
"properties": {
|
1246
1360
|
"$tagKey": {
|
1247
|
-
"
|
1248
|
-
|
1361
|
+
"oneOf": [
|
1362
|
+
{
|
1363
|
+
"type": "string",
|
1364
|
+
"maxLength": 255
|
1365
|
+
},
|
1366
|
+
{
|
1367
|
+
"type": "object",
|
1368
|
+
"properties": {
|
1369
|
+
"$in": {
|
1370
|
+
"type": "array",
|
1371
|
+
"maxItems": 100,
|
1372
|
+
"items": {
|
1373
|
+
"type": "string",
|
1374
|
+
"maxLength": 255
|
1375
|
+
}
|
1376
|
+
}
|
1377
|
+
},
|
1378
|
+
"required": [
|
1379
|
+
"$in"
|
1380
|
+
],
|
1381
|
+
"additionalProperties": false
|
1382
|
+
},
|
1383
|
+
{
|
1384
|
+
"type": "object",
|
1385
|
+
"properties": {
|
1386
|
+
"$nin": {
|
1387
|
+
"type": "array",
|
1388
|
+
"maxItems": 100,
|
1389
|
+
"items": {
|
1390
|
+
"type": "string",
|
1391
|
+
"maxLength": 255
|
1392
|
+
}
|
1393
|
+
}
|
1394
|
+
},
|
1395
|
+
"required": [
|
1396
|
+
"$nin"
|
1397
|
+
],
|
1398
|
+
"additionalProperties": false
|
1399
|
+
}
|
1400
|
+
]
|
1249
1401
|
},
|
1250
1402
|
"$tagValue": {
|
1251
|
-
"
|
1252
|
-
|
1403
|
+
"oneOf": [
|
1404
|
+
{
|
1405
|
+
"type": "string",
|
1406
|
+
"maxLength": 255
|
1407
|
+
},
|
1408
|
+
{
|
1409
|
+
"type": "object",
|
1410
|
+
"properties": {
|
1411
|
+
"$in": {
|
1412
|
+
"type": "array",
|
1413
|
+
"maxItems": 100,
|
1414
|
+
"items": {
|
1415
|
+
"type": "string",
|
1416
|
+
"maxLength": 255
|
1417
|
+
}
|
1418
|
+
}
|
1419
|
+
},
|
1420
|
+
"required": [
|
1421
|
+
"$in"
|
1422
|
+
],
|
1423
|
+
"additionalProperties": false
|
1424
|
+
},
|
1425
|
+
{
|
1426
|
+
"type": "object",
|
1427
|
+
"properties": {
|
1428
|
+
"$nin": {
|
1429
|
+
"type": "array",
|
1430
|
+
"maxItems": 100,
|
1431
|
+
"items": {
|
1432
|
+
"type": "string",
|
1433
|
+
"maxLength": 255
|
1434
|
+
}
|
1435
|
+
}
|
1436
|
+
},
|
1437
|
+
"required": [
|
1438
|
+
"$nin"
|
1439
|
+
],
|
1440
|
+
"additionalProperties": false
|
1441
|
+
}
|
1442
|
+
]
|
1253
1443
|
}
|
1254
1444
|
},
|
1255
1445
|
"additionalProperties": false,
|
@@ -1259,8 +1449,46 @@
|
|
1259
1449
|
"type": "object",
|
1260
1450
|
"patternProperties": {
|
1261
1451
|
"^[0-9a-zA-Z_-]{1,255}": {
|
1262
|
-
"
|
1263
|
-
|
1452
|
+
"oneOf": [
|
1453
|
+
{
|
1454
|
+
"type": "string",
|
1455
|
+
"maxLength": 255
|
1456
|
+
},
|
1457
|
+
{
|
1458
|
+
"type": "object",
|
1459
|
+
"properties": {
|
1460
|
+
"$in": {
|
1461
|
+
"type": "array",
|
1462
|
+
"maxItems": 100,
|
1463
|
+
"items": {
|
1464
|
+
"type": "string",
|
1465
|
+
"maxLength": 255
|
1466
|
+
}
|
1467
|
+
}
|
1468
|
+
},
|
1469
|
+
"required": [
|
1470
|
+
"$in"
|
1471
|
+
],
|
1472
|
+
"additionalProperties": false
|
1473
|
+
},
|
1474
|
+
{
|
1475
|
+
"type": "object",
|
1476
|
+
"properties": {
|
1477
|
+
"$nin": {
|
1478
|
+
"type": "array",
|
1479
|
+
"maxItems": 100,
|
1480
|
+
"items": {
|
1481
|
+
"type": "string",
|
1482
|
+
"maxLength": 255
|
1483
|
+
}
|
1484
|
+
}
|
1485
|
+
},
|
1486
|
+
"required": [
|
1487
|
+
"$nin"
|
1488
|
+
],
|
1489
|
+
"additionalProperties": false
|
1490
|
+
}
|
1491
|
+
]
|
1264
1492
|
}
|
1265
1493
|
},
|
1266
1494
|
"additionalProperties": false
|
@@ -1282,12 +1510,88 @@
|
|
1282
1510
|
"type": "object",
|
1283
1511
|
"properties": {
|
1284
1512
|
"$tagKey": {
|
1285
|
-
"
|
1286
|
-
|
1513
|
+
"oneOf": [
|
1514
|
+
{
|
1515
|
+
"type": "string",
|
1516
|
+
"maxLength": 255
|
1517
|
+
},
|
1518
|
+
{
|
1519
|
+
"type": "object",
|
1520
|
+
"properties": {
|
1521
|
+
"$in": {
|
1522
|
+
"type": "array",
|
1523
|
+
"maxItems": 100,
|
1524
|
+
"items": {
|
1525
|
+
"type": "string",
|
1526
|
+
"maxLength": 255
|
1527
|
+
}
|
1528
|
+
}
|
1529
|
+
},
|
1530
|
+
"required": [
|
1531
|
+
"$in"
|
1532
|
+
],
|
1533
|
+
"additionalProperties": false
|
1534
|
+
},
|
1535
|
+
{
|
1536
|
+
"type": "object",
|
1537
|
+
"properties": {
|
1538
|
+
"$nin": {
|
1539
|
+
"type": "array",
|
1540
|
+
"maxItems": 100,
|
1541
|
+
"items": {
|
1542
|
+
"type": "string",
|
1543
|
+
"maxLength": 255
|
1544
|
+
}
|
1545
|
+
}
|
1546
|
+
},
|
1547
|
+
"required": [
|
1548
|
+
"$nin"
|
1549
|
+
],
|
1550
|
+
"additionalProperties": false
|
1551
|
+
}
|
1552
|
+
]
|
1287
1553
|
},
|
1288
1554
|
"$tagValue": {
|
1289
|
-
"
|
1290
|
-
|
1555
|
+
"oneOf": [
|
1556
|
+
{
|
1557
|
+
"type": "string",
|
1558
|
+
"maxLength": 255
|
1559
|
+
},
|
1560
|
+
{
|
1561
|
+
"type": "object",
|
1562
|
+
"properties": {
|
1563
|
+
"$in": {
|
1564
|
+
"type": "array",
|
1565
|
+
"maxItems": 100,
|
1566
|
+
"items": {
|
1567
|
+
"type": "string",
|
1568
|
+
"maxLength": 255
|
1569
|
+
}
|
1570
|
+
}
|
1571
|
+
},
|
1572
|
+
"required": [
|
1573
|
+
"$in"
|
1574
|
+
],
|
1575
|
+
"additionalProperties": false
|
1576
|
+
},
|
1577
|
+
{
|
1578
|
+
"type": "object",
|
1579
|
+
"properties": {
|
1580
|
+
"$nin": {
|
1581
|
+
"type": "array",
|
1582
|
+
"maxItems": 100,
|
1583
|
+
"items": {
|
1584
|
+
"type": "string",
|
1585
|
+
"maxLength": 255
|
1586
|
+
}
|
1587
|
+
}
|
1588
|
+
},
|
1589
|
+
"required": [
|
1590
|
+
"$nin"
|
1591
|
+
],
|
1592
|
+
"additionalProperties": false
|
1593
|
+
}
|
1594
|
+
]
|
1291
1595
|
}
|
1292
1596
|
},
|
1293
1597
|
"additionalProperties": false,
|
@@ -1297,8 +1601,46 @@
|
|
1297
1601
|
"type": "object",
|
1298
1602
|
"patternProperties": {
|
1299
1603
|
"^[0-9a-zA-Z_-]{1,255}": {
|
1300
|
-
"
|
1301
|
-
|
1604
|
+
"oneOf": [
|
1605
|
+
{
|
1606
|
+
"type": "string",
|
1607
|
+
"maxLength": 255
|
1608
|
+
},
|
1609
|
+
{
|
1610
|
+
"type": "object",
|
1611
|
+
"properties": {
|
1612
|
+
"$in": {
|
1613
|
+
"type": "array",
|
1614
|
+
"maxItems": 100,
|
1615
|
+
"items": {
|
1616
|
+
"type": "string",
|
1617
|
+
"maxLength": 255
|
1618
|
+
}
|
1619
|
+
}
|
1620
|
+
},
|
1621
|
+
"required": [
|
1622
|
+
"$in"
|
1623
|
+
],
|
1624
|
+
"additionalProperties": false
|
1625
|
+
},
|
1626
|
+
{
|
1627
|
+
"type": "object",
|
1628
|
+
"properties": {
|
1629
|
+
"$nin": {
|
1630
|
+
"type": "array",
|
1631
|
+
"maxItems": 100,
|
1632
|
+
"items": {
|
1633
|
+
"type": "string",
|
1634
|
+
"maxLength": 255
|
1635
|
+
}
|
1636
|
+
}
|
1637
|
+
},
|
1638
|
+
"required": [
|
1639
|
+
"$nin"
|
1640
|
+
],
|
1641
|
+
"additionalProperties": false
|
1642
|
+
}
|
1643
|
+
]
|
1302
1644
|
}
|
1303
1645
|
},
|
1304
1646
|
"additionalProperties": false
|
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": {
|
@@ -390,6 +398,14 @@
|
|
390
398
|
}
|
391
399
|
}
|
392
400
|
},
|
401
|
+
"deviceCreate": {
|
402
|
+
"type": "object",
|
403
|
+
"patternProperties": {
|
404
|
+
".*": {
|
405
|
+
"type": "number"
|
406
|
+
}
|
407
|
+
}
|
408
|
+
},
|
393
409
|
"deviceCommand": {
|
394
410
|
"type": "object",
|
395
411
|
"patternProperties": {
|
@@ -446,6 +462,14 @@
|
|
446
462
|
}
|
447
463
|
}
|
448
464
|
},
|
465
|
+
"inboundEmail": {
|
466
|
+
"type": "object",
|
467
|
+
"patternProperties": {
|
468
|
+
".*": {
|
469
|
+
"type": "number"
|
470
|
+
}
|
471
|
+
}
|
472
|
+
},
|
449
473
|
"integration": {
|
450
474
|
"type": "object",
|
451
475
|
"patternProperties": {
|
@@ -478,7 +502,7 @@
|
|
478
502
|
}
|
479
503
|
}
|
480
504
|
},
|
481
|
-
"
|
505
|
+
"resourceJob": {
|
482
506
|
"type": "object",
|
483
507
|
"patternProperties": {
|
484
508
|
".*": {
|
@@ -486,7 +510,7 @@
|
|
486
510
|
}
|
487
511
|
}
|
488
512
|
},
|
489
|
-
"
|
513
|
+
"timer": {
|
490
514
|
"type": "object",
|
491
515
|
"patternProperties": {
|
492
516
|
".*": {
|
@@ -494,7 +518,7 @@
|
|
494
518
|
}
|
495
519
|
}
|
496
520
|
},
|
497
|
-
"
|
521
|
+
"virtualButton": {
|
498
522
|
"type": "object",
|
499
523
|
"patternProperties": {
|
500
524
|
".*": {
|
@@ -502,7 +526,7 @@
|
|
502
526
|
}
|
503
527
|
}
|
504
528
|
},
|
505
|
-
"
|
529
|
+
"webhook": {
|
506
530
|
"type": "object",
|
507
531
|
"patternProperties": {
|
508
532
|
".*": {
|