losant_rest 1.19.9 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +1 -1
  3. data/docs/_schemas.md +6009 -298
  4. data/lib/platform_rest/version.rb +1 -1
  5. data/losant_rest.gemspec +2 -2
  6. data/schemas/advancedApplicationKeyQuery.json +360 -18
  7. data/schemas/advancedDeviceQuery.json +360 -18
  8. data/schemas/advancedEventQuery.json +360 -18
  9. data/schemas/advancedExperienceGroupQuery.json +360 -18
  10. data/schemas/advancedExperienceUserQuery.json +360 -18
  11. data/schemas/advancedInstanceOrgQuery.json +360 -18
  12. data/schemas/apiTokenPost.json +1 -1
  13. data/schemas/application.json +8 -0
  14. data/schemas/applicationCreationByTemplateResult.json +8 -0
  15. data/schemas/applicationDashboardPost.json +2 -1
  16. data/schemas/applications.json +8 -0
  17. data/schemas/credentialLinkedResources.json +6 -0
  18. data/schemas/dashboard.json +2 -1
  19. data/schemas/dashboardPatch.json +2 -1
  20. data/schemas/dashboardPost.json +2 -1
  21. data/schemas/dashboards.json +2 -1
  22. data/schemas/dataExport.json +360 -18
  23. data/schemas/devicesDeletePost.json +360 -18
  24. data/schemas/devicesExportPayloadCountPost.json +360 -18
  25. data/schemas/devicesExportPost.json +360 -18
  26. data/schemas/devicesPatch.json +360 -18
  27. data/schemas/devicesRemoveDataPost.json +360 -18
  28. data/schemas/eventsExport.json +360 -18
  29. data/schemas/experienceLinkedResources.json +6 -0
  30. data/schemas/flow.json +2 -0
  31. data/schemas/flowPatch.json +2 -0
  32. data/schemas/flowPost.json +2 -0
  33. data/schemas/flowVersion.json +4 -0
  34. data/schemas/flowVersionPost.json +2 -0
  35. data/schemas/flowVersions.json +4 -0
  36. data/schemas/flows.json +2 -0
  37. data/schemas/flowsImportPost.json +4 -0
  38. data/schemas/flowsImportResult.json +6 -0
  39. data/schemas/githubLogin.json +1 -1
  40. data/schemas/historicalSummaries.json +16 -0
  41. data/schemas/historicalSummary.json +16 -0
  42. data/schemas/instanceCustomNodePatch.json +2 -0
  43. data/schemas/instanceCustomNodePost.json +2 -0
  44. data/schemas/instanceOrg.json +43 -0
  45. data/schemas/instanceOrgs.json +43 -0
  46. data/schemas/instanceSandbox.json +8 -0
  47. data/schemas/instanceSandboxes.json +8 -0
  48. data/schemas/lastValueQuery.json +360 -18
  49. data/schemas/me.json +8 -0
  50. data/schemas/multiDeviceCommand.json +360 -18
  51. data/schemas/org.json +8 -0
  52. data/schemas/orgs.json +8 -0
  53. data/schemas/payloadStats.json +8 -0
  54. data/schemas/samlResponse.json +1 -1
  55. data/schemas/timeSeriesQuery.json +360 -18
  56. data/schemas/userCredentials.json +1 -1
  57. data/schemas/userPost.json +1 -1
  58. metadata +5 -5
@@ -1212,12 +1212,88 @@
1212
1212
  "type": "object",
1213
1213
  "properties": {
1214
1214
  "$tagKey": {
1215
- "type": "string",
1216
- "maxLength": 255
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
- "type": "string",
1220
- "maxLength": 255
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
- "type": "string",
1231
- "maxLength": 255
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
- "type": "string",
1248
- "maxLength": 255
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
- "type": "string",
1252
- "maxLength": 255
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
- "type": "string",
1263
- "maxLength": 255
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
- "type": "string",
1286
- "maxLength": 255
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
- "type": "string",
1290
- "maxLength": 255
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
- "type": "string",
1301
- "maxLength": 255
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
@@ -398,6 +398,14 @@
398
398
  }
399
399
  }
400
400
  },
401
+ "deviceCreate": {
402
+ "type": "object",
403
+ "patternProperties": {
404
+ ".*": {
405
+ "type": "number"
406
+ }
407
+ }
408
+ },
401
409
  "deviceCommand": {
402
410
  "type": "object",
403
411
  "patternProperties": {