losant_rest 1.17.3 → 1.17.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/_schemas.md +2290 -696
- data/docs/applicationDashboard.md +1 -1
- data/docs/flow.md +1 -1
- data/lib/losant_rest/application_dashboard.rb +1 -1
- data/lib/losant_rest/client.rb +2 -2
- data/lib/losant_rest/flow.rb +1 -1
- data/lib/losant_rest/version.rb +1 -1
- data/schemas/dashboard.json +24 -0
- data/schemas/dashboards.json +24 -0
- data/schemas/edgeDeployment.json +25 -0
- data/schemas/edgeDeployments.json +25 -0
- data/schemas/experienceLinkedResources.json +264 -0
- data/schemas/flow.json +88 -0
- data/schemas/flowPatch.json +88 -0
- data/schemas/flowPost.json +88 -0
- data/schemas/flowVersion.json +176 -0
- data/schemas/flowVersionPost.json +88 -0
- data/schemas/flowVersions.json +176 -0
- data/schemas/flows.json +88 -0
- data/schemas/flowsImportPost.json +176 -0
- data/schemas/flowsImportResult.json +264 -0
- data/schemas/integration.json +10 -10
- data/schemas/integrationPatch.json +10 -10
- data/schemas/integrationPost.json +10 -10
- data/schemas/integrations.json +10 -10
- metadata +2 -2
@@ -1262,6 +1262,94 @@
|
|
1262
1262
|
],
|
1263
1263
|
"additionalProperties": false
|
1264
1264
|
},
|
1265
|
+
{
|
1266
|
+
"type": "object",
|
1267
|
+
"properties": {
|
1268
|
+
"key": {
|
1269
|
+
"type": "string",
|
1270
|
+
"maxLength": 1024
|
1271
|
+
},
|
1272
|
+
"type": {
|
1273
|
+
"type": "string",
|
1274
|
+
"enum": [
|
1275
|
+
"onSync"
|
1276
|
+
]
|
1277
|
+
},
|
1278
|
+
"config": {
|
1279
|
+
"type": "object",
|
1280
|
+
"properties": {
|
1281
|
+
"syncTypes": {
|
1282
|
+
"type": "array",
|
1283
|
+
"maxItems": 3,
|
1284
|
+
"minItems": 1,
|
1285
|
+
"items": {
|
1286
|
+
"type": "string",
|
1287
|
+
"enum": [
|
1288
|
+
"application",
|
1289
|
+
"device",
|
1290
|
+
"peripheral"
|
1291
|
+
]
|
1292
|
+
}
|
1293
|
+
}
|
1294
|
+
},
|
1295
|
+
"additionalProperties": false
|
1296
|
+
},
|
1297
|
+
"meta": {
|
1298
|
+
"type": "object",
|
1299
|
+
"properties": {
|
1300
|
+
"category": {
|
1301
|
+
"type": "string",
|
1302
|
+
"enum": [
|
1303
|
+
"trigger"
|
1304
|
+
]
|
1305
|
+
},
|
1306
|
+
"name": {
|
1307
|
+
"type": "string",
|
1308
|
+
"enum": [
|
1309
|
+
"onSync"
|
1310
|
+
]
|
1311
|
+
},
|
1312
|
+
"label": {
|
1313
|
+
"type": "string",
|
1314
|
+
"minLength": 1,
|
1315
|
+
"maxLength": 255
|
1316
|
+
},
|
1317
|
+
"x": {
|
1318
|
+
"type": "number"
|
1319
|
+
},
|
1320
|
+
"y": {
|
1321
|
+
"type": "number"
|
1322
|
+
},
|
1323
|
+
"uiId": {
|
1324
|
+
"type": "string",
|
1325
|
+
"maxLength": 48
|
1326
|
+
},
|
1327
|
+
"description": {
|
1328
|
+
"type": "string",
|
1329
|
+
"maxLength": 32767
|
1330
|
+
}
|
1331
|
+
},
|
1332
|
+
"additionalProperties": false
|
1333
|
+
},
|
1334
|
+
"outputIds": {
|
1335
|
+
"type": "array",
|
1336
|
+
"items": {
|
1337
|
+
"type": "array",
|
1338
|
+
"items": {
|
1339
|
+
"type": "string",
|
1340
|
+
"maxLength": 48,
|
1341
|
+
"minLength": 1
|
1342
|
+
},
|
1343
|
+
"maxItems": 100
|
1344
|
+
},
|
1345
|
+
"maxItems": 100
|
1346
|
+
}
|
1347
|
+
},
|
1348
|
+
"required": [
|
1349
|
+
"type"
|
1350
|
+
],
|
1351
|
+
"additionalProperties": false
|
1352
|
+
},
|
1265
1353
|
{
|
1266
1354
|
"type": "object",
|
1267
1355
|
"properties": {
|
@@ -3839,6 +3927,94 @@
|
|
3839
3927
|
],
|
3840
3928
|
"additionalProperties": false
|
3841
3929
|
},
|
3930
|
+
{
|
3931
|
+
"type": "object",
|
3932
|
+
"properties": {
|
3933
|
+
"key": {
|
3934
|
+
"type": "string",
|
3935
|
+
"maxLength": 1024
|
3936
|
+
},
|
3937
|
+
"type": {
|
3938
|
+
"type": "string",
|
3939
|
+
"enum": [
|
3940
|
+
"onSync"
|
3941
|
+
]
|
3942
|
+
},
|
3943
|
+
"config": {
|
3944
|
+
"type": "object",
|
3945
|
+
"properties": {
|
3946
|
+
"syncTypes": {
|
3947
|
+
"type": "array",
|
3948
|
+
"maxItems": 3,
|
3949
|
+
"minItems": 1,
|
3950
|
+
"items": {
|
3951
|
+
"type": "string",
|
3952
|
+
"enum": [
|
3953
|
+
"application",
|
3954
|
+
"device",
|
3955
|
+
"peripheral"
|
3956
|
+
]
|
3957
|
+
}
|
3958
|
+
}
|
3959
|
+
},
|
3960
|
+
"additionalProperties": false
|
3961
|
+
},
|
3962
|
+
"meta": {
|
3963
|
+
"type": "object",
|
3964
|
+
"properties": {
|
3965
|
+
"category": {
|
3966
|
+
"type": "string",
|
3967
|
+
"enum": [
|
3968
|
+
"trigger"
|
3969
|
+
]
|
3970
|
+
},
|
3971
|
+
"name": {
|
3972
|
+
"type": "string",
|
3973
|
+
"enum": [
|
3974
|
+
"onSync"
|
3975
|
+
]
|
3976
|
+
},
|
3977
|
+
"label": {
|
3978
|
+
"type": "string",
|
3979
|
+
"minLength": 1,
|
3980
|
+
"maxLength": 255
|
3981
|
+
},
|
3982
|
+
"x": {
|
3983
|
+
"type": "number"
|
3984
|
+
},
|
3985
|
+
"y": {
|
3986
|
+
"type": "number"
|
3987
|
+
},
|
3988
|
+
"uiId": {
|
3989
|
+
"type": "string",
|
3990
|
+
"maxLength": 48
|
3991
|
+
},
|
3992
|
+
"description": {
|
3993
|
+
"type": "string",
|
3994
|
+
"maxLength": 32767
|
3995
|
+
}
|
3996
|
+
},
|
3997
|
+
"additionalProperties": false
|
3998
|
+
},
|
3999
|
+
"outputIds": {
|
4000
|
+
"type": "array",
|
4001
|
+
"items": {
|
4002
|
+
"type": "array",
|
4003
|
+
"items": {
|
4004
|
+
"type": "string",
|
4005
|
+
"maxLength": 48,
|
4006
|
+
"minLength": 1
|
4007
|
+
},
|
4008
|
+
"maxItems": 100
|
4009
|
+
},
|
4010
|
+
"maxItems": 100
|
4011
|
+
}
|
4012
|
+
},
|
4013
|
+
"required": [
|
4014
|
+
"type"
|
4015
|
+
],
|
4016
|
+
"additionalProperties": false
|
4017
|
+
},
|
3842
4018
|
{
|
3843
4019
|
"type": "object",
|
3844
4020
|
"properties": {
|
@@ -1310,6 +1310,94 @@
|
|
1310
1310
|
],
|
1311
1311
|
"additionalProperties": false
|
1312
1312
|
},
|
1313
|
+
{
|
1314
|
+
"type": "object",
|
1315
|
+
"properties": {
|
1316
|
+
"key": {
|
1317
|
+
"type": "string",
|
1318
|
+
"maxLength": 1024
|
1319
|
+
},
|
1320
|
+
"type": {
|
1321
|
+
"type": "string",
|
1322
|
+
"enum": [
|
1323
|
+
"onSync"
|
1324
|
+
]
|
1325
|
+
},
|
1326
|
+
"config": {
|
1327
|
+
"type": "object",
|
1328
|
+
"properties": {
|
1329
|
+
"syncTypes": {
|
1330
|
+
"type": "array",
|
1331
|
+
"maxItems": 3,
|
1332
|
+
"minItems": 1,
|
1333
|
+
"items": {
|
1334
|
+
"type": "string",
|
1335
|
+
"enum": [
|
1336
|
+
"application",
|
1337
|
+
"device",
|
1338
|
+
"peripheral"
|
1339
|
+
]
|
1340
|
+
}
|
1341
|
+
}
|
1342
|
+
},
|
1343
|
+
"additionalProperties": false
|
1344
|
+
},
|
1345
|
+
"meta": {
|
1346
|
+
"type": "object",
|
1347
|
+
"properties": {
|
1348
|
+
"category": {
|
1349
|
+
"type": "string",
|
1350
|
+
"enum": [
|
1351
|
+
"trigger"
|
1352
|
+
]
|
1353
|
+
},
|
1354
|
+
"name": {
|
1355
|
+
"type": "string",
|
1356
|
+
"enum": [
|
1357
|
+
"onSync"
|
1358
|
+
]
|
1359
|
+
},
|
1360
|
+
"label": {
|
1361
|
+
"type": "string",
|
1362
|
+
"minLength": 1,
|
1363
|
+
"maxLength": 255
|
1364
|
+
},
|
1365
|
+
"x": {
|
1366
|
+
"type": "number"
|
1367
|
+
},
|
1368
|
+
"y": {
|
1369
|
+
"type": "number"
|
1370
|
+
},
|
1371
|
+
"uiId": {
|
1372
|
+
"type": "string",
|
1373
|
+
"maxLength": 48
|
1374
|
+
},
|
1375
|
+
"description": {
|
1376
|
+
"type": "string",
|
1377
|
+
"maxLength": 32767
|
1378
|
+
}
|
1379
|
+
},
|
1380
|
+
"additionalProperties": false
|
1381
|
+
},
|
1382
|
+
"outputIds": {
|
1383
|
+
"type": "array",
|
1384
|
+
"items": {
|
1385
|
+
"type": "array",
|
1386
|
+
"items": {
|
1387
|
+
"type": "string",
|
1388
|
+
"maxLength": 48,
|
1389
|
+
"minLength": 1
|
1390
|
+
},
|
1391
|
+
"maxItems": 100
|
1392
|
+
},
|
1393
|
+
"maxItems": 100
|
1394
|
+
}
|
1395
|
+
},
|
1396
|
+
"required": [
|
1397
|
+
"type"
|
1398
|
+
],
|
1399
|
+
"additionalProperties": false
|
1400
|
+
},
|
1313
1401
|
{
|
1314
1402
|
"type": "object",
|
1315
1403
|
"properties": {
|
@@ -3938,6 +4026,94 @@
|
|
3938
4026
|
],
|
3939
4027
|
"additionalProperties": false
|
3940
4028
|
},
|
4029
|
+
{
|
4030
|
+
"type": "object",
|
4031
|
+
"properties": {
|
4032
|
+
"key": {
|
4033
|
+
"type": "string",
|
4034
|
+
"maxLength": 1024
|
4035
|
+
},
|
4036
|
+
"type": {
|
4037
|
+
"type": "string",
|
4038
|
+
"enum": [
|
4039
|
+
"onSync"
|
4040
|
+
]
|
4041
|
+
},
|
4042
|
+
"config": {
|
4043
|
+
"type": "object",
|
4044
|
+
"properties": {
|
4045
|
+
"syncTypes": {
|
4046
|
+
"type": "array",
|
4047
|
+
"maxItems": 3,
|
4048
|
+
"minItems": 1,
|
4049
|
+
"items": {
|
4050
|
+
"type": "string",
|
4051
|
+
"enum": [
|
4052
|
+
"application",
|
4053
|
+
"device",
|
4054
|
+
"peripheral"
|
4055
|
+
]
|
4056
|
+
}
|
4057
|
+
}
|
4058
|
+
},
|
4059
|
+
"additionalProperties": false
|
4060
|
+
},
|
4061
|
+
"meta": {
|
4062
|
+
"type": "object",
|
4063
|
+
"properties": {
|
4064
|
+
"category": {
|
4065
|
+
"type": "string",
|
4066
|
+
"enum": [
|
4067
|
+
"trigger"
|
4068
|
+
]
|
4069
|
+
},
|
4070
|
+
"name": {
|
4071
|
+
"type": "string",
|
4072
|
+
"enum": [
|
4073
|
+
"onSync"
|
4074
|
+
]
|
4075
|
+
},
|
4076
|
+
"label": {
|
4077
|
+
"type": "string",
|
4078
|
+
"minLength": 1,
|
4079
|
+
"maxLength": 255
|
4080
|
+
},
|
4081
|
+
"x": {
|
4082
|
+
"type": "number"
|
4083
|
+
},
|
4084
|
+
"y": {
|
4085
|
+
"type": "number"
|
4086
|
+
},
|
4087
|
+
"uiId": {
|
4088
|
+
"type": "string",
|
4089
|
+
"maxLength": 48
|
4090
|
+
},
|
4091
|
+
"description": {
|
4092
|
+
"type": "string",
|
4093
|
+
"maxLength": 32767
|
4094
|
+
}
|
4095
|
+
},
|
4096
|
+
"additionalProperties": false
|
4097
|
+
},
|
4098
|
+
"outputIds": {
|
4099
|
+
"type": "array",
|
4100
|
+
"items": {
|
4101
|
+
"type": "array",
|
4102
|
+
"items": {
|
4103
|
+
"type": "string",
|
4104
|
+
"maxLength": 48,
|
4105
|
+
"minLength": 1
|
4106
|
+
},
|
4107
|
+
"maxItems": 100
|
4108
|
+
},
|
4109
|
+
"maxItems": 100
|
4110
|
+
}
|
4111
|
+
},
|
4112
|
+
"required": [
|
4113
|
+
"type"
|
4114
|
+
],
|
4115
|
+
"additionalProperties": false
|
4116
|
+
},
|
3941
4117
|
{
|
3942
4118
|
"type": "object",
|
3943
4119
|
"properties": {
|
@@ -6528,6 +6704,94 @@
|
|
6528
6704
|
],
|
6529
6705
|
"additionalProperties": false
|
6530
6706
|
},
|
6707
|
+
{
|
6708
|
+
"type": "object",
|
6709
|
+
"properties": {
|
6710
|
+
"key": {
|
6711
|
+
"type": "string",
|
6712
|
+
"maxLength": 1024
|
6713
|
+
},
|
6714
|
+
"type": {
|
6715
|
+
"type": "string",
|
6716
|
+
"enum": [
|
6717
|
+
"onSync"
|
6718
|
+
]
|
6719
|
+
},
|
6720
|
+
"config": {
|
6721
|
+
"type": "object",
|
6722
|
+
"properties": {
|
6723
|
+
"syncTypes": {
|
6724
|
+
"type": "array",
|
6725
|
+
"maxItems": 3,
|
6726
|
+
"minItems": 1,
|
6727
|
+
"items": {
|
6728
|
+
"type": "string",
|
6729
|
+
"enum": [
|
6730
|
+
"application",
|
6731
|
+
"device",
|
6732
|
+
"peripheral"
|
6733
|
+
]
|
6734
|
+
}
|
6735
|
+
}
|
6736
|
+
},
|
6737
|
+
"additionalProperties": false
|
6738
|
+
},
|
6739
|
+
"meta": {
|
6740
|
+
"type": "object",
|
6741
|
+
"properties": {
|
6742
|
+
"category": {
|
6743
|
+
"type": "string",
|
6744
|
+
"enum": [
|
6745
|
+
"trigger"
|
6746
|
+
]
|
6747
|
+
},
|
6748
|
+
"name": {
|
6749
|
+
"type": "string",
|
6750
|
+
"enum": [
|
6751
|
+
"onSync"
|
6752
|
+
]
|
6753
|
+
},
|
6754
|
+
"label": {
|
6755
|
+
"type": "string",
|
6756
|
+
"minLength": 1,
|
6757
|
+
"maxLength": 255
|
6758
|
+
},
|
6759
|
+
"x": {
|
6760
|
+
"type": "number"
|
6761
|
+
},
|
6762
|
+
"y": {
|
6763
|
+
"type": "number"
|
6764
|
+
},
|
6765
|
+
"uiId": {
|
6766
|
+
"type": "string",
|
6767
|
+
"maxLength": 48
|
6768
|
+
},
|
6769
|
+
"description": {
|
6770
|
+
"type": "string",
|
6771
|
+
"maxLength": 32767
|
6772
|
+
}
|
6773
|
+
},
|
6774
|
+
"additionalProperties": false
|
6775
|
+
},
|
6776
|
+
"outputIds": {
|
6777
|
+
"type": "array",
|
6778
|
+
"items": {
|
6779
|
+
"type": "array",
|
6780
|
+
"items": {
|
6781
|
+
"type": "string",
|
6782
|
+
"maxLength": 48,
|
6783
|
+
"minLength": 1
|
6784
|
+
},
|
6785
|
+
"maxItems": 100
|
6786
|
+
},
|
6787
|
+
"maxItems": 100
|
6788
|
+
}
|
6789
|
+
},
|
6790
|
+
"required": [
|
6791
|
+
"type"
|
6792
|
+
],
|
6793
|
+
"additionalProperties": false
|
6794
|
+
},
|
6531
6795
|
{
|
6532
6796
|
"type": "object",
|
6533
6797
|
"properties": {
|
data/schemas/integration.json
CHANGED
@@ -80,8 +80,8 @@
|
|
80
80
|
"properties": {
|
81
81
|
"projectId": {
|
82
82
|
"type": "string",
|
83
|
-
"
|
84
|
-
"
|
83
|
+
"maxLength": 255,
|
84
|
+
"minLength": 1
|
85
85
|
},
|
86
86
|
"keyJson": {
|
87
87
|
"type": "string",
|
@@ -195,23 +195,23 @@
|
|
195
195
|
"properties": {
|
196
196
|
"accessKeyId": {
|
197
197
|
"type": "string",
|
198
|
-
"
|
199
|
-
"
|
198
|
+
"min": 4,
|
199
|
+
"max": 128
|
200
200
|
},
|
201
201
|
"secretAccessKey": {
|
202
202
|
"type": "string",
|
203
|
-
"
|
204
|
-
"
|
203
|
+
"min": 4,
|
204
|
+
"max": 128
|
205
205
|
},
|
206
206
|
"region": {
|
207
207
|
"type": "string",
|
208
|
-
"
|
209
|
-
"
|
208
|
+
"min": 4,
|
209
|
+
"max": 128
|
210
210
|
},
|
211
211
|
"queueUrl": {
|
212
212
|
"type": "string",
|
213
|
-
"
|
214
|
-
"
|
213
|
+
"min": 1,
|
214
|
+
"max": 256
|
215
215
|
}
|
216
216
|
},
|
217
217
|
"additionalProperties": false,
|
@@ -60,8 +60,8 @@
|
|
60
60
|
"properties": {
|
61
61
|
"projectId": {
|
62
62
|
"type": "string",
|
63
|
-
"
|
64
|
-
"
|
63
|
+
"maxLength": 255,
|
64
|
+
"minLength": 1
|
65
65
|
},
|
66
66
|
"keyJson": {
|
67
67
|
"type": "string",
|
@@ -175,23 +175,23 @@
|
|
175
175
|
"properties": {
|
176
176
|
"accessKeyId": {
|
177
177
|
"type": "string",
|
178
|
-
"
|
179
|
-
"
|
178
|
+
"min": 4,
|
179
|
+
"max": 128
|
180
180
|
},
|
181
181
|
"secretAccessKey": {
|
182
182
|
"type": "string",
|
183
|
-
"
|
184
|
-
"
|
183
|
+
"min": 4,
|
184
|
+
"max": 128
|
185
185
|
},
|
186
186
|
"region": {
|
187
187
|
"type": "string",
|
188
|
-
"
|
189
|
-
"
|
188
|
+
"min": 4,
|
189
|
+
"max": 128
|
190
190
|
},
|
191
191
|
"queueUrl": {
|
192
192
|
"type": "string",
|
193
|
-
"
|
194
|
-
"
|
193
|
+
"min": 1,
|
194
|
+
"max": 256
|
195
195
|
}
|
196
196
|
},
|
197
197
|
"additionalProperties": false,
|
@@ -60,8 +60,8 @@
|
|
60
60
|
"properties": {
|
61
61
|
"projectId": {
|
62
62
|
"type": "string",
|
63
|
-
"
|
64
|
-
"
|
63
|
+
"maxLength": 255,
|
64
|
+
"minLength": 1
|
65
65
|
},
|
66
66
|
"keyJson": {
|
67
67
|
"type": "string",
|
@@ -175,23 +175,23 @@
|
|
175
175
|
"properties": {
|
176
176
|
"accessKeyId": {
|
177
177
|
"type": "string",
|
178
|
-
"
|
179
|
-
"
|
178
|
+
"min": 4,
|
179
|
+
"max": 128
|
180
180
|
},
|
181
181
|
"secretAccessKey": {
|
182
182
|
"type": "string",
|
183
|
-
"
|
184
|
-
"
|
183
|
+
"min": 4,
|
184
|
+
"max": 128
|
185
185
|
},
|
186
186
|
"region": {
|
187
187
|
"type": "string",
|
188
|
-
"
|
189
|
-
"
|
188
|
+
"min": 4,
|
189
|
+
"max": 128
|
190
190
|
},
|
191
191
|
"queueUrl": {
|
192
192
|
"type": "string",
|
193
|
-
"
|
194
|
-
"
|
193
|
+
"min": 1,
|
194
|
+
"max": 256
|
195
195
|
}
|
196
196
|
},
|
197
197
|
"additionalProperties": false,
|
data/schemas/integrations.json
CHANGED
@@ -87,8 +87,8 @@
|
|
87
87
|
"properties": {
|
88
88
|
"projectId": {
|
89
89
|
"type": "string",
|
90
|
-
"
|
91
|
-
"
|
90
|
+
"maxLength": 255,
|
91
|
+
"minLength": 1
|
92
92
|
},
|
93
93
|
"keyJson": {
|
94
94
|
"type": "string",
|
@@ -202,23 +202,23 @@
|
|
202
202
|
"properties": {
|
203
203
|
"accessKeyId": {
|
204
204
|
"type": "string",
|
205
|
-
"
|
206
|
-
"
|
205
|
+
"min": 4,
|
206
|
+
"max": 128
|
207
207
|
},
|
208
208
|
"secretAccessKey": {
|
209
209
|
"type": "string",
|
210
|
-
"
|
211
|
-
"
|
210
|
+
"min": 4,
|
211
|
+
"max": 128
|
212
212
|
},
|
213
213
|
"region": {
|
214
214
|
"type": "string",
|
215
|
-
"
|
216
|
-
"
|
215
|
+
"min": 4,
|
216
|
+
"max": 128
|
217
217
|
},
|
218
218
|
"queueUrl": {
|
219
219
|
"type": "string",
|
220
|
-
"
|
221
|
-
"
|
220
|
+
"min": 1,
|
221
|
+
"max": 256
|
222
222
|
}
|
223
223
|
},
|
224
224
|
"additionalProperties": false,
|
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.17.
|
4
|
+
version: 1.17.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Kuehl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|