homey-api 1.10.5 → 1.10.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -66,6 +66,25 @@
|
|
|
66
66
|
},
|
|
67
67
|
"parameters": {}
|
|
68
68
|
},
|
|
69
|
+
"getApp": {
|
|
70
|
+
"method": "get",
|
|
71
|
+
"path": "/app/:id",
|
|
72
|
+
"private": false,
|
|
73
|
+
"scopes": [
|
|
74
|
+
"homey.app.readonly"
|
|
75
|
+
],
|
|
76
|
+
"crud": {
|
|
77
|
+
"type": "getOne",
|
|
78
|
+
"item": "App"
|
|
79
|
+
},
|
|
80
|
+
"parameters": {
|
|
81
|
+
"id": {
|
|
82
|
+
"in": "path",
|
|
83
|
+
"type": "string",
|
|
84
|
+
"required": true
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
69
88
|
"installFromAppStore": {
|
|
70
89
|
"method": "post",
|
|
71
90
|
"path": "/store",
|
|
@@ -140,7 +159,7 @@
|
|
|
140
159
|
}
|
|
141
160
|
},
|
|
142
161
|
"setAppSetting": {
|
|
143
|
-
"method": "
|
|
162
|
+
"method": "put",
|
|
144
163
|
"path": "/app/:id/setting/:name",
|
|
145
164
|
"private": false,
|
|
146
165
|
"scopes": [
|
|
@@ -164,6 +183,26 @@
|
|
|
164
183
|
}
|
|
165
184
|
}
|
|
166
185
|
},
|
|
186
|
+
"unsetAppSetting": {
|
|
187
|
+
"method": "delete",
|
|
188
|
+
"path": "/app/:id/setting/:name",
|
|
189
|
+
"private": false,
|
|
190
|
+
"scopes": [
|
|
191
|
+
"homey.app.control"
|
|
192
|
+
],
|
|
193
|
+
"parameters": {
|
|
194
|
+
"name": {
|
|
195
|
+
"in": "path",
|
|
196
|
+
"type": "string",
|
|
197
|
+
"required": true
|
|
198
|
+
},
|
|
199
|
+
"id": {
|
|
200
|
+
"in": "path",
|
|
201
|
+
"type": "string",
|
|
202
|
+
"required": true
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
},
|
|
167
206
|
"getAppStd": {
|
|
168
207
|
"method": "post",
|
|
169
208
|
"path": "/app/:id/crashlog",
|
|
@@ -325,6 +364,15 @@
|
|
|
325
364
|
],
|
|
326
365
|
"parameters": {}
|
|
327
366
|
},
|
|
367
|
+
"getLog": {
|
|
368
|
+
"method": "get",
|
|
369
|
+
"path": "/bridge/log",
|
|
370
|
+
"private": false,
|
|
371
|
+
"scopes": [
|
|
372
|
+
"homey.system.readonly"
|
|
373
|
+
],
|
|
374
|
+
"parameters": {}
|
|
375
|
+
},
|
|
328
376
|
"pairBridge": {
|
|
329
377
|
"method": "post",
|
|
330
378
|
"path": "/bridge",
|
|
@@ -744,6 +792,9 @@
|
|
|
744
792
|
},
|
|
745
793
|
"virtualClass": {
|
|
746
794
|
"type": "string"
|
|
795
|
+
},
|
|
796
|
+
"uiIndicator": {
|
|
797
|
+
"type": "string"
|
|
747
798
|
}
|
|
748
799
|
}
|
|
749
800
|
}
|
|
@@ -1041,8 +1092,7 @@
|
|
|
1041
1092
|
},
|
|
1042
1093
|
"data": {
|
|
1043
1094
|
"in": "body",
|
|
1044
|
-
"type": "object"
|
|
1045
|
-
"required": true
|
|
1095
|
+
"type": "object"
|
|
1046
1096
|
}
|
|
1047
1097
|
}
|
|
1048
1098
|
},
|
|
@@ -1066,8 +1116,7 @@
|
|
|
1066
1116
|
},
|
|
1067
1117
|
"data": {
|
|
1068
1118
|
"in": "body",
|
|
1069
|
-
"type": "object"
|
|
1070
|
-
"required": true
|
|
1119
|
+
"type": "object"
|
|
1071
1120
|
}
|
|
1072
1121
|
}
|
|
1073
1122
|
},
|
|
@@ -1091,8 +1140,7 @@
|
|
|
1091
1140
|
"required": true,
|
|
1092
1141
|
"properties": {
|
|
1093
1142
|
"name": {
|
|
1094
|
-
"type": "string"
|
|
1095
|
-
"required": true
|
|
1143
|
+
"type": "string"
|
|
1096
1144
|
},
|
|
1097
1145
|
"data": {
|
|
1098
1146
|
"required": true
|
|
@@ -1622,6 +1670,10 @@
|
|
|
1622
1670
|
"in": "body",
|
|
1623
1671
|
"type": "object"
|
|
1624
1672
|
},
|
|
1673
|
+
"state": {
|
|
1674
|
+
"in": "body",
|
|
1675
|
+
"type": "object"
|
|
1676
|
+
},
|
|
1625
1677
|
"droptoken": {
|
|
1626
1678
|
"in": "body",
|
|
1627
1679
|
"type": "string"
|
|
@@ -1667,6 +1719,10 @@
|
|
|
1667
1719
|
"in": "body",
|
|
1668
1720
|
"type": "object"
|
|
1669
1721
|
},
|
|
1722
|
+
"state": {
|
|
1723
|
+
"in": "body",
|
|
1724
|
+
"type": "object"
|
|
1725
|
+
},
|
|
1670
1726
|
"droptoken": {
|
|
1671
1727
|
"in": "body",
|
|
1672
1728
|
"type": "string"
|
|
@@ -1807,6 +1863,21 @@
|
|
|
1807
1863
|
"required": true
|
|
1808
1864
|
}
|
|
1809
1865
|
}
|
|
1866
|
+
},
|
|
1867
|
+
"triggerAdvancedFlow": {
|
|
1868
|
+
"method": "post",
|
|
1869
|
+
"path": "/advancedflow/:id/trigger",
|
|
1870
|
+
"private": false,
|
|
1871
|
+
"scopes": [
|
|
1872
|
+
"homey.flow.start"
|
|
1873
|
+
],
|
|
1874
|
+
"parameters": {
|
|
1875
|
+
"id": {
|
|
1876
|
+
"in": "path",
|
|
1877
|
+
"type": "string",
|
|
1878
|
+
"required": true
|
|
1879
|
+
}
|
|
1880
|
+
}
|
|
1810
1881
|
}
|
|
1811
1882
|
}
|
|
1812
1883
|
},
|
|
@@ -1856,16 +1927,16 @@
|
|
|
1856
1927
|
"idCamelCase": "geolocation",
|
|
1857
1928
|
"items": {},
|
|
1858
1929
|
"operations": {
|
|
1859
|
-
"
|
|
1930
|
+
"getOptionAddress": {
|
|
1860
1931
|
"method": "GET",
|
|
1861
|
-
"path": "/option/
|
|
1932
|
+
"path": "/option/address",
|
|
1862
1933
|
"scopes": [
|
|
1863
1934
|
"homey.geolocation.readonly"
|
|
1864
1935
|
]
|
|
1865
1936
|
},
|
|
1866
|
-
"
|
|
1937
|
+
"setOptionAddress": {
|
|
1867
1938
|
"method": "PUT",
|
|
1868
|
-
"path": "/option/
|
|
1939
|
+
"path": "/option/address",
|
|
1869
1940
|
"scopes": [
|
|
1870
1941
|
"homey.geolocation"
|
|
1871
1942
|
],
|
|
@@ -1876,9 +1947,9 @@
|
|
|
1876
1947
|
}
|
|
1877
1948
|
}
|
|
1878
1949
|
},
|
|
1879
|
-
"
|
|
1950
|
+
"unsetOptionAddress": {
|
|
1880
1951
|
"method": "DELETE",
|
|
1881
|
-
"path": "/option/
|
|
1952
|
+
"path": "/option/address",
|
|
1882
1953
|
"scopes": [
|
|
1883
1954
|
"homey.geolocation"
|
|
1884
1955
|
]
|
|
@@ -1910,6 +1981,33 @@
|
|
|
1910
1981
|
"homey.geolocation"
|
|
1911
1982
|
]
|
|
1912
1983
|
},
|
|
1984
|
+
"getOptionMode": {
|
|
1985
|
+
"method": "GET",
|
|
1986
|
+
"path": "/option/mode",
|
|
1987
|
+
"scopes": [
|
|
1988
|
+
"homey.geolocation.readonly"
|
|
1989
|
+
]
|
|
1990
|
+
},
|
|
1991
|
+
"setOptionMode": {
|
|
1992
|
+
"method": "PUT",
|
|
1993
|
+
"path": "/option/mode",
|
|
1994
|
+
"scopes": [
|
|
1995
|
+
"homey.geolocation"
|
|
1996
|
+
],
|
|
1997
|
+
"parameters": {
|
|
1998
|
+
"value": {
|
|
1999
|
+
"in": "body",
|
|
2000
|
+
"required": true
|
|
2001
|
+
}
|
|
2002
|
+
}
|
|
2003
|
+
},
|
|
2004
|
+
"unsetOptionMode": {
|
|
2005
|
+
"method": "DELETE",
|
|
2006
|
+
"path": "/option/mode",
|
|
2007
|
+
"scopes": [
|
|
2008
|
+
"homey.geolocation"
|
|
2009
|
+
]
|
|
2010
|
+
},
|
|
1913
2011
|
"getState": {
|
|
1914
2012
|
"method": "get",
|
|
1915
2013
|
"path": "/state",
|
|
@@ -2688,6 +2786,26 @@
|
|
|
2688
2786
|
}
|
|
2689
2787
|
}
|
|
2690
2788
|
},
|
|
2789
|
+
"replay": {
|
|
2790
|
+
"method": "post",
|
|
2791
|
+
"path": "/replay",
|
|
2792
|
+
"private": false,
|
|
2793
|
+
"scopes": [
|
|
2794
|
+
"homey.system"
|
|
2795
|
+
],
|
|
2796
|
+
"parameters": {
|
|
2797
|
+
"frequency": {
|
|
2798
|
+
"in": "body",
|
|
2799
|
+
"type": "string",
|
|
2800
|
+
"required": true
|
|
2801
|
+
},
|
|
2802
|
+
"data": {
|
|
2803
|
+
"in": "body",
|
|
2804
|
+
"type": "array",
|
|
2805
|
+
"required": true
|
|
2806
|
+
}
|
|
2807
|
+
}
|
|
2808
|
+
},
|
|
2691
2809
|
"emulate": {
|
|
2692
2810
|
"method": "post",
|
|
2693
2811
|
"path": "/:frequency/emulate",
|
|
@@ -3213,8 +3331,8 @@
|
|
|
3213
3331
|
"id": "vdevice",
|
|
3214
3332
|
"idCamelCase": "vdevice",
|
|
3215
3333
|
"items": {
|
|
3216
|
-
"
|
|
3217
|
-
"id": "
|
|
3334
|
+
"VirtualDriverDummySocket": {
|
|
3335
|
+
"id": "virtualdriverdummysocket",
|
|
3218
3336
|
"schema": {
|
|
3219
3337
|
"type": "object",
|
|
3220
3338
|
"properties": {
|
|
@@ -3224,8 +3342,8 @@
|
|
|
3224
3342
|
}
|
|
3225
3343
|
}
|
|
3226
3344
|
},
|
|
3227
|
-
"
|
|
3228
|
-
"id": "
|
|
3345
|
+
"VirtualDeviceDummySocket": {
|
|
3346
|
+
"id": "virtualdevicedummysocket",
|
|
3229
3347
|
"schema": {
|
|
3230
3348
|
"type": "object",
|
|
3231
3349
|
"properties": {
|
|
@@ -3472,16 +3590,13 @@
|
|
|
3472
3590
|
"required": true,
|
|
3473
3591
|
"properties": {
|
|
3474
3592
|
"name": {
|
|
3475
|
-
"type": "string"
|
|
3476
|
-
"required": true
|
|
3593
|
+
"type": "string"
|
|
3477
3594
|
},
|
|
3478
3595
|
"icon": {
|
|
3479
|
-
"type": "string"
|
|
3480
|
-
"required": true
|
|
3596
|
+
"type": "string"
|
|
3481
3597
|
},
|
|
3482
3598
|
"parent": {
|
|
3483
|
-
"type": "string"
|
|
3484
|
-
"required": true
|
|
3599
|
+
"type": "string"
|
|
3485
3600
|
}
|
|
3486
3601
|
}
|
|
3487
3602
|
}
|