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.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +1 -1
- data/docs/_schemas.md +6009 -298
- 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 +8 -0
- data/schemas/applicationCreationByTemplateResult.json +8 -0
- data/schemas/applicationDashboardPost.json +2 -1
- data/schemas/applications.json +8 -0
- data/schemas/credentialLinkedResources.json +6 -0
- 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 +6 -0
- data/schemas/flow.json +2 -0
- data/schemas/flowPatch.json +2 -0
- data/schemas/flowPost.json +2 -0
- data/schemas/flowVersion.json +4 -0
- data/schemas/flowVersionPost.json +2 -0
- data/schemas/flowVersions.json +4 -0
- data/schemas/flows.json +2 -0
- data/schemas/flowsImportPost.json +4 -0
- data/schemas/flowsImportResult.json +6 -0
- data/schemas/githubLogin.json +1 -1
- data/schemas/historicalSummaries.json +16 -0
- data/schemas/historicalSummary.json +16 -0
- data/schemas/instanceCustomNodePatch.json +2 -0
- data/schemas/instanceCustomNodePost.json +2 -0
- data/schemas/instanceOrg.json +43 -0
- data/schemas/instanceOrgs.json +43 -0
- data/schemas/instanceSandbox.json +8 -0
- data/schemas/instanceSandboxes.json +8 -0
- data/schemas/lastValueQuery.json +360 -18
- data/schemas/me.json +8 -0
- data/schemas/multiDeviceCommand.json +360 -18
- data/schemas/org.json +8 -0
- data/schemas/orgs.json +8 -0
- data/schemas/payloadStats.json +8 -0
- data/schemas/samlResponse.json +1 -1
- data/schemas/timeSeriesQuery.json +360 -18
- data/schemas/userCredentials.json +1 -1
- data/schemas/userPost.json +1 -1
- metadata +5 -5
@@ -960,12 +960,88 @@
|
|
960
960
|
"type": "object",
|
961
961
|
"properties": {
|
962
962
|
"$tagKey": {
|
963
|
-
"
|
964
|
-
|
963
|
+
"oneOf": [
|
964
|
+
{
|
965
|
+
"type": "string",
|
966
|
+
"maxLength": 255
|
967
|
+
},
|
968
|
+
{
|
969
|
+
"type": "object",
|
970
|
+
"properties": {
|
971
|
+
"$in": {
|
972
|
+
"type": "array",
|
973
|
+
"maxItems": 100,
|
974
|
+
"items": {
|
975
|
+
"type": "string",
|
976
|
+
"maxLength": 255
|
977
|
+
}
|
978
|
+
}
|
979
|
+
},
|
980
|
+
"required": [
|
981
|
+
"$in"
|
982
|
+
],
|
983
|
+
"additionalProperties": false
|
984
|
+
},
|
985
|
+
{
|
986
|
+
"type": "object",
|
987
|
+
"properties": {
|
988
|
+
"$nin": {
|
989
|
+
"type": "array",
|
990
|
+
"maxItems": 100,
|
991
|
+
"items": {
|
992
|
+
"type": "string",
|
993
|
+
"maxLength": 255
|
994
|
+
}
|
995
|
+
}
|
996
|
+
},
|
997
|
+
"required": [
|
998
|
+
"$nin"
|
999
|
+
],
|
1000
|
+
"additionalProperties": false
|
1001
|
+
}
|
1002
|
+
]
|
965
1003
|
},
|
966
1004
|
"$tagValue": {
|
967
|
-
"
|
968
|
-
|
1005
|
+
"oneOf": [
|
1006
|
+
{
|
1007
|
+
"type": "string",
|
1008
|
+
"maxLength": 255
|
1009
|
+
},
|
1010
|
+
{
|
1011
|
+
"type": "object",
|
1012
|
+
"properties": {
|
1013
|
+
"$in": {
|
1014
|
+
"type": "array",
|
1015
|
+
"maxItems": 100,
|
1016
|
+
"items": {
|
1017
|
+
"type": "string",
|
1018
|
+
"maxLength": 255
|
1019
|
+
}
|
1020
|
+
}
|
1021
|
+
},
|
1022
|
+
"required": [
|
1023
|
+
"$in"
|
1024
|
+
],
|
1025
|
+
"additionalProperties": false
|
1026
|
+
},
|
1027
|
+
{
|
1028
|
+
"type": "object",
|
1029
|
+
"properties": {
|
1030
|
+
"$nin": {
|
1031
|
+
"type": "array",
|
1032
|
+
"maxItems": 100,
|
1033
|
+
"items": {
|
1034
|
+
"type": "string",
|
1035
|
+
"maxLength": 255
|
1036
|
+
}
|
1037
|
+
}
|
1038
|
+
},
|
1039
|
+
"required": [
|
1040
|
+
"$nin"
|
1041
|
+
],
|
1042
|
+
"additionalProperties": false
|
1043
|
+
}
|
1044
|
+
]
|
969
1045
|
}
|
970
1046
|
},
|
971
1047
|
"additionalProperties": false,
|
@@ -975,8 +1051,46 @@
|
|
975
1051
|
"type": "object",
|
976
1052
|
"patternProperties": {
|
977
1053
|
"^[0-9a-zA-Z_-]{1,255}": {
|
978
|
-
"
|
979
|
-
|
1054
|
+
"oneOf": [
|
1055
|
+
{
|
1056
|
+
"type": "string",
|
1057
|
+
"maxLength": 255
|
1058
|
+
},
|
1059
|
+
{
|
1060
|
+
"type": "object",
|
1061
|
+
"properties": {
|
1062
|
+
"$in": {
|
1063
|
+
"type": "array",
|
1064
|
+
"maxItems": 100,
|
1065
|
+
"items": {
|
1066
|
+
"type": "string",
|
1067
|
+
"maxLength": 255
|
1068
|
+
}
|
1069
|
+
}
|
1070
|
+
},
|
1071
|
+
"required": [
|
1072
|
+
"$in"
|
1073
|
+
],
|
1074
|
+
"additionalProperties": false
|
1075
|
+
},
|
1076
|
+
{
|
1077
|
+
"type": "object",
|
1078
|
+
"properties": {
|
1079
|
+
"$nin": {
|
1080
|
+
"type": "array",
|
1081
|
+
"maxItems": 100,
|
1082
|
+
"items": {
|
1083
|
+
"type": "string",
|
1084
|
+
"maxLength": 255
|
1085
|
+
}
|
1086
|
+
}
|
1087
|
+
},
|
1088
|
+
"required": [
|
1089
|
+
"$nin"
|
1090
|
+
],
|
1091
|
+
"additionalProperties": false
|
1092
|
+
}
|
1093
|
+
]
|
980
1094
|
}
|
981
1095
|
},
|
982
1096
|
"additionalProperties": false
|
@@ -992,12 +1106,88 @@
|
|
992
1106
|
"type": "object",
|
993
1107
|
"properties": {
|
994
1108
|
"$tagKey": {
|
995
|
-
"
|
996
|
-
|
1109
|
+
"oneOf": [
|
1110
|
+
{
|
1111
|
+
"type": "string",
|
1112
|
+
"maxLength": 255
|
1113
|
+
},
|
1114
|
+
{
|
1115
|
+
"type": "object",
|
1116
|
+
"properties": {
|
1117
|
+
"$in": {
|
1118
|
+
"type": "array",
|
1119
|
+
"maxItems": 100,
|
1120
|
+
"items": {
|
1121
|
+
"type": "string",
|
1122
|
+
"maxLength": 255
|
1123
|
+
}
|
1124
|
+
}
|
1125
|
+
},
|
1126
|
+
"required": [
|
1127
|
+
"$in"
|
1128
|
+
],
|
1129
|
+
"additionalProperties": false
|
1130
|
+
},
|
1131
|
+
{
|
1132
|
+
"type": "object",
|
1133
|
+
"properties": {
|
1134
|
+
"$nin": {
|
1135
|
+
"type": "array",
|
1136
|
+
"maxItems": 100,
|
1137
|
+
"items": {
|
1138
|
+
"type": "string",
|
1139
|
+
"maxLength": 255
|
1140
|
+
}
|
1141
|
+
}
|
1142
|
+
},
|
1143
|
+
"required": [
|
1144
|
+
"$nin"
|
1145
|
+
],
|
1146
|
+
"additionalProperties": false
|
1147
|
+
}
|
1148
|
+
]
|
997
1149
|
},
|
998
1150
|
"$tagValue": {
|
999
|
-
"
|
1000
|
-
|
1151
|
+
"oneOf": [
|
1152
|
+
{
|
1153
|
+
"type": "string",
|
1154
|
+
"maxLength": 255
|
1155
|
+
},
|
1156
|
+
{
|
1157
|
+
"type": "object",
|
1158
|
+
"properties": {
|
1159
|
+
"$in": {
|
1160
|
+
"type": "array",
|
1161
|
+
"maxItems": 100,
|
1162
|
+
"items": {
|
1163
|
+
"type": "string",
|
1164
|
+
"maxLength": 255
|
1165
|
+
}
|
1166
|
+
}
|
1167
|
+
},
|
1168
|
+
"required": [
|
1169
|
+
"$in"
|
1170
|
+
],
|
1171
|
+
"additionalProperties": false
|
1172
|
+
},
|
1173
|
+
{
|
1174
|
+
"type": "object",
|
1175
|
+
"properties": {
|
1176
|
+
"$nin": {
|
1177
|
+
"type": "array",
|
1178
|
+
"maxItems": 100,
|
1179
|
+
"items": {
|
1180
|
+
"type": "string",
|
1181
|
+
"maxLength": 255
|
1182
|
+
}
|
1183
|
+
}
|
1184
|
+
},
|
1185
|
+
"required": [
|
1186
|
+
"$nin"
|
1187
|
+
],
|
1188
|
+
"additionalProperties": false
|
1189
|
+
}
|
1190
|
+
]
|
1001
1191
|
}
|
1002
1192
|
},
|
1003
1193
|
"additionalProperties": false,
|
@@ -1007,8 +1197,46 @@
|
|
1007
1197
|
"type": "object",
|
1008
1198
|
"patternProperties": {
|
1009
1199
|
"^[0-9a-zA-Z_-]{1,255}": {
|
1010
|
-
"
|
1011
|
-
|
1200
|
+
"oneOf": [
|
1201
|
+
{
|
1202
|
+
"type": "string",
|
1203
|
+
"maxLength": 255
|
1204
|
+
},
|
1205
|
+
{
|
1206
|
+
"type": "object",
|
1207
|
+
"properties": {
|
1208
|
+
"$in": {
|
1209
|
+
"type": "array",
|
1210
|
+
"maxItems": 100,
|
1211
|
+
"items": {
|
1212
|
+
"type": "string",
|
1213
|
+
"maxLength": 255
|
1214
|
+
}
|
1215
|
+
}
|
1216
|
+
},
|
1217
|
+
"required": [
|
1218
|
+
"$in"
|
1219
|
+
],
|
1220
|
+
"additionalProperties": false
|
1221
|
+
},
|
1222
|
+
{
|
1223
|
+
"type": "object",
|
1224
|
+
"properties": {
|
1225
|
+
"$nin": {
|
1226
|
+
"type": "array",
|
1227
|
+
"maxItems": 100,
|
1228
|
+
"items": {
|
1229
|
+
"type": "string",
|
1230
|
+
"maxLength": 255
|
1231
|
+
}
|
1232
|
+
}
|
1233
|
+
},
|
1234
|
+
"required": [
|
1235
|
+
"$nin"
|
1236
|
+
],
|
1237
|
+
"additionalProperties": false
|
1238
|
+
}
|
1239
|
+
]
|
1012
1240
|
}
|
1013
1241
|
},
|
1014
1242
|
"additionalProperties": false
|
@@ -1030,12 +1258,88 @@
|
|
1030
1258
|
"type": "object",
|
1031
1259
|
"properties": {
|
1032
1260
|
"$tagKey": {
|
1033
|
-
"
|
1034
|
-
|
1261
|
+
"oneOf": [
|
1262
|
+
{
|
1263
|
+
"type": "string",
|
1264
|
+
"maxLength": 255
|
1265
|
+
},
|
1266
|
+
{
|
1267
|
+
"type": "object",
|
1268
|
+
"properties": {
|
1269
|
+
"$in": {
|
1270
|
+
"type": "array",
|
1271
|
+
"maxItems": 100,
|
1272
|
+
"items": {
|
1273
|
+
"type": "string",
|
1274
|
+
"maxLength": 255
|
1275
|
+
}
|
1276
|
+
}
|
1277
|
+
},
|
1278
|
+
"required": [
|
1279
|
+
"$in"
|
1280
|
+
],
|
1281
|
+
"additionalProperties": false
|
1282
|
+
},
|
1283
|
+
{
|
1284
|
+
"type": "object",
|
1285
|
+
"properties": {
|
1286
|
+
"$nin": {
|
1287
|
+
"type": "array",
|
1288
|
+
"maxItems": 100,
|
1289
|
+
"items": {
|
1290
|
+
"type": "string",
|
1291
|
+
"maxLength": 255
|
1292
|
+
}
|
1293
|
+
}
|
1294
|
+
},
|
1295
|
+
"required": [
|
1296
|
+
"$nin"
|
1297
|
+
],
|
1298
|
+
"additionalProperties": false
|
1299
|
+
}
|
1300
|
+
]
|
1035
1301
|
},
|
1036
1302
|
"$tagValue": {
|
1037
|
-
"
|
1038
|
-
|
1303
|
+
"oneOf": [
|
1304
|
+
{
|
1305
|
+
"type": "string",
|
1306
|
+
"maxLength": 255
|
1307
|
+
},
|
1308
|
+
{
|
1309
|
+
"type": "object",
|
1310
|
+
"properties": {
|
1311
|
+
"$in": {
|
1312
|
+
"type": "array",
|
1313
|
+
"maxItems": 100,
|
1314
|
+
"items": {
|
1315
|
+
"type": "string",
|
1316
|
+
"maxLength": 255
|
1317
|
+
}
|
1318
|
+
}
|
1319
|
+
},
|
1320
|
+
"required": [
|
1321
|
+
"$in"
|
1322
|
+
],
|
1323
|
+
"additionalProperties": false
|
1324
|
+
},
|
1325
|
+
{
|
1326
|
+
"type": "object",
|
1327
|
+
"properties": {
|
1328
|
+
"$nin": {
|
1329
|
+
"type": "array",
|
1330
|
+
"maxItems": 100,
|
1331
|
+
"items": {
|
1332
|
+
"type": "string",
|
1333
|
+
"maxLength": 255
|
1334
|
+
}
|
1335
|
+
}
|
1336
|
+
},
|
1337
|
+
"required": [
|
1338
|
+
"$nin"
|
1339
|
+
],
|
1340
|
+
"additionalProperties": false
|
1341
|
+
}
|
1342
|
+
]
|
1039
1343
|
}
|
1040
1344
|
},
|
1041
1345
|
"additionalProperties": false,
|
@@ -1045,8 +1349,46 @@
|
|
1045
1349
|
"type": "object",
|
1046
1350
|
"patternProperties": {
|
1047
1351
|
"^[0-9a-zA-Z_-]{1,255}": {
|
1048
|
-
"
|
1049
|
-
|
1352
|
+
"oneOf": [
|
1353
|
+
{
|
1354
|
+
"type": "string",
|
1355
|
+
"maxLength": 255
|
1356
|
+
},
|
1357
|
+
{
|
1358
|
+
"type": "object",
|
1359
|
+
"properties": {
|
1360
|
+
"$in": {
|
1361
|
+
"type": "array",
|
1362
|
+
"maxItems": 100,
|
1363
|
+
"items": {
|
1364
|
+
"type": "string",
|
1365
|
+
"maxLength": 255
|
1366
|
+
}
|
1367
|
+
}
|
1368
|
+
},
|
1369
|
+
"required": [
|
1370
|
+
"$in"
|
1371
|
+
],
|
1372
|
+
"additionalProperties": false
|
1373
|
+
},
|
1374
|
+
{
|
1375
|
+
"type": "object",
|
1376
|
+
"properties": {
|
1377
|
+
"$nin": {
|
1378
|
+
"type": "array",
|
1379
|
+
"maxItems": 100,
|
1380
|
+
"items": {
|
1381
|
+
"type": "string",
|
1382
|
+
"maxLength": 255
|
1383
|
+
}
|
1384
|
+
}
|
1385
|
+
},
|
1386
|
+
"required": [
|
1387
|
+
"$nin"
|
1388
|
+
],
|
1389
|
+
"additionalProperties": false
|
1390
|
+
}
|
1391
|
+
]
|
1050
1392
|
}
|
1051
1393
|
},
|
1052
1394
|
"additionalProperties": false
|
data/schemas/apiTokenPost.json
CHANGED
@@ -364,7 +364,6 @@
|
|
364
364
|
"org.notebookMinuteCounts",
|
365
365
|
"org.invoices",
|
366
366
|
"org.currentCard",
|
367
|
-
"org.chargeDetails",
|
368
367
|
"org.transferResources"
|
369
368
|
]
|
370
369
|
}
|
@@ -390,6 +389,7 @@
|
|
390
389
|
"instanceOrg.payloadCountsBreakdown",
|
391
390
|
"instanceOrg.deviceCounts",
|
392
391
|
"instanceOrg.notebookMinuteCounts",
|
392
|
+
"instanceOrg.convertToEnterprise",
|
393
393
|
"instanceOrgs.*",
|
394
394
|
"instanceOrgs.get",
|
395
395
|
"instanceOrgs.post",
|
data/schemas/application.json
CHANGED
data/schemas/applications.json
CHANGED
@@ -625,6 +625,7 @@
|
|
625
625
|
"type": "string",
|
626
626
|
"enum": [
|
627
627
|
"customNodeStart",
|
628
|
+
"deviceCreate",
|
628
629
|
"deviceCommand",
|
629
630
|
"deviceIdConnect",
|
630
631
|
"deviceTagConnect",
|
@@ -659,6 +660,7 @@
|
|
659
660
|
"type": "string",
|
660
661
|
"enum": [
|
661
662
|
"customNodeStart",
|
663
|
+
"deviceCreate",
|
662
664
|
"deviceCommand",
|
663
665
|
"deviceIdsTagsConnect",
|
664
666
|
"deviceIdsTagsDisconnect",
|
@@ -3612,6 +3614,7 @@
|
|
3612
3614
|
"type": "string",
|
3613
3615
|
"enum": [
|
3614
3616
|
"customNodeStart",
|
3617
|
+
"deviceCreate",
|
3615
3618
|
"deviceCommand",
|
3616
3619
|
"deviceIdConnect",
|
3617
3620
|
"deviceTagConnect",
|
@@ -3646,6 +3649,7 @@
|
|
3646
3649
|
"type": "string",
|
3647
3650
|
"enum": [
|
3648
3651
|
"customNodeStart",
|
3652
|
+
"deviceCreate",
|
3649
3653
|
"deviceCommand",
|
3650
3654
|
"deviceIdsTagsConnect",
|
3651
3655
|
"deviceIdsTagsDisconnect",
|
@@ -6508,6 +6512,7 @@
|
|
6508
6512
|
"type": "string",
|
6509
6513
|
"enum": [
|
6510
6514
|
"customNodeStart",
|
6515
|
+
"deviceCreate",
|
6511
6516
|
"deviceCommand",
|
6512
6517
|
"deviceIdConnect",
|
6513
6518
|
"deviceTagConnect",
|
@@ -6542,6 +6547,7 @@
|
|
6542
6547
|
"type": "string",
|
6543
6548
|
"enum": [
|
6544
6549
|
"customNodeStart",
|
6550
|
+
"deviceCreate",
|
6545
6551
|
"deviceCommand",
|
6546
6552
|
"deviceIdsTagsConnect",
|
6547
6553
|
"deviceIdsTagsDisconnect",
|
data/schemas/dashboard.json
CHANGED
data/schemas/dashboardPatch.json
CHANGED
data/schemas/dashboardPost.json
CHANGED