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.
@@ -16,22 +16,6 @@
16
16
  }
17
17
  }
18
18
  },
19
- "ManagerArp": {
20
- "id": "arp",
21
- "idCamelCase": "arp",
22
- "items": {},
23
- "operations": {
24
- "getState": {
25
- "method": "get",
26
- "path": "/state",
27
- "private": false,
28
- "scopes": [
29
- "homey.system.readonly"
30
- ],
31
- "parameters": {}
32
- }
33
- }
34
- },
35
19
  "ManagerApps": {
36
20
  "id": "apps",
37
21
  "idCamelCase": "apps",
@@ -82,6 +66,25 @@
82
66
  },
83
67
  "parameters": {}
84
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
+ },
85
88
  "installFromAppStore": {
86
89
  "method": "post",
87
90
  "path": "/store",
@@ -274,6 +277,37 @@
274
277
  "required": true
275
278
  }
276
279
  }
280
+ },
281
+ "getAppLocales": {
282
+ "method": "get",
283
+ "path": "/app/:id/locale",
284
+ "private": false,
285
+ "scopes": [
286
+ "homey.app.readonly"
287
+ ],
288
+ "parameters": {
289
+ "id": {
290
+ "in": "path",
291
+ "type": "string",
292
+ "required": true
293
+ }
294
+ }
295
+ }
296
+ }
297
+ },
298
+ "ManagerArp": {
299
+ "id": "arp",
300
+ "idCamelCase": "arp",
301
+ "items": {},
302
+ "operations": {
303
+ "getState": {
304
+ "method": "get",
305
+ "path": "/state",
306
+ "private": false,
307
+ "scopes": [
308
+ "homey.system.readonly"
309
+ ],
310
+ "parameters": {}
277
311
  }
278
312
  }
279
313
  },
@@ -426,6 +460,15 @@
426
460
  ],
427
461
  "parameters": {}
428
462
  },
463
+ "getBridges": {
464
+ "method": "get",
465
+ "path": "/bridge",
466
+ "private": false,
467
+ "scopes": [
468
+ "homey.system.readonly"
469
+ ],
470
+ "parameters": {}
471
+ },
429
472
  "pairBridge": {
430
473
  "method": "post",
431
474
  "path": "/bridge",
@@ -845,6 +888,9 @@
845
888
  },
846
889
  "virtualClass": {
847
890
  "type": "string"
891
+ },
892
+ "uiIndicator": {
893
+ "type": "string"
848
894
  }
849
895
  }
850
896
  }
@@ -975,6 +1021,28 @@
975
1021
  "required": true
976
1022
  }
977
1023
  }
1024
+ },
1025
+ "runApp": {
1026
+ "method": "post",
1027
+ "path": "/",
1028
+ "private": false,
1029
+ "scopes": [
1030
+ "homey.app"
1031
+ ],
1032
+ "parameters": {
1033
+ "debug": {
1034
+ "in": "body",
1035
+ "type": "string"
1036
+ },
1037
+ "env": {
1038
+ "in": "body",
1039
+ "type": "string"
1040
+ },
1041
+ "purgeSettings": {
1042
+ "in": "body",
1043
+ "type": "string"
1044
+ }
1045
+ }
978
1046
  }
979
1047
  }
980
1048
  },
@@ -1192,8 +1260,7 @@
1192
1260
  },
1193
1261
  "data": {
1194
1262
  "in": "body",
1195
- "type": "object",
1196
- "required": true
1263
+ "type": "object"
1197
1264
  }
1198
1265
  }
1199
1266
  },
@@ -1217,8 +1284,7 @@
1217
1284
  },
1218
1285
  "data": {
1219
1286
  "in": "body",
1220
- "type": "object",
1221
- "required": true
1287
+ "type": "object"
1222
1288
  }
1223
1289
  }
1224
1290
  },
@@ -1242,8 +1308,7 @@
1242
1308
  "required": true,
1243
1309
  "properties": {
1244
1310
  "name": {
1245
- "type": "string",
1246
- "required": true
1311
+ "type": "string"
1247
1312
  },
1248
1313
  "data": {
1249
1314
  "required": true
@@ -1867,6 +1932,10 @@
1867
1932
  "in": "body",
1868
1933
  "type": "object"
1869
1934
  },
1935
+ "state": {
1936
+ "in": "body",
1937
+ "type": "object"
1938
+ },
1870
1939
  "droptoken": {
1871
1940
  "in": "body",
1872
1941
  "type": "string"
@@ -1912,6 +1981,10 @@
1912
1981
  "in": "body",
1913
1982
  "type": "object"
1914
1983
  },
1984
+ "state": {
1985
+ "in": "body",
1986
+ "type": "object"
1987
+ },
1915
1988
  "droptoken": {
1916
1989
  "in": "body",
1917
1990
  "type": "string"
@@ -2052,6 +2125,21 @@
2052
2125
  "required": true
2053
2126
  }
2054
2127
  }
2128
+ },
2129
+ "triggerAdvancedFlow": {
2130
+ "method": "post",
2131
+ "path": "/advancedflow/:id/trigger",
2132
+ "private": false,
2133
+ "scopes": [
2134
+ "homey.flow.start"
2135
+ ],
2136
+ "parameters": {
2137
+ "id": {
2138
+ "in": "path",
2139
+ "type": "string",
2140
+ "required": true
2141
+ }
2142
+ }
2055
2143
  }
2056
2144
  }
2057
2145
  },
@@ -2101,16 +2189,16 @@
2101
2189
  "idCamelCase": "geolocation",
2102
2190
  "items": {},
2103
2191
  "operations": {
2104
- "getOptionMode": {
2192
+ "getOptionAddress": {
2105
2193
  "method": "GET",
2106
- "path": "/option/mode",
2194
+ "path": "/option/address",
2107
2195
  "scopes": [
2108
2196
  "homey.geolocation.readonly"
2109
2197
  ]
2110
2198
  },
2111
- "setOptionMode": {
2199
+ "setOptionAddress": {
2112
2200
  "method": "PUT",
2113
- "path": "/option/mode",
2201
+ "path": "/option/address",
2114
2202
  "scopes": [
2115
2203
  "homey.geolocation"
2116
2204
  ],
@@ -2121,9 +2209,9 @@
2121
2209
  }
2122
2210
  }
2123
2211
  },
2124
- "unsetOptionMode": {
2212
+ "unsetOptionAddress": {
2125
2213
  "method": "DELETE",
2126
- "path": "/option/mode",
2214
+ "path": "/option/address",
2127
2215
  "scopes": [
2128
2216
  "homey.geolocation"
2129
2217
  ]
@@ -2476,33 +2564,6 @@
2476
2564
  "homey.system"
2477
2565
  ]
2478
2566
  },
2479
- "getOptionBrightness": {
2480
- "method": "GET",
2481
- "path": "/option/brightness",
2482
- "scopes": [
2483
- "homey.system.readonly"
2484
- ]
2485
- },
2486
- "setOptionBrightness": {
2487
- "method": "PUT",
2488
- "path": "/option/brightness",
2489
- "scopes": [
2490
- "homey.system"
2491
- ],
2492
- "parameters": {
2493
- "value": {
2494
- "in": "body",
2495
- "required": true
2496
- }
2497
- }
2498
- },
2499
- "unsetOptionBrightness": {
2500
- "method": "DELETE",
2501
- "path": "/option/brightness",
2502
- "scopes": [
2503
- "homey.system"
2504
- ]
2505
- },
2506
2567
  "getState": {
2507
2568
  "method": "get",
2508
2569
  "path": "/state",
@@ -2984,6 +3045,26 @@
2984
3045
  }
2985
3046
  }
2986
3047
  },
3048
+ "replay": {
3049
+ "method": "post",
3050
+ "path": "/replay",
3051
+ "private": false,
3052
+ "scopes": [
3053
+ "homey.system"
3054
+ ],
3055
+ "parameters": {
3056
+ "frequency": {
3057
+ "in": "body",
3058
+ "type": "string",
3059
+ "required": true
3060
+ },
3061
+ "data": {
3062
+ "in": "body",
3063
+ "type": "array",
3064
+ "required": true
3065
+ }
3066
+ }
3067
+ },
2987
3068
  "emulate": {
2988
3069
  "method": "post",
2989
3070
  "path": "/:frequency/emulate",
@@ -3064,6 +3145,22 @@
3064
3145
  }
3065
3146
  }
3066
3147
  },
3148
+ "ManagerSafety": {
3149
+ "id": "safety",
3150
+ "idCamelCase": "safety",
3151
+ "items": {},
3152
+ "operations": {
3153
+ "getState": {
3154
+ "method": "get",
3155
+ "path": "/state",
3156
+ "private": false,
3157
+ "scopes": [
3158
+ "homey.system.readonly"
3159
+ ],
3160
+ "parameters": {}
3161
+ }
3162
+ }
3163
+ },
3067
3164
  "ManagerSatellites": {
3068
3165
  "id": "satellites",
3069
3166
  "idCamelCase": "satellites",
@@ -3080,6 +3177,22 @@
3080
3177
  }
3081
3178
  }
3082
3179
  },
3180
+ "ManagerSecurity": {
3181
+ "id": "security",
3182
+ "idCamelCase": "security",
3183
+ "items": {},
3184
+ "operations": {
3185
+ "getState": {
3186
+ "method": "get",
3187
+ "path": "/state",
3188
+ "private": false,
3189
+ "scopes": [
3190
+ "homey.system.readonly"
3191
+ ],
3192
+ "parameters": {}
3193
+ }
3194
+ }
3195
+ },
3083
3196
  "ManagerSessions": {
3084
3197
  "id": "sessions",
3085
3198
  "idCamelCase": "sessions",
@@ -3267,24 +3380,6 @@
3267
3380
  "homey.system"
3268
3381
  ],
3269
3382
  "parameters": {}
3270
- },
3271
- "startBluFi": {
3272
- "method": "post",
3273
- "path": "/blufi/start",
3274
- "private": false,
3275
- "scopes": [
3276
- "homey.system"
3277
- ],
3278
- "parameters": {}
3279
- },
3280
- "stopBluFi": {
3281
- "method": "post",
3282
- "path": "/blufi/stop",
3283
- "private": false,
3284
- "scopes": [
3285
- "homey.system"
3286
- ],
3287
- "parameters": {}
3288
3383
  }
3289
3384
  }
3290
3385
  },
@@ -3394,6 +3489,13 @@
3394
3489
  "type": "boolean"
3395
3490
  }
3396
3491
  }
3492
+ },
3493
+ "abortInstallUpdate": {
3494
+ "method": "delete",
3495
+ "path": "/update",
3496
+ "private": false,
3497
+ "scopes": [],
3498
+ "parameters": {}
3397
3499
  }
3398
3500
  }
3399
3501
  },
@@ -3619,8 +3721,8 @@
3619
3721
  "id": "vdevice",
3620
3722
  "idCamelCase": "vdevice",
3621
3723
  "items": {
3622
- "VirtualDriverVirtualSocket": {
3623
- "id": "virtualdrivervirtualsocket",
3724
+ "VirtualDriverDummySocket": {
3725
+ "id": "virtualdriverdummysocket",
3624
3726
  "schema": {
3625
3727
  "type": "object",
3626
3728
  "properties": {
@@ -3630,8 +3732,8 @@
3630
3732
  }
3631
3733
  }
3632
3734
  },
3633
- "VirtualDeviceVirtualSocket": {
3634
- "id": "virtualdevicevirtualsocket",
3735
+ "VirtualDeviceDummySocket": {
3736
+ "id": "virtualdevicedummysocket",
3635
3737
  "schema": {
3636
3738
  "type": "object",
3637
3739
  "properties": {
@@ -3728,6 +3830,72 @@
3728
3830
  }
3729
3831
  }
3730
3832
  }
3833
+ },
3834
+ "VirtualDriverVirtualSocket": {
3835
+ "id": "virtualdrivervirtualsocket",
3836
+ "schema": {
3837
+ "type": "object",
3838
+ "properties": {
3839
+ "id": {
3840
+ "type": "string"
3841
+ }
3842
+ }
3843
+ }
3844
+ },
3845
+ "VirtualDeviceVirtualSocket": {
3846
+ "id": "virtualdevicevirtualsocket",
3847
+ "schema": {
3848
+ "type": "object",
3849
+ "properties": {
3850
+ "id": {
3851
+ "type": "string"
3852
+ }
3853
+ }
3854
+ }
3855
+ },
3856
+ "VirtualDriverVirtualButton": {
3857
+ "id": "virtualdrivervirtualbutton",
3858
+ "schema": {
3859
+ "type": "object",
3860
+ "properties": {
3861
+ "id": {
3862
+ "type": "string"
3863
+ }
3864
+ }
3865
+ }
3866
+ },
3867
+ "VirtualDeviceVirtualButton": {
3868
+ "id": "virtualdevicevirtualbutton",
3869
+ "schema": {
3870
+ "type": "object",
3871
+ "properties": {
3872
+ "id": {
3873
+ "type": "string"
3874
+ }
3875
+ }
3876
+ }
3877
+ },
3878
+ "VirtualDriverVirtualIPCamera": {
3879
+ "id": "virtualdrivervirtualipcamera",
3880
+ "schema": {
3881
+ "type": "object",
3882
+ "properties": {
3883
+ "id": {
3884
+ "type": "string"
3885
+ }
3886
+ }
3887
+ }
3888
+ },
3889
+ "VirtualDeviceVirtualIPCamera": {
3890
+ "id": "virtualdevicevirtualipcamera",
3891
+ "schema": {
3892
+ "type": "object",
3893
+ "properties": {
3894
+ "id": {
3895
+ "type": "string"
3896
+ }
3897
+ }
3898
+ }
3731
3899
  }
3732
3900
  },
3733
3901
  "operations": {
@@ -3922,16 +4090,13 @@
3922
4090
  "required": true,
3923
4091
  "properties": {
3924
4092
  "name": {
3925
- "type": "string",
3926
- "required": true
4093
+ "type": "string"
3927
4094
  },
3928
4095
  "icon": {
3929
- "type": "string",
3930
- "required": true
4096
+ "type": "string"
3931
4097
  },
3932
4098
  "parent": {
3933
- "type": "string",
3934
- "required": true
4099
+ "type": "string"
3935
4100
  }
3936
4101
  }
3937
4102
  }