losant_rest 1.14.0 → 1.14.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -58,7 +58,6 @@
58
58
  "onBoot",
59
59
  "onConnect",
60
60
  "onDisconnect",
61
- "request",
62
61
  "udp",
63
62
  "webhook"
64
63
  ]
@@ -92,7 +91,6 @@
92
91
  "onConnect",
93
92
  "onDisconnect",
94
93
  "particle",
95
- "request",
96
94
  "udp",
97
95
  "webhook"
98
96
  ]
@@ -1391,6 +1389,118 @@
1391
1389
  ],
1392
1390
  "additionalProperties": false
1393
1391
  },
1392
+ {
1393
+ "type": "object",
1394
+ "properties": {
1395
+ "key": {
1396
+ "type": "string",
1397
+ "maxLength": 1024
1398
+ },
1399
+ "type": {
1400
+ "type": "string",
1401
+ "enum": [
1402
+ "request"
1403
+ ]
1404
+ },
1405
+ "config": {
1406
+ "type": "object",
1407
+ "properties": {
1408
+ "method": {
1409
+ "type": "string",
1410
+ "enum": [
1411
+ "*",
1412
+ "delete",
1413
+ "get",
1414
+ "options",
1415
+ "patch",
1416
+ "post",
1417
+ "put"
1418
+ ]
1419
+ },
1420
+ "route": {
1421
+ "type": "string",
1422
+ "maxLength": 1024
1423
+ }
1424
+ },
1425
+ "additionalProperties": false
1426
+ },
1427
+ "meta": {
1428
+ "type": "object",
1429
+ "properties": {
1430
+ "category": {
1431
+ "type": "string",
1432
+ "enum": [
1433
+ "trigger"
1434
+ ]
1435
+ },
1436
+ "name": {
1437
+ "type": "string",
1438
+ "enum": [
1439
+ "request"
1440
+ ]
1441
+ },
1442
+ "label": {
1443
+ "type": "string",
1444
+ "minLength": 1,
1445
+ "maxLength": 255
1446
+ },
1447
+ "x": {
1448
+ "type": "number"
1449
+ },
1450
+ "y": {
1451
+ "type": "number"
1452
+ },
1453
+ "uiId": {
1454
+ "type": "string",
1455
+ "maxLength": 48
1456
+ },
1457
+ "description": {
1458
+ "type": "string",
1459
+ "maxLength": 32767
1460
+ },
1461
+ "icon": {
1462
+ "type": "string",
1463
+ "maxLength": 1024
1464
+ },
1465
+ "color": {
1466
+ "type": "string",
1467
+ "maxLength": 1024
1468
+ },
1469
+ "inputCount": {
1470
+ "type": "number"
1471
+ },
1472
+ "outputCount": {
1473
+ "type": "number"
1474
+ },
1475
+ "triggerId": {
1476
+ "type": "string",
1477
+ "maxLength": 48
1478
+ },
1479
+ "id": {
1480
+ "type": "string",
1481
+ "maxLength": 48
1482
+ }
1483
+ },
1484
+ "additionalProperties": false
1485
+ },
1486
+ "outputIds": {
1487
+ "type": "array",
1488
+ "items": {
1489
+ "type": "array",
1490
+ "items": {
1491
+ "type": "string",
1492
+ "maxLength": 255
1493
+ },
1494
+ "maxItems": 100
1495
+ },
1496
+ "maxItems": 100
1497
+ }
1498
+ },
1499
+ "required": [
1500
+ "type"
1501
+ ],
1502
+ "additionalProperties": false
1503
+ },
1394
1504
  {
1395
1505
  "type": "object",
1396
1506
  "properties": {
@@ -2252,7 +2362,6 @@
2252
2362
  "onBoot",
2253
2363
  "onConnect",
2254
2364
  "onDisconnect",
2255
- "request",
2256
2365
  "udp",
2257
2366
  "webhook"
2258
2367
  ]
@@ -2286,7 +2395,6 @@
2286
2395
  "onConnect",
2287
2396
  "onDisconnect",
2288
2397
  "particle",
2289
- "request",
2290
2398
  "udp",
2291
2399
  "webhook"
2292
2400
  ]
@@ -3585,6 +3693,118 @@
3585
3693
  ],
3586
3694
  "additionalProperties": false
3587
3695
  },
3696
+ {
3697
+ "type": "object",
3698
+ "properties": {
3699
+ "key": {
3700
+ "type": "string",
3701
+ "maxLength": 1024
3702
+ },
3703
+ "type": {
3704
+ "type": "string",
3705
+ "enum": [
3706
+ "request"
3707
+ ]
3708
+ },
3709
+ "config": {
3710
+ "type": "object",
3711
+ "properties": {
3712
+ "method": {
3713
+ "type": "string",
3714
+ "enum": [
3715
+ "*",
3716
+ "delete",
3717
+ "get",
3718
+ "options",
3719
+ "patch",
3720
+ "post",
3721
+ "put"
3722
+ ]
3723
+ },
3724
+ "route": {
3725
+ "type": "string",
3726
+ "maxLength": 1024
3727
+ }
3728
+ },
3729
+ "additionalProperties": false
3730
+ },
3731
+ "meta": {
3732
+ "type": "object",
3733
+ "properties": {
3734
+ "category": {
3735
+ "type": "string",
3736
+ "enum": [
3737
+ "trigger"
3738
+ ]
3739
+ },
3740
+ "name": {
3741
+ "type": "string",
3742
+ "enum": [
3743
+ "request"
3744
+ ]
3745
+ },
3746
+ "label": {
3747
+ "type": "string",
3748
+ "minLength": 1,
3749
+ "maxLength": 255
3750
+ },
3751
+ "x": {
3752
+ "type": "number"
3753
+ },
3754
+ "y": {
3755
+ "type": "number"
3756
+ },
3757
+ "uiId": {
3758
+ "type": "string",
3759
+ "maxLength": 48
3760
+ },
3761
+ "description": {
3762
+ "type": "string",
3763
+ "maxLength": 32767
3764
+ },
3765
+ "icon": {
3766
+ "type": "string",
3767
+ "maxLength": 1024
3768
+ },
3769
+ "color": {
3770
+ "type": "string",
3771
+ "maxLength": 1024
3772
+ },
3773
+ "inputCount": {
3774
+ "type": "number"
3775
+ },
3776
+ "outputCount": {
3777
+ "type": "number"
3778
+ },
3779
+ "triggerId": {
3780
+ "type": "string",
3781
+ "maxLength": 48
3782
+ },
3783
+ "id": {
3784
+ "type": "string",
3785
+ "maxLength": 48
3786
+ }
3787
+ },
3788
+ "additionalProperties": false
3789
+ },
3790
+ "outputIds": {
3791
+ "type": "array",
3792
+ "items": {
3793
+ "type": "array",
3794
+ "items": {
3795
+ "type": "string",
3796
+ "maxLength": 255
3797
+ },
3798
+ "maxItems": 100
3799
+ },
3800
+ "maxItems": 100
3801
+ }
3802
+ },
3803
+ "required": [
3804
+ "type"
3805
+ ],
3806
+ "additionalProperties": false
3807
+ },
3588
3808
  {
3589
3809
  "type": "object",
3590
3810
  "properties": {
@@ -89,7 +89,6 @@
89
89
  "onBoot",
90
90
  "onConnect",
91
91
  "onDisconnect",
92
- "request",
93
92
  "udp",
94
93
  "webhook"
95
94
  ]
@@ -123,7 +122,6 @@
123
122
  "onConnect",
124
123
  "onDisconnect",
125
124
  "particle",
126
- "request",
127
125
  "udp",
128
126
  "webhook"
129
127
  ]
@@ -1422,6 +1420,118 @@
1422
1420
  ],
1423
1421
  "additionalProperties": false
1424
1422
  },
1423
+ {
1424
+ "type": "object",
1425
+ "properties": {
1426
+ "key": {
1427
+ "type": "string",
1428
+ "maxLength": 1024
1429
+ },
1430
+ "type": {
1431
+ "type": "string",
1432
+ "enum": [
1433
+ "request"
1434
+ ]
1435
+ },
1436
+ "config": {
1437
+ "type": "object",
1438
+ "properties": {
1439
+ "method": {
1440
+ "type": "string",
1441
+ "enum": [
1442
+ "*",
1443
+ "delete",
1444
+ "get",
1445
+ "options",
1446
+ "patch",
1447
+ "post",
1448
+ "put"
1449
+ ]
1450
+ },
1451
+ "route": {
1452
+ "type": "string",
1453
+ "maxLength": 1024
1454
+ }
1455
+ },
1456
+ "additionalProperties": false
1457
+ },
1458
+ "meta": {
1459
+ "type": "object",
1460
+ "properties": {
1461
+ "category": {
1462
+ "type": "string",
1463
+ "enum": [
1464
+ "trigger"
1465
+ ]
1466
+ },
1467
+ "name": {
1468
+ "type": "string",
1469
+ "enum": [
1470
+ "request"
1471
+ ]
1472
+ },
1473
+ "label": {
1474
+ "type": "string",
1475
+ "minLength": 1,
1476
+ "maxLength": 255
1477
+ },
1478
+ "x": {
1479
+ "type": "number"
1480
+ },
1481
+ "y": {
1482
+ "type": "number"
1483
+ },
1484
+ "uiId": {
1485
+ "type": "string",
1486
+ "maxLength": 48
1487
+ },
1488
+ "description": {
1489
+ "type": "string",
1490
+ "maxLength": 32767
1491
+ },
1492
+ "icon": {
1493
+ "type": "string",
1494
+ "maxLength": 1024
1495
+ },
1496
+ "color": {
1497
+ "type": "string",
1498
+ "maxLength": 1024
1499
+ },
1500
+ "inputCount": {
1501
+ "type": "number"
1502
+ },
1503
+ "outputCount": {
1504
+ "type": "number"
1505
+ },
1506
+ "triggerId": {
1507
+ "type": "string",
1508
+ "maxLength": 48
1509
+ },
1510
+ "id": {
1511
+ "type": "string",
1512
+ "maxLength": 48
1513
+ }
1514
+ },
1515
+ "additionalProperties": false
1516
+ },
1517
+ "outputIds": {
1518
+ "type": "array",
1519
+ "items": {
1520
+ "type": "array",
1521
+ "items": {
1522
+ "type": "string",
1523
+ "maxLength": 255
1524
+ },
1525
+ "maxItems": 100
1526
+ },
1527
+ "maxItems": 100
1528
+ }
1529
+ },
1530
+ "required": [
1531
+ "type"
1532
+ ],
1533
+ "additionalProperties": false
1534
+ },
1425
1535
  {
1426
1536
  "type": "object",
1427
1537
  "properties": {
@@ -2302,7 +2412,6 @@
2302
2412
  "onBoot",
2303
2413
  "onConnect",
2304
2414
  "onDisconnect",
2305
- "request",
2306
2415
  "udp",
2307
2416
  "webhook"
2308
2417
  ]
@@ -2336,7 +2445,6 @@
2336
2445
  "onConnect",
2337
2446
  "onDisconnect",
2338
2447
  "particle",
2339
- "request",
2340
2448
  "udp",
2341
2449
  "webhook"
2342
2450
  ]
@@ -3635,6 +3743,118 @@
3635
3743
  ],
3636
3744
  "additionalProperties": false
3637
3745
  },
3746
+ {
3747
+ "type": "object",
3748
+ "properties": {
3749
+ "key": {
3750
+ "type": "string",
3751
+ "maxLength": 1024
3752
+ },
3753
+ "type": {
3754
+ "type": "string",
3755
+ "enum": [
3756
+ "request"
3757
+ ]
3758
+ },
3759
+ "config": {
3760
+ "type": "object",
3761
+ "properties": {
3762
+ "method": {
3763
+ "type": "string",
3764
+ "enum": [
3765
+ "*",
3766
+ "delete",
3767
+ "get",
3768
+ "options",
3769
+ "patch",
3770
+ "post",
3771
+ "put"
3772
+ ]
3773
+ },
3774
+ "route": {
3775
+ "type": "string",
3776
+ "maxLength": 1024
3777
+ }
3778
+ },
3779
+ "additionalProperties": false
3780
+ },
3781
+ "meta": {
3782
+ "type": "object",
3783
+ "properties": {
3784
+ "category": {
3785
+ "type": "string",
3786
+ "enum": [
3787
+ "trigger"
3788
+ ]
3789
+ },
3790
+ "name": {
3791
+ "type": "string",
3792
+ "enum": [
3793
+ "request"
3794
+ ]
3795
+ },
3796
+ "label": {
3797
+ "type": "string",
3798
+ "minLength": 1,
3799
+ "maxLength": 255
3800
+ },
3801
+ "x": {
3802
+ "type": "number"
3803
+ },
3804
+ "y": {
3805
+ "type": "number"
3806
+ },
3807
+ "uiId": {
3808
+ "type": "string",
3809
+ "maxLength": 48
3810
+ },
3811
+ "description": {
3812
+ "type": "string",
3813
+ "maxLength": 32767
3814
+ },
3815
+ "icon": {
3816
+ "type": "string",
3817
+ "maxLength": 1024
3818
+ },
3819
+ "color": {
3820
+ "type": "string",
3821
+ "maxLength": 1024
3822
+ },
3823
+ "inputCount": {
3824
+ "type": "number"
3825
+ },
3826
+ "outputCount": {
3827
+ "type": "number"
3828
+ },
3829
+ "triggerId": {
3830
+ "type": "string",
3831
+ "maxLength": 48
3832
+ },
3833
+ "id": {
3834
+ "type": "string",
3835
+ "maxLength": 48
3836
+ }
3837
+ },
3838
+ "additionalProperties": false
3839
+ },
3840
+ "outputIds": {
3841
+ "type": "array",
3842
+ "items": {
3843
+ "type": "array",
3844
+ "items": {
3845
+ "type": "string",
3846
+ "maxLength": 255
3847
+ },
3848
+ "maxItems": 100
3849
+ },
3850
+ "maxItems": 100
3851
+ }
3852
+ },
3853
+ "required": [
3854
+ "type"
3855
+ ],
3856
+ "additionalProperties": false
3857
+ },
3638
3858
  {
3639
3859
  "type": "object",
3640
3860
  "properties": {
@@ -4515,7 +4735,6 @@
4515
4735
  "onBoot",
4516
4736
  "onConnect",
4517
4737
  "onDisconnect",
4518
- "request",
4519
4738
  "udp",
4520
4739
  "webhook"
4521
4740
  ]
@@ -4549,7 +4768,6 @@
4549
4768
  "onConnect",
4550
4769
  "onDisconnect",
4551
4770
  "particle",
4552
- "request",
4553
4771
  "udp",
4554
4772
  "webhook"
4555
4773
  ]
@@ -5848,6 +6066,118 @@
5848
6066
  ],
5849
6067
  "additionalProperties": false
5850
6068
  },
6069
+ {
6070
+ "type": "object",
6071
+ "properties": {
6072
+ "key": {
6073
+ "type": "string",
6074
+ "maxLength": 1024
6075
+ },
6076
+ "type": {
6077
+ "type": "string",
6078
+ "enum": [
6079
+ "request"
6080
+ ]
6081
+ },
6082
+ "config": {
6083
+ "type": "object",
6084
+ "properties": {
6085
+ "method": {
6086
+ "type": "string",
6087
+ "enum": [
6088
+ "*",
6089
+ "delete",
6090
+ "get",
6091
+ "options",
6092
+ "patch",
6093
+ "post",
6094
+ "put"
6095
+ ]
6096
+ },
6097
+ "route": {
6098
+ "type": "string",
6099
+ "maxLength": 1024
6100
+ }
6101
+ },
6102
+ "additionalProperties": false
6103
+ },
6104
+ "meta": {
6105
+ "type": "object",
6106
+ "properties": {
6107
+ "category": {
6108
+ "type": "string",
6109
+ "enum": [
6110
+ "trigger"
6111
+ ]
6112
+ },
6113
+ "name": {
6114
+ "type": "string",
6115
+ "enum": [
6116
+ "request"
6117
+ ]
6118
+ },
6119
+ "label": {
6120
+ "type": "string",
6121
+ "minLength": 1,
6122
+ "maxLength": 255
6123
+ },
6124
+ "x": {
6125
+ "type": "number"
6126
+ },
6127
+ "y": {
6128
+ "type": "number"
6129
+ },
6130
+ "uiId": {
6131
+ "type": "string",
6132
+ "maxLength": 48
6133
+ },
6134
+ "description": {
6135
+ "type": "string",
6136
+ "maxLength": 32767
6137
+ },
6138
+ "icon": {
6139
+ "type": "string",
6140
+ "maxLength": 1024
6141
+ },
6142
+ "color": {
6143
+ "type": "string",
6144
+ "maxLength": 1024
6145
+ },
6146
+ "inputCount": {
6147
+ "type": "number"
6148
+ },
6149
+ "outputCount": {
6150
+ "type": "number"
6151
+ },
6152
+ "triggerId": {
6153
+ "type": "string",
6154
+ "maxLength": 48
6155
+ },
6156
+ "id": {
6157
+ "type": "string",
6158
+ "maxLength": 48
6159
+ }
6160
+ },
6161
+ "additionalProperties": false
6162
+ },
6163
+ "outputIds": {
6164
+ "type": "array",
6165
+ "items": {
6166
+ "type": "array",
6167
+ "items": {
6168
+ "type": "string",
6169
+ "maxLength": 255
6170
+ },
6171
+ "maxItems": 100
6172
+ },
6173
+ "maxItems": 100
6174
+ }
6175
+ },
6176
+ "required": [
6177
+ "type"
6178
+ ],
6179
+ "additionalProperties": false
6180
+ },
5851
6181
  {
5852
6182
  "type": "object",
5853
6183
  "properties": {