homey-api 1.7.8 → 1.9.0

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.
@@ -1,3 +1,4006 @@
1
1
  {
2
- "managers": {}
2
+ "managers": {
3
+ "ManagerApi": {
4
+ "id": "api",
5
+ "idCamelCase": "api",
6
+ "items": {},
7
+ "operations": {
8
+ "getState": {
9
+ "method": "get",
10
+ "path": "/state",
11
+ "private": false,
12
+ "scopes": [
13
+ "homey.system.readonly"
14
+ ],
15
+ "parameters": {}
16
+ }
17
+ }
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
+ "ManagerApps": {
36
+ "id": "apps",
37
+ "idCamelCase": "apps",
38
+ "items": {
39
+ "App": {
40
+ "id": "app",
41
+ "schema": {
42
+ "type": "object",
43
+ "properties": {
44
+ "id": {
45
+ "type": "string"
46
+ }
47
+ }
48
+ }
49
+ },
50
+ "AppSettings": {
51
+ "id": "appsettings",
52
+ "schema": {
53
+ "type": "object",
54
+ "properties": {
55
+ "id": {
56
+ "type": "string"
57
+ }
58
+ }
59
+ }
60
+ }
61
+ },
62
+ "operations": {
63
+ "getState": {
64
+ "method": "get",
65
+ "path": "/state",
66
+ "private": false,
67
+ "scopes": [
68
+ "homey.system.readonly"
69
+ ],
70
+ "parameters": {}
71
+ },
72
+ "getApps": {
73
+ "method": "get",
74
+ "path": "/app",
75
+ "private": false,
76
+ "scopes": [
77
+ "homey.app.readonly"
78
+ ],
79
+ "crud": {
80
+ "type": "getAll",
81
+ "item": "App"
82
+ },
83
+ "parameters": {}
84
+ },
85
+ "installFromAppStore": {
86
+ "method": "post",
87
+ "path": "/store",
88
+ "private": false,
89
+ "scopes": [
90
+ "homey.app"
91
+ ],
92
+ "parameters": {
93
+ "id": {
94
+ "in": "body",
95
+ "type": "string",
96
+ "required": true
97
+ },
98
+ "channel": {
99
+ "in": "body",
100
+ "type": "string"
101
+ }
102
+ }
103
+ },
104
+ "uninstallApp": {
105
+ "method": "delete",
106
+ "path": "/app/:id",
107
+ "private": false,
108
+ "scopes": [
109
+ "homey.app"
110
+ ],
111
+ "parameters": {
112
+ "id": {
113
+ "in": "path",
114
+ "type": "string",
115
+ "required": true
116
+ }
117
+ }
118
+ },
119
+ "getAppSettings": {
120
+ "method": "get",
121
+ "path": "/app/:id/setting",
122
+ "private": false,
123
+ "scopes": [
124
+ "homey.app.control"
125
+ ],
126
+ "crud": {
127
+ "type": "getOne",
128
+ "item": "AppSettings"
129
+ },
130
+ "parameters": {
131
+ "id": {
132
+ "in": "path",
133
+ "type": "string",
134
+ "required": true
135
+ }
136
+ }
137
+ },
138
+ "getAppSetting": {
139
+ "method": "get",
140
+ "path": "/app/:id/setting/:name",
141
+ "private": false,
142
+ "scopes": [
143
+ "homey.app.control"
144
+ ],
145
+ "parameters": {
146
+ "name": {
147
+ "in": "path",
148
+ "type": "string",
149
+ "required": true
150
+ },
151
+ "id": {
152
+ "in": "path",
153
+ "type": "string",
154
+ "required": true
155
+ }
156
+ }
157
+ },
158
+ "setAppSetting": {
159
+ "method": "get",
160
+ "path": "/app/:id/setting/:name",
161
+ "private": false,
162
+ "scopes": [
163
+ "homey.app.control"
164
+ ],
165
+ "parameters": {
166
+ "name": {
167
+ "in": "path",
168
+ "type": "string",
169
+ "required": true
170
+ },
171
+ "id": {
172
+ "in": "path",
173
+ "type": "string",
174
+ "required": true
175
+ },
176
+ "value": {
177
+ "in": "body",
178
+ "type": "object",
179
+ "required": true
180
+ }
181
+ }
182
+ },
183
+ "getAppStd": {
184
+ "method": "post",
185
+ "path": "/app/:id/crashlog",
186
+ "private": false,
187
+ "scopes": [
188
+ "homey.app.readonly"
189
+ ],
190
+ "parameters": {
191
+ "id": {
192
+ "in": "path",
193
+ "type": "string",
194
+ "required": true
195
+ },
196
+ "message": {
197
+ "in": "body",
198
+ "type": "string",
199
+ "required": true
200
+ }
201
+ }
202
+ },
203
+ "updateApp": {
204
+ "method": "put",
205
+ "path": "/app/:id",
206
+ "private": false,
207
+ "scopes": [
208
+ "homey.app"
209
+ ],
210
+ "crud": {
211
+ "type": "updateOne",
212
+ "item": "App"
213
+ },
214
+ "parameters": {
215
+ "id": {
216
+ "in": "path",
217
+ "type": "string",
218
+ "required": true
219
+ },
220
+ "app": {
221
+ "in": "body",
222
+ "type": "object",
223
+ "root": true,
224
+ "required": true,
225
+ "properties": {
226
+ "autoupdate": {
227
+ "type": "boolean"
228
+ }
229
+ }
230
+ }
231
+ }
232
+ },
233
+ "enableApp": {
234
+ "method": "put",
235
+ "path": "/app/:id/enable",
236
+ "private": false,
237
+ "scopes": [
238
+ "homey.app"
239
+ ],
240
+ "parameters": {
241
+ "id": {
242
+ "in": "path",
243
+ "type": "string",
244
+ "required": true
245
+ }
246
+ }
247
+ },
248
+ "disableApp": {
249
+ "method": "put",
250
+ "path": "/app/:id/disable",
251
+ "private": false,
252
+ "scopes": [
253
+ "homey.app"
254
+ ],
255
+ "parameters": {
256
+ "id": {
257
+ "in": "path",
258
+ "type": "string",
259
+ "required": true
260
+ }
261
+ }
262
+ },
263
+ "restartApp": {
264
+ "method": "post",
265
+ "path": "/app/:id/restart",
266
+ "private": false,
267
+ "scopes": [
268
+ "homey.app"
269
+ ],
270
+ "parameters": {
271
+ "id": {
272
+ "in": "path",
273
+ "type": "string",
274
+ "required": true
275
+ }
276
+ }
277
+ }
278
+ }
279
+ },
280
+ "ManagerBackup": {
281
+ "id": "backup",
282
+ "idCamelCase": "backup",
283
+ "items": {},
284
+ "operations": {
285
+ "getOptionAutomaticBackupsEnabled": {
286
+ "method": "GET",
287
+ "path": "/option/automaticBackupsEnabled",
288
+ "scopes": [
289
+ "homey.system.readonly"
290
+ ]
291
+ },
292
+ "setOptionAutomaticBackupsEnabled": {
293
+ "method": "PUT",
294
+ "path": "/option/automaticBackupsEnabled",
295
+ "scopes": [
296
+ "homey.system"
297
+ ],
298
+ "parameters": {
299
+ "value": {
300
+ "in": "body",
301
+ "required": true
302
+ }
303
+ }
304
+ },
305
+ "unsetOptionAutomaticBackupsEnabled": {
306
+ "method": "DELETE",
307
+ "path": "/option/automaticBackupsEnabled",
308
+ "scopes": [
309
+ "homey.system"
310
+ ]
311
+ },
312
+ "getOptionLastSuccessfulBackup": {
313
+ "method": "GET",
314
+ "path": "/option/lastSuccessfulBackup",
315
+ "scopes": [
316
+ "homey.system.readonly"
317
+ ]
318
+ },
319
+ "setOptionLastSuccessfulBackup": {
320
+ "method": "PUT",
321
+ "path": "/option/lastSuccessfulBackup",
322
+ "scopes": [],
323
+ "parameters": {
324
+ "value": {
325
+ "in": "body",
326
+ "required": true
327
+ }
328
+ }
329
+ },
330
+ "unsetOptionLastSuccessfulBackup": {
331
+ "method": "DELETE",
332
+ "path": "/option/lastSuccessfulBackup",
333
+ "scopes": []
334
+ },
335
+ "getState": {
336
+ "method": "get",
337
+ "path": "/state",
338
+ "private": false,
339
+ "scopes": [
340
+ "homey.system.readonly"
341
+ ],
342
+ "parameters": {}
343
+ },
344
+ "scheduleBackup": {
345
+ "method": "post",
346
+ "path": "/backup",
347
+ "private": false,
348
+ "scopes": [
349
+ "homey.system"
350
+ ],
351
+ "parameters": {}
352
+ }
353
+ }
354
+ },
355
+ "ManagerBLE": {
356
+ "id": "ble",
357
+ "idCamelCase": "ble",
358
+ "items": {},
359
+ "operations": {
360
+ "getState": {
361
+ "method": "get",
362
+ "path": "/state",
363
+ "private": false,
364
+ "scopes": [
365
+ "homey.system.readonly"
366
+ ],
367
+ "parameters": {}
368
+ }
369
+ }
370
+ },
371
+ "ManagerClock": {
372
+ "id": "clock",
373
+ "idCamelCase": "clock",
374
+ "items": {},
375
+ "operations": {
376
+ "getState": {
377
+ "method": "get",
378
+ "path": "/state",
379
+ "private": false,
380
+ "scopes": [
381
+ "homey.system.readonly"
382
+ ],
383
+ "parameters": {}
384
+ }
385
+ }
386
+ },
387
+ "ManagerCloud": {
388
+ "id": "cloud",
389
+ "idCamelCase": "cloud",
390
+ "items": {
391
+ "Webhook": {
392
+ "id": "webhook",
393
+ "schema": {
394
+ "type": "object",
395
+ "properties": {
396
+ "id": {
397
+ "type": "string"
398
+ }
399
+ }
400
+ }
401
+ }
402
+ },
403
+ "operations": {
404
+ "getState": {
405
+ "method": "get",
406
+ "path": "/state",
407
+ "private": false,
408
+ "scopes": [
409
+ "homey.system.readonly"
410
+ ],
411
+ "parameters": {}
412
+ }
413
+ }
414
+ },
415
+ "ManagerCoprocessor": {
416
+ "id": "coprocessor",
417
+ "idCamelCase": "coprocessor",
418
+ "items": {},
419
+ "operations": {
420
+ "getState": {
421
+ "method": "get",
422
+ "path": "/state",
423
+ "private": false,
424
+ "scopes": [
425
+ "homey.system.readonly"
426
+ ],
427
+ "parameters": {}
428
+ },
429
+ "pairBridge": {
430
+ "method": "post",
431
+ "path": "/bridge",
432
+ "private": false,
433
+ "scopes": [
434
+ "homey.system"
435
+ ],
436
+ "parameters": {
437
+ "serialHash": {
438
+ "in": "body",
439
+ "type": "string",
440
+ "required": true
441
+ }
442
+ }
443
+ }
444
+ }
445
+ },
446
+ "ManagerCron": {
447
+ "id": "cron",
448
+ "idCamelCase": "cron",
449
+ "items": {
450
+ "Cronjob": {
451
+ "id": "cronjob",
452
+ "schema": {
453
+ "type": "object",
454
+ "properties": {
455
+ "id": {
456
+ "type": "string"
457
+ }
458
+ }
459
+ }
460
+ }
461
+ },
462
+ "operations": {
463
+ "getState": {
464
+ "method": "get",
465
+ "path": "/state",
466
+ "private": false,
467
+ "scopes": [
468
+ "homey.system.readonly"
469
+ ],
470
+ "parameters": {}
471
+ }
472
+ }
473
+ },
474
+ "ManagerDashboards": {
475
+ "id": "dashboards",
476
+ "idCamelCase": "dashboards",
477
+ "private": true,
478
+ "items": {
479
+ "Dashboard": {
480
+ "id": "dashboard",
481
+ "schema": {
482
+ "type": "object",
483
+ "properties": {
484
+ "id": {
485
+ "type": "string",
486
+ "format": "uuid"
487
+ },
488
+ "name": {
489
+ "type": "string"
490
+ },
491
+ "widgets": {
492
+ "type": "object",
493
+ "additionalProperties": false,
494
+ "patternProperties": {
495
+ "^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$": {
496
+ "type": "object",
497
+ "properties": {
498
+ "type": {
499
+ "type": "string"
500
+ },
501
+ "x": {
502
+ "type": "number"
503
+ },
504
+ "y": {
505
+ "type": "number"
506
+ },
507
+ "width": {
508
+ "type": "number"
509
+ },
510
+ "height": {
511
+ "type": "number"
512
+ },
513
+ "settings": {
514
+ "type": "object"
515
+ }
516
+ }
517
+ }
518
+ }
519
+ },
520
+ "lines": {
521
+ "type": "object",
522
+ "additionalProperties": false,
523
+ "patternProperties": {
524
+ "^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$": {
525
+ "type": "object",
526
+ "properties": {
527
+ "x1": {
528
+ "type": "number"
529
+ },
530
+ "x2": {
531
+ "type": "number"
532
+ },
533
+ "y1": {
534
+ "type": "number"
535
+ },
536
+ "y2": {
537
+ "type": "number"
538
+ },
539
+ "settings": {
540
+ "type": "object"
541
+ }
542
+ }
543
+ }
544
+ }
545
+ }
546
+ }
547
+ }
548
+ }
549
+ },
550
+ "operations": {
551
+ "getState": {
552
+ "method": "get",
553
+ "path": "/state",
554
+ "private": false,
555
+ "scopes": [
556
+ "homey.system.readonly"
557
+ ],
558
+ "parameters": {}
559
+ },
560
+ "getDashboards": {
561
+ "method": "get",
562
+ "path": "/dashboard",
563
+ "private": false,
564
+ "scopes": [
565
+ "homey.dashboard.readonly"
566
+ ],
567
+ "crud": {
568
+ "type": "getAll",
569
+ "item": "Dashboard"
570
+ },
571
+ "parameters": {}
572
+ },
573
+ "getDashboard": {
574
+ "method": "get",
575
+ "path": "/dashboard/:id",
576
+ "private": false,
577
+ "scopes": [
578
+ "homey.dashboard.readonly"
579
+ ],
580
+ "crud": {
581
+ "type": "getOne",
582
+ "item": "Dashboard"
583
+ },
584
+ "parameters": {
585
+ "id": {
586
+ "in": "path",
587
+ "type": "string",
588
+ "required": true
589
+ }
590
+ }
591
+ },
592
+ "createDashboard": {
593
+ "method": "post",
594
+ "path": "/dashboard",
595
+ "private": false,
596
+ "scopes": [
597
+ "homey.dashboard"
598
+ ],
599
+ "crud": {
600
+ "type": "createOne",
601
+ "item": "Dashboard"
602
+ },
603
+ "parameters": {
604
+ "dashboard": {
605
+ "in": "body",
606
+ "type": "object",
607
+ "root": true,
608
+ "required": true,
609
+ "properties": {
610
+ "name": {
611
+ "type": "string",
612
+ "required": true
613
+ },
614
+ "widgets": {
615
+ "type": "object",
616
+ "required": true
617
+ },
618
+ "lines": {
619
+ "type": "object",
620
+ "required": true
621
+ }
622
+ }
623
+ }
624
+ }
625
+ },
626
+ "updateDashboard": {
627
+ "method": "put",
628
+ "path": "/dashboard/:id",
629
+ "private": false,
630
+ "scopes": [
631
+ "homey.dashboard"
632
+ ],
633
+ "crud": {
634
+ "type": "updateOne",
635
+ "item": "Dashboard"
636
+ },
637
+ "parameters": {
638
+ "id": {
639
+ "in": "path",
640
+ "type": "string",
641
+ "required": true
642
+ },
643
+ "dashboard": {
644
+ "in": "body",
645
+ "type": "object",
646
+ "root": true,
647
+ "required": true,
648
+ "properties": {
649
+ "name": {
650
+ "type": "string"
651
+ },
652
+ "widgets": {
653
+ "type": "object"
654
+ },
655
+ "lines": {
656
+ "type": "object"
657
+ }
658
+ }
659
+ }
660
+ }
661
+ },
662
+ "deleteDashboard": {
663
+ "method": "delete",
664
+ "path": "/dashboard/:id",
665
+ "private": false,
666
+ "scopes": [
667
+ "homey.dashboard"
668
+ ],
669
+ "crud": {
670
+ "type": "deleteOne",
671
+ "item": "Dashboard"
672
+ },
673
+ "parameters": {
674
+ "id": {
675
+ "in": "path",
676
+ "type": "string",
677
+ "required": true
678
+ }
679
+ }
680
+ }
681
+ }
682
+ },
683
+ "ManagerDatabase": {
684
+ "id": "database",
685
+ "idCamelCase": "database",
686
+ "items": {},
687
+ "operations": {
688
+ "getState": {
689
+ "method": "get",
690
+ "path": "/state",
691
+ "private": false,
692
+ "scopes": [
693
+ "homey.system.readonly"
694
+ ],
695
+ "parameters": {}
696
+ }
697
+ }
698
+ },
699
+ "ManagerDevices": {
700
+ "id": "devices",
701
+ "idCamelCase": "devices",
702
+ "items": {
703
+ "Device": {
704
+ "id": "device",
705
+ "schema": {
706
+ "type": "object",
707
+ "properties": {
708
+ "id": {
709
+ "type": "string",
710
+ "format": "uuid"
711
+ },
712
+ "name": {
713
+ "type": "string"
714
+ },
715
+ "note": {
716
+ "type": "string"
717
+ }
718
+ }
719
+ }
720
+ },
721
+ "Capability": {
722
+ "id": "capability",
723
+ "schema": {
724
+ "type": "object",
725
+ "properties": {
726
+ "id": {
727
+ "type": "string"
728
+ }
729
+ }
730
+ }
731
+ }
732
+ },
733
+ "operations": {
734
+ "getState": {
735
+ "method": "get",
736
+ "path": "/state",
737
+ "private": false,
738
+ "scopes": [
739
+ "homey.system.readonly"
740
+ ],
741
+ "parameters": {}
742
+ },
743
+ "getDevice": {
744
+ "method": "get",
745
+ "path": "/device/:id",
746
+ "private": false,
747
+ "scopes": [
748
+ "homey.device.readonly"
749
+ ],
750
+ "crud": {
751
+ "type": "getOne",
752
+ "item": "Device"
753
+ },
754
+ "parameters": {
755
+ "id": {
756
+ "in": "path",
757
+ "type": "string",
758
+ "required": true
759
+ }
760
+ }
761
+ },
762
+ "getDeviceSettingsObj": {
763
+ "method": "get",
764
+ "path": "/device/:id/settings_obj",
765
+ "private": false,
766
+ "scopes": [
767
+ "homey.device.readonly"
768
+ ],
769
+ "parameters": {
770
+ "id": {
771
+ "in": "path",
772
+ "type": "string",
773
+ "required": true
774
+ }
775
+ }
776
+ },
777
+ "setDeviceSettings": {
778
+ "method": "put",
779
+ "path": "/device/:id/settings",
780
+ "private": false,
781
+ "scopes": [
782
+ "homey.device"
783
+ ],
784
+ "parameters": {
785
+ "id": {
786
+ "in": "path",
787
+ "type": "string",
788
+ "required": true
789
+ },
790
+ "settings": {
791
+ "in": "body",
792
+ "type": "object",
793
+ "root": true,
794
+ "required": true
795
+ }
796
+ }
797
+ },
798
+ "getDevices": {
799
+ "method": "get",
800
+ "path": "/device",
801
+ "private": false,
802
+ "scopes": [
803
+ "homey.device.readonly"
804
+ ],
805
+ "crud": {
806
+ "type": "getAll",
807
+ "item": "Device"
808
+ },
809
+ "parameters": {}
810
+ },
811
+ "updateDevice": {
812
+ "method": "put",
813
+ "path": "/device/:id",
814
+ "private": false,
815
+ "scopes": [
816
+ "homey.device"
817
+ ],
818
+ "crud": {
819
+ "type": "updateOne",
820
+ "item": "Device"
821
+ },
822
+ "parameters": {
823
+ "id": {
824
+ "in": "path",
825
+ "type": "string",
826
+ "required": true
827
+ },
828
+ "device": {
829
+ "in": "body",
830
+ "type": "object",
831
+ "root": true,
832
+ "required": true,
833
+ "properties": {
834
+ "name": {
835
+ "type": "string"
836
+ },
837
+ "zone": {
838
+ "type": "string"
839
+ },
840
+ "note": {
841
+ "type": "string"
842
+ },
843
+ "iconOverride": {
844
+ "type": "string"
845
+ },
846
+ "virtualClass": {
847
+ "type": "string"
848
+ }
849
+ }
850
+ }
851
+ }
852
+ },
853
+ "deleteDevice": {
854
+ "method": "delete",
855
+ "path": "/device/:id",
856
+ "private": false,
857
+ "scopes": [
858
+ "homey.device"
859
+ ],
860
+ "crud": {
861
+ "type": "deleteOne",
862
+ "item": "Device"
863
+ },
864
+ "parameters": {
865
+ "id": {
866
+ "in": "path",
867
+ "type": "string",
868
+ "required": true
869
+ }
870
+ }
871
+ },
872
+ "getCapabilityValue": {
873
+ "method": "get",
874
+ "path": "/device/:deviceId/capability/:capabilityId",
875
+ "private": false,
876
+ "scopes": [
877
+ "homey.device.readonly"
878
+ ],
879
+ "parameters": {
880
+ "capabilityId": {
881
+ "in": "path",
882
+ "type": "string",
883
+ "required": true
884
+ },
885
+ "deviceId": {
886
+ "in": "path",
887
+ "type": "string",
888
+ "required": true
889
+ }
890
+ }
891
+ },
892
+ "setCapabilityValue": {
893
+ "method": "put",
894
+ "path": "/device/:deviceId/capability/:capabilityId",
895
+ "private": false,
896
+ "scopes": [
897
+ "homey.device.control"
898
+ ],
899
+ "parameters": {
900
+ "capabilityId": {
901
+ "in": "path",
902
+ "type": "string",
903
+ "required": true
904
+ },
905
+ "deviceId": {
906
+ "in": "path",
907
+ "type": "string",
908
+ "required": true
909
+ },
910
+ "value": {
911
+ "in": "body",
912
+ "type": [
913
+ "string",
914
+ "number",
915
+ "boolean"
916
+ ],
917
+ "required": true
918
+ },
919
+ "opts": {
920
+ "in": "body",
921
+ "type": "object"
922
+ },
923
+ "transactionId": {
924
+ "in": "body",
925
+ "type": "string"
926
+ }
927
+ }
928
+ }
929
+ }
930
+ },
931
+ "ManagerDevkit": {
932
+ "id": "devkit",
933
+ "idCamelCase": "devkit",
934
+ "items": {},
935
+ "operations": {
936
+ "getState": {
937
+ "method": "get",
938
+ "path": "/state",
939
+ "private": false,
940
+ "scopes": [
941
+ "homey.system.readonly"
942
+ ],
943
+ "parameters": {}
944
+ },
945
+ "installApp": {
946
+ "method": "post",
947
+ "path": "/app",
948
+ "private": false,
949
+ "scopes": [
950
+ "homey.app"
951
+ ],
952
+ "parameters": {
953
+ "manifest": {
954
+ "in": "body",
955
+ "type": "object",
956
+ "required": true
957
+ },
958
+ "clean": {
959
+ "in": "body",
960
+ "type": "boolean"
961
+ }
962
+ }
963
+ },
964
+ "uninstallApp": {
965
+ "method": "delete",
966
+ "path": "/app/:sessionId",
967
+ "private": false,
968
+ "scopes": [
969
+ "homey.app"
970
+ ],
971
+ "parameters": {
972
+ "sessionId": {
973
+ "in": "path",
974
+ "type": "string",
975
+ "required": true
976
+ }
977
+ }
978
+ }
979
+ }
980
+ },
981
+ "ManagerDiscovery": {
982
+ "id": "discovery",
983
+ "idCamelCase": "discovery",
984
+ "items": {
985
+ "DiscoveryStrategyMDNSSD": {
986
+ "id": "discoverystrategy-mdnssd",
987
+ "schema": {
988
+ "type": "object",
989
+ "properties": {
990
+ "id": {
991
+ "type": "string"
992
+ }
993
+ }
994
+ }
995
+ },
996
+ "DiscoveryStrategySSDP": {
997
+ "id": "discoverystrategy-ssdp",
998
+ "schema": {
999
+ "type": "object",
1000
+ "properties": {
1001
+ "id": {
1002
+ "type": "string"
1003
+ }
1004
+ }
1005
+ }
1006
+ },
1007
+ "DiscoveryStrategyMAC": {
1008
+ "id": "discoverystrategy-mac",
1009
+ "schema": {
1010
+ "type": "object",
1011
+ "properties": {
1012
+ "id": {
1013
+ "type": "string"
1014
+ }
1015
+ }
1016
+ }
1017
+ }
1018
+ },
1019
+ "operations": {
1020
+ "getState": {
1021
+ "method": "get",
1022
+ "path": "/state",
1023
+ "private": false,
1024
+ "scopes": [
1025
+ "homey.system.readonly"
1026
+ ],
1027
+ "parameters": {}
1028
+ }
1029
+ }
1030
+ },
1031
+ "ManagerDrivers": {
1032
+ "id": "drivers",
1033
+ "idCamelCase": "drivers",
1034
+ "items": {
1035
+ "Driver": {
1036
+ "id": "driver",
1037
+ "schema": {
1038
+ "type": "object",
1039
+ "properties": {
1040
+ "id": {
1041
+ "type": "string",
1042
+ "format": "uuid"
1043
+ },
1044
+ "pair": {
1045
+ "type": "array",
1046
+ "required": true
1047
+ }
1048
+ }
1049
+ }
1050
+ },
1051
+ "PairSession": {
1052
+ "id": "pairsession",
1053
+ "schema": {
1054
+ "type": "object",
1055
+ "properties": {
1056
+ "id": {
1057
+ "type": "string"
1058
+ }
1059
+ }
1060
+ }
1061
+ }
1062
+ },
1063
+ "operations": {
1064
+ "getState": {
1065
+ "method": "get",
1066
+ "path": "/state",
1067
+ "private": false,
1068
+ "scopes": [
1069
+ "homey.system.readonly"
1070
+ ],
1071
+ "parameters": {}
1072
+ },
1073
+ "getDrivers": {
1074
+ "method": "get",
1075
+ "path": "/driver",
1076
+ "private": false,
1077
+ "scopes": [
1078
+ "homey.device.readonly"
1079
+ ],
1080
+ "crud": {
1081
+ "type": "getAll",
1082
+ "item": "Driver"
1083
+ },
1084
+ "parameters": {}
1085
+ },
1086
+ "getPairSession": {
1087
+ "method": "get",
1088
+ "path": "/pairsession/:id",
1089
+ "private": false,
1090
+ "scopes": [
1091
+ "homey.device"
1092
+ ],
1093
+ "crud": {
1094
+ "type": "getOne",
1095
+ "item": "PairSession"
1096
+ },
1097
+ "parameters": {
1098
+ "id": {
1099
+ "in": "path",
1100
+ "type": "string",
1101
+ "required": true
1102
+ }
1103
+ }
1104
+ },
1105
+ "createPairSession": {
1106
+ "method": "post",
1107
+ "path": "/pairsession",
1108
+ "private": false,
1109
+ "scopes": [
1110
+ "homey.device"
1111
+ ],
1112
+ "crud": {
1113
+ "type": "createOne",
1114
+ "item": "PairSession"
1115
+ },
1116
+ "parameters": {
1117
+ "pairsession": {
1118
+ "in": "body",
1119
+ "type": "object",
1120
+ "root": true,
1121
+ "required": true,
1122
+ "properties": {
1123
+ "type": {
1124
+ "type": "string",
1125
+ "required": true
1126
+ },
1127
+ "driverId": {
1128
+ "type": "string",
1129
+ "required": true
1130
+ },
1131
+ "deviceId": {
1132
+ "type": "string"
1133
+ },
1134
+ "zoneId": {
1135
+ "type": "string"
1136
+ }
1137
+ }
1138
+ }
1139
+ }
1140
+ },
1141
+ "deletePairSession": {
1142
+ "method": "delete",
1143
+ "path": "/pairsession/:id",
1144
+ "private": false,
1145
+ "scopes": [
1146
+ "homey.device"
1147
+ ],
1148
+ "crud": {
1149
+ "type": "deleteOne",
1150
+ "item": "PairSession"
1151
+ },
1152
+ "parameters": {
1153
+ "id": {
1154
+ "in": "path",
1155
+ "type": "string",
1156
+ "required": true
1157
+ }
1158
+ }
1159
+ },
1160
+ "emitPairingHeartbeat": {
1161
+ "method": "post",
1162
+ "path": "/pairsession/:id/heartbeat",
1163
+ "private": false,
1164
+ "scopes": [
1165
+ "homey.device"
1166
+ ],
1167
+ "parameters": {
1168
+ "id": {
1169
+ "in": "path",
1170
+ "type": "string",
1171
+ "required": true
1172
+ }
1173
+ }
1174
+ },
1175
+ "emitPairingEvent": {
1176
+ "method": "post",
1177
+ "path": "/pairsession/:id/emit",
1178
+ "private": false,
1179
+ "scopes": [
1180
+ "homey.device"
1181
+ ],
1182
+ "parameters": {
1183
+ "id": {
1184
+ "in": "path",
1185
+ "type": "string",
1186
+ "required": true
1187
+ },
1188
+ "event": {
1189
+ "in": "body",
1190
+ "type": "string",
1191
+ "required": true
1192
+ },
1193
+ "data": {
1194
+ "in": "body",
1195
+ "type": "object",
1196
+ "required": true
1197
+ }
1198
+ }
1199
+ },
1200
+ "emitPairingCallback": {
1201
+ "method": "post",
1202
+ "path": "/pairsession/:id/callback",
1203
+ "private": false,
1204
+ "scopes": [
1205
+ "homey.device"
1206
+ ],
1207
+ "parameters": {
1208
+ "id": {
1209
+ "in": "path",
1210
+ "type": "string",
1211
+ "required": true
1212
+ },
1213
+ "callbackId": {
1214
+ "in": "body",
1215
+ "type": "string",
1216
+ "required": true
1217
+ },
1218
+ "data": {
1219
+ "in": "body",
1220
+ "type": "object",
1221
+ "required": true
1222
+ }
1223
+ }
1224
+ },
1225
+ "createPairSessionDevice": {
1226
+ "method": "post",
1227
+ "path": "/pairsession/:id/device",
1228
+ "private": false,
1229
+ "scopes": [
1230
+ "homey.device"
1231
+ ],
1232
+ "parameters": {
1233
+ "id": {
1234
+ "in": "path",
1235
+ "type": "string",
1236
+ "required": true
1237
+ },
1238
+ "device": {
1239
+ "in": "body",
1240
+ "type": "object",
1241
+ "root": true,
1242
+ "required": true,
1243
+ "properties": {
1244
+ "name": {
1245
+ "type": "string",
1246
+ "required": true
1247
+ },
1248
+ "data": {
1249
+ "required": true
1250
+ },
1251
+ "zone": {
1252
+ "type": "string"
1253
+ },
1254
+ "store": {
1255
+ "type": "object"
1256
+ },
1257
+ "capabilities": {
1258
+ "type": "array"
1259
+ },
1260
+ "capabilitiesOptions": {
1261
+ "type": "object"
1262
+ },
1263
+ "class": {
1264
+ "type": "string"
1265
+ },
1266
+ "icon": {
1267
+ "type": "string"
1268
+ },
1269
+ "iconOverride": {
1270
+ "type": "string"
1271
+ },
1272
+ "settings": {
1273
+ "type": "object"
1274
+ },
1275
+ "energy": {
1276
+ "type": "object"
1277
+ }
1278
+ }
1279
+ }
1280
+ }
1281
+ },
1282
+ "deletePairSessionDevice": {
1283
+ "method": "delete",
1284
+ "path": "/pairsession/:id/device",
1285
+ "private": false,
1286
+ "scopes": [
1287
+ "homey.device"
1288
+ ],
1289
+ "parameters": {
1290
+ "id": {
1291
+ "in": "path",
1292
+ "type": "string",
1293
+ "required": true
1294
+ }
1295
+ }
1296
+ }
1297
+ }
1298
+ },
1299
+ "ManagerEnergy": {
1300
+ "id": "energy",
1301
+ "idCamelCase": "energy",
1302
+ "items": {},
1303
+ "operations": {
1304
+ "getState": {
1305
+ "method": "get",
1306
+ "path": "/state",
1307
+ "private": false,
1308
+ "scopes": [
1309
+ "homey.system.readonly"
1310
+ ],
1311
+ "parameters": {}
1312
+ },
1313
+ "getLiveReport": {
1314
+ "method": "get",
1315
+ "path": "/live",
1316
+ "private": false,
1317
+ "scopes": [
1318
+ "homey.insights.readonly"
1319
+ ],
1320
+ "parameters": {
1321
+ "zone": {
1322
+ "in": "query",
1323
+ "type": "string"
1324
+ }
1325
+ }
1326
+ }
1327
+ }
1328
+ },
1329
+ "ManagerExperiments": {
1330
+ "id": "experiments",
1331
+ "idCamelCase": "experiments",
1332
+ "items": {
1333
+ "ExperimentSSH": {
1334
+ "id": "experiment-ssh",
1335
+ "schema": {
1336
+ "type": "object",
1337
+ "properties": {
1338
+ "id": {
1339
+ "type": "string"
1340
+ }
1341
+ }
1342
+ }
1343
+ },
1344
+ "ExperimentHomeKit": {
1345
+ "id": "experiment-homekit",
1346
+ "schema": {
1347
+ "type": "object",
1348
+ "properties": {
1349
+ "id": {
1350
+ "type": "string"
1351
+ }
1352
+ }
1353
+ }
1354
+ },
1355
+ "ExperimentPowerUser": {
1356
+ "id": "experiment-poweruser",
1357
+ "schema": {
1358
+ "type": "object",
1359
+ "properties": {
1360
+ "id": {
1361
+ "type": "string"
1362
+ }
1363
+ }
1364
+ }
1365
+ },
1366
+ "ExperimentVirtualDevices": {
1367
+ "id": "experiment-virtualdevices",
1368
+ "schema": {
1369
+ "type": "object",
1370
+ "properties": {
1371
+ "id": {
1372
+ "type": "string"
1373
+ }
1374
+ }
1375
+ }
1376
+ }
1377
+ },
1378
+ "operations": {
1379
+ "getState": {
1380
+ "method": "get",
1381
+ "path": "/state",
1382
+ "private": false,
1383
+ "scopes": [
1384
+ "homey.system.readonly"
1385
+ ],
1386
+ "parameters": {}
1387
+ },
1388
+ "getExperiments": {
1389
+ "method": "get",
1390
+ "path": "/experiment",
1391
+ "private": false,
1392
+ "scopes": [],
1393
+ "parameters": {}
1394
+ },
1395
+ "enableExperiment": {
1396
+ "method": "put",
1397
+ "path": "/experiment/:experimentId/enable",
1398
+ "private": false,
1399
+ "scopes": [],
1400
+ "parameters": {
1401
+ "experimentId": {
1402
+ "in": "path",
1403
+ "type": "string",
1404
+ "required": true
1405
+ }
1406
+ }
1407
+ },
1408
+ "disableExperiment": {
1409
+ "method": "put",
1410
+ "path": "/experiment/:experimentId/disable",
1411
+ "private": false,
1412
+ "scopes": [],
1413
+ "parameters": {
1414
+ "experimentId": {
1415
+ "in": "path",
1416
+ "type": "string",
1417
+ "required": true
1418
+ }
1419
+ }
1420
+ }
1421
+ }
1422
+ },
1423
+ "ManagerFlow": {
1424
+ "id": "flow",
1425
+ "idCamelCase": "flow",
1426
+ "items": {
1427
+ "Flow": {
1428
+ "id": "flow"
1429
+ },
1430
+ "FlowFolder": {
1431
+ "id": "flowfolder",
1432
+ "schema": {
1433
+ "type": "object",
1434
+ "properties": {
1435
+ "id": {
1436
+ "type": "string"
1437
+ }
1438
+ }
1439
+ }
1440
+ },
1441
+ "FlowCardTrigger": {
1442
+ "id": "flowcardtrigger",
1443
+ "schema": {
1444
+ "type": "object",
1445
+ "properties": {
1446
+ "id": {
1447
+ "type": "string"
1448
+ }
1449
+ }
1450
+ }
1451
+ },
1452
+ "FlowCardCondition": {
1453
+ "id": "flowcardcondition",
1454
+ "schema": {
1455
+ "type": "object",
1456
+ "properties": {
1457
+ "id": {
1458
+ "type": "string"
1459
+ }
1460
+ }
1461
+ }
1462
+ },
1463
+ "FlowCardAction": {
1464
+ "id": "flowcardaction",
1465
+ "schema": {
1466
+ "type": "object",
1467
+ "properties": {
1468
+ "id": {
1469
+ "type": "string"
1470
+ }
1471
+ }
1472
+ }
1473
+ },
1474
+ "AdvancedFlow": {
1475
+ "id": "advancedflow",
1476
+ "schema": {
1477
+ "type": "object",
1478
+ "properties": {
1479
+ "id": {
1480
+ "type": "string"
1481
+ }
1482
+ }
1483
+ }
1484
+ }
1485
+ },
1486
+ "operations": {
1487
+ "getState": {
1488
+ "method": "get",
1489
+ "path": "/state",
1490
+ "private": false,
1491
+ "scopes": [
1492
+ "homey.system.readonly"
1493
+ ],
1494
+ "parameters": {}
1495
+ },
1496
+ "getFlow": {
1497
+ "method": "get",
1498
+ "path": "/flow/:id",
1499
+ "private": false,
1500
+ "scopes": [
1501
+ "homey.flow.readonly"
1502
+ ],
1503
+ "crud": {
1504
+ "type": "getOne",
1505
+ "item": "Flow"
1506
+ },
1507
+ "parameters": {
1508
+ "id": {
1509
+ "in": "path",
1510
+ "type": "string",
1511
+ "required": true
1512
+ }
1513
+ }
1514
+ },
1515
+ "getFlows": {
1516
+ "method": "get",
1517
+ "path": "/flow",
1518
+ "private": false,
1519
+ "scopes": [
1520
+ "homey.flow.readonly"
1521
+ ],
1522
+ "crud": {
1523
+ "type": "getAll",
1524
+ "item": "Flow"
1525
+ },
1526
+ "parameters": {}
1527
+ },
1528
+ "createFlow": {
1529
+ "method": "post",
1530
+ "path": "/flow",
1531
+ "private": false,
1532
+ "scopes": [
1533
+ "homey.flow"
1534
+ ],
1535
+ "crud": {
1536
+ "type": "createOne",
1537
+ "item": "Flow"
1538
+ },
1539
+ "parameters": {
1540
+ "flow": {
1541
+ "in": "body",
1542
+ "type": "object",
1543
+ "root": true,
1544
+ "required": true,
1545
+ "properties": {
1546
+ "name": {
1547
+ "type": "string",
1548
+ "required": true
1549
+ },
1550
+ "folder": {
1551
+ "type": "string"
1552
+ },
1553
+ "enabled": {
1554
+ "type": "boolean"
1555
+ },
1556
+ "trigger": {
1557
+ "type": "object",
1558
+ "required": true
1559
+ },
1560
+ "conditions": {
1561
+ "type": "array",
1562
+ "required": true
1563
+ },
1564
+ "actions": {
1565
+ "type": "array",
1566
+ "required": true
1567
+ }
1568
+ }
1569
+ }
1570
+ }
1571
+ },
1572
+ "updateFlow": {
1573
+ "method": "put",
1574
+ "path": "/flow/:id",
1575
+ "private": false,
1576
+ "scopes": [
1577
+ "homey.flow"
1578
+ ],
1579
+ "crud": {
1580
+ "type": "updateOne",
1581
+ "item": "Flow"
1582
+ },
1583
+ "parameters": {
1584
+ "id": {
1585
+ "in": "path",
1586
+ "type": "string",
1587
+ "required": true
1588
+ },
1589
+ "flow": {
1590
+ "in": "body",
1591
+ "type": "object",
1592
+ "root": true,
1593
+ "required": true,
1594
+ "properties": {
1595
+ "name": {
1596
+ "type": "string"
1597
+ },
1598
+ "folder": {
1599
+ "type": "string"
1600
+ },
1601
+ "enabled": {
1602
+ "type": "boolean"
1603
+ },
1604
+ "trigger": {
1605
+ "type": "object"
1606
+ },
1607
+ "conditions": {
1608
+ "type": "array"
1609
+ },
1610
+ "actions": {
1611
+ "type": "array"
1612
+ }
1613
+ }
1614
+ }
1615
+ }
1616
+ },
1617
+ "deleteFlow": {
1618
+ "method": "delete",
1619
+ "path": "/flow/:id",
1620
+ "private": false,
1621
+ "scopes": [
1622
+ "homey.flow"
1623
+ ],
1624
+ "crud": {
1625
+ "type": "deleteOne",
1626
+ "item": "Flow"
1627
+ },
1628
+ "parameters": {
1629
+ "id": {
1630
+ "in": "path",
1631
+ "type": "string",
1632
+ "required": true
1633
+ }
1634
+ }
1635
+ },
1636
+ "testFlow": {
1637
+ "method": "post",
1638
+ "path": "/flow/test",
1639
+ "private": false,
1640
+ "scopes": [
1641
+ "homey.flow"
1642
+ ],
1643
+ "parameters": {
1644
+ "flow": {
1645
+ "in": "body",
1646
+ "type": "object",
1647
+ "required": true,
1648
+ "properties": {
1649
+ "trigger": {
1650
+ "type": "object",
1651
+ "required": true
1652
+ },
1653
+ "conditions": {
1654
+ "type": "array",
1655
+ "required": true
1656
+ },
1657
+ "actions": {
1658
+ "type": "array",
1659
+ "required": true
1660
+ }
1661
+ }
1662
+ },
1663
+ "tokens": {
1664
+ "in": "body",
1665
+ "type": "object",
1666
+ "required": true
1667
+ },
1668
+ "sessionId": {
1669
+ "in": "body",
1670
+ "type": "string",
1671
+ "required": true
1672
+ }
1673
+ }
1674
+ },
1675
+ "triggerFlow": {
1676
+ "method": "post",
1677
+ "path": "/flow/:id/trigger",
1678
+ "private": false,
1679
+ "scopes": [
1680
+ "homey.flow.start"
1681
+ ],
1682
+ "parameters": {
1683
+ "id": {
1684
+ "in": "path",
1685
+ "type": "string",
1686
+ "required": true
1687
+ }
1688
+ }
1689
+ },
1690
+ "shareFlow": {
1691
+ "method": "post",
1692
+ "path": "/flow/:id/share",
1693
+ "private": false,
1694
+ "scopes": [
1695
+ "homey.flow.readonly"
1696
+ ],
1697
+ "parameters": {
1698
+ "id": {
1699
+ "in": "path",
1700
+ "type": "string",
1701
+ "required": true
1702
+ }
1703
+ }
1704
+ },
1705
+ "getFlowFolders": {
1706
+ "method": "get",
1707
+ "path": "/flowfolder",
1708
+ "private": false,
1709
+ "scopes": [
1710
+ "homey.flow.readonly"
1711
+ ],
1712
+ "crud": {
1713
+ "type": "getAll",
1714
+ "item": "FlowFolder"
1715
+ },
1716
+ "parameters": {}
1717
+ },
1718
+ "getFlowFolder": {
1719
+ "method": "get",
1720
+ "path": "/flowfolder/:id",
1721
+ "private": false,
1722
+ "scopes": [
1723
+ "homey.flow.readonly"
1724
+ ],
1725
+ "crud": {
1726
+ "type": "getOne",
1727
+ "item": "FlowFolder"
1728
+ },
1729
+ "parameters": {
1730
+ "id": {
1731
+ "in": "path",
1732
+ "type": "string",
1733
+ "required": true
1734
+ }
1735
+ }
1736
+ },
1737
+ "createFlowFolder": {
1738
+ "method": "post",
1739
+ "path": "/flowfolder",
1740
+ "private": false,
1741
+ "scopes": [
1742
+ "homey.flow"
1743
+ ],
1744
+ "crud": {
1745
+ "type": "createOne",
1746
+ "item": "FlowFolder"
1747
+ },
1748
+ "parameters": {
1749
+ "flowfolder": {
1750
+ "in": "body",
1751
+ "type": "object",
1752
+ "root": true,
1753
+ "required": true,
1754
+ "properties": {
1755
+ "name": {
1756
+ "type": "string",
1757
+ "required": true
1758
+ },
1759
+ "parent": {
1760
+ "type": "string"
1761
+ }
1762
+ }
1763
+ }
1764
+ }
1765
+ },
1766
+ "updateFlowFolder": {
1767
+ "method": "put",
1768
+ "path": "/flowfolder/:id",
1769
+ "private": false,
1770
+ "scopes": [
1771
+ "homey.flow"
1772
+ ],
1773
+ "crud": {
1774
+ "type": "updateOne",
1775
+ "item": "FlowFolder"
1776
+ },
1777
+ "parameters": {
1778
+ "id": {
1779
+ "in": "path",
1780
+ "type": "string",
1781
+ "required": true
1782
+ },
1783
+ "flowfolder": {
1784
+ "in": "body",
1785
+ "type": "object",
1786
+ "root": true,
1787
+ "required": true,
1788
+ "properties": {
1789
+ "name": {
1790
+ "type": "string"
1791
+ },
1792
+ "parent": {
1793
+ "type": "string"
1794
+ }
1795
+ }
1796
+ }
1797
+ }
1798
+ },
1799
+ "deleteFlowFolder": {
1800
+ "method": "delete",
1801
+ "path": "/flowfolder/:id",
1802
+ "private": false,
1803
+ "scopes": [
1804
+ "homey.flow"
1805
+ ],
1806
+ "crud": {
1807
+ "type": "deleteOne",
1808
+ "item": "FlowFolder"
1809
+ },
1810
+ "parameters": {
1811
+ "id": {
1812
+ "in": "path",
1813
+ "type": "string",
1814
+ "required": true
1815
+ }
1816
+ }
1817
+ },
1818
+ "getFlowCardTriggers": {
1819
+ "method": "get",
1820
+ "path": "/flowcardtrigger",
1821
+ "private": false,
1822
+ "scopes": [
1823
+ "homey.flow.readonly"
1824
+ ],
1825
+ "crud": {
1826
+ "type": "getAll",
1827
+ "item": "FlowCardTrigger"
1828
+ },
1829
+ "parameters": {}
1830
+ },
1831
+ "getFlowCardConditions": {
1832
+ "method": "get",
1833
+ "path": "/flowcardcondition",
1834
+ "private": false,
1835
+ "scopes": [
1836
+ "homey.flow.readonly"
1837
+ ],
1838
+ "crud": {
1839
+ "type": "getAll",
1840
+ "item": "FlowCardCondition"
1841
+ },
1842
+ "parameters": {}
1843
+ },
1844
+ "runFlowCardCondition": {
1845
+ "method": "post",
1846
+ "path": "/flowcardcondition/:uri/:id/run",
1847
+ "private": false,
1848
+ "scopes": [
1849
+ "homey.flow.start"
1850
+ ],
1851
+ "parameters": {
1852
+ "id": {
1853
+ "in": "path",
1854
+ "type": "string",
1855
+ "required": true
1856
+ },
1857
+ "uri": {
1858
+ "in": "path",
1859
+ "type": "string",
1860
+ "required": true
1861
+ },
1862
+ "args": {
1863
+ "in": "body",
1864
+ "type": "object"
1865
+ },
1866
+ "tokens": {
1867
+ "in": "body",
1868
+ "type": "object"
1869
+ },
1870
+ "droptoken": {
1871
+ "in": "body",
1872
+ "type": "string"
1873
+ }
1874
+ }
1875
+ },
1876
+ "getFlowCardActions": {
1877
+ "method": "get",
1878
+ "path": "/flowcardaction",
1879
+ "private": false,
1880
+ "scopes": [
1881
+ "homey.flow.readonly"
1882
+ ],
1883
+ "crud": {
1884
+ "type": "getAll",
1885
+ "item": "FlowCardAction"
1886
+ },
1887
+ "parameters": {}
1888
+ },
1889
+ "runFlowCardAction": {
1890
+ "method": "post",
1891
+ "path": "/flowcardaction/:uri/:id/run",
1892
+ "private": false,
1893
+ "scopes": [
1894
+ "homey.flow.start"
1895
+ ],
1896
+ "parameters": {
1897
+ "id": {
1898
+ "in": "path",
1899
+ "type": "string",
1900
+ "required": true
1901
+ },
1902
+ "uri": {
1903
+ "in": "path",
1904
+ "type": "string",
1905
+ "required": true
1906
+ },
1907
+ "args": {
1908
+ "in": "body",
1909
+ "type": "object"
1910
+ },
1911
+ "tokens": {
1912
+ "in": "body",
1913
+ "type": "object"
1914
+ },
1915
+ "droptoken": {
1916
+ "in": "body",
1917
+ "type": "string"
1918
+ },
1919
+ "duration": {
1920
+ "in": "body",
1921
+ "type": "number"
1922
+ }
1923
+ }
1924
+ },
1925
+ "getFlowCardAutocomplete": {
1926
+ "method": "get",
1927
+ "path": "/:type/:uri/:id/autocomplete",
1928
+ "private": false,
1929
+ "scopes": [],
1930
+ "parameters": {
1931
+ "id": {
1932
+ "in": "path",
1933
+ "type": "string",
1934
+ "required": true
1935
+ },
1936
+ "uri": {
1937
+ "in": "path",
1938
+ "type": "string",
1939
+ "required": true
1940
+ },
1941
+ "type": {
1942
+ "in": "path",
1943
+ "type": "string",
1944
+ "required": true
1945
+ },
1946
+ "name": {
1947
+ "in": "query",
1948
+ "type": "string",
1949
+ "required": true
1950
+ },
1951
+ "query": {
1952
+ "in": "query",
1953
+ "type": "string",
1954
+ "required": true
1955
+ },
1956
+ "args": {
1957
+ "in": "query",
1958
+ "type": "object"
1959
+ }
1960
+ }
1961
+ },
1962
+ "getAdvancedFlow": {
1963
+ "method": "get",
1964
+ "path": "/advancedflow/:id",
1965
+ "private": false,
1966
+ "scopes": [
1967
+ "homey.flow.readonly"
1968
+ ],
1969
+ "crud": {
1970
+ "type": "getOne",
1971
+ "item": "AdvancedFlow"
1972
+ },
1973
+ "parameters": {
1974
+ "id": {
1975
+ "in": "path",
1976
+ "type": "string",
1977
+ "required": true
1978
+ }
1979
+ }
1980
+ },
1981
+ "getAdvancedFlows": {
1982
+ "method": "get",
1983
+ "path": "/advancedflow",
1984
+ "private": false,
1985
+ "scopes": [
1986
+ "homey.flow.readonly"
1987
+ ],
1988
+ "crud": {
1989
+ "type": "getAll",
1990
+ "item": "AdvancedFlow"
1991
+ },
1992
+ "parameters": {}
1993
+ },
1994
+ "createAdvancedFlow": {
1995
+ "method": "post",
1996
+ "path": "/advancedflow",
1997
+ "private": false,
1998
+ "scopes": [
1999
+ "homey.flow"
2000
+ ],
2001
+ "crud": {
2002
+ "type": "createOne",
2003
+ "item": "AdvancedFlow"
2004
+ },
2005
+ "parameters": {
2006
+ "advancedflow": {
2007
+ "in": "body",
2008
+ "root": true,
2009
+ "required": true
2010
+ }
2011
+ }
2012
+ },
2013
+ "updateAdvancedFlow": {
2014
+ "method": "put",
2015
+ "path": "/advancedflow/:id",
2016
+ "private": false,
2017
+ "scopes": [
2018
+ "homey.flow"
2019
+ ],
2020
+ "crud": {
2021
+ "type": "updateOne",
2022
+ "item": "AdvancedFlow"
2023
+ },
2024
+ "parameters": {
2025
+ "id": {
2026
+ "in": "path",
2027
+ "type": "string",
2028
+ "required": true
2029
+ },
2030
+ "advancedflow": {
2031
+ "in": "body",
2032
+ "root": true,
2033
+ "required": true
2034
+ }
2035
+ }
2036
+ },
2037
+ "deleteAdvancedFlow": {
2038
+ "method": "delete",
2039
+ "path": "/advancedflow/:id",
2040
+ "private": false,
2041
+ "scopes": [
2042
+ "homey.flow"
2043
+ ],
2044
+ "crud": {
2045
+ "type": "deleteOne",
2046
+ "item": "AdvancedFlow"
2047
+ },
2048
+ "parameters": {
2049
+ "id": {
2050
+ "in": "path",
2051
+ "type": "string",
2052
+ "required": true
2053
+ }
2054
+ }
2055
+ }
2056
+ }
2057
+ },
2058
+ "ManagerFlowToken": {
2059
+ "id": "flowtoken",
2060
+ "idCamelCase": "flowtoken",
2061
+ "items": {
2062
+ "FlowToken": {
2063
+ "id": "flowtoken",
2064
+ "schema": {
2065
+ "type": "object",
2066
+ "properties": {
2067
+ "id": {
2068
+ "type": "string"
2069
+ }
2070
+ }
2071
+ }
2072
+ }
2073
+ },
2074
+ "operations": {
2075
+ "getState": {
2076
+ "method": "get",
2077
+ "path": "/state",
2078
+ "private": false,
2079
+ "scopes": [
2080
+ "homey.system.readonly"
2081
+ ],
2082
+ "parameters": {}
2083
+ },
2084
+ "getFlowTokens": {
2085
+ "method": "get",
2086
+ "path": "/flowtoken",
2087
+ "private": false,
2088
+ "scopes": [
2089
+ "homey.flow.readonly"
2090
+ ],
2091
+ "crud": {
2092
+ "type": "getAll",
2093
+ "item": "FlowToken"
2094
+ },
2095
+ "parameters": {}
2096
+ }
2097
+ }
2098
+ },
2099
+ "ManagerGeolocation": {
2100
+ "id": "geolocation",
2101
+ "idCamelCase": "geolocation",
2102
+ "items": {},
2103
+ "operations": {
2104
+ "getOptionMode": {
2105
+ "method": "GET",
2106
+ "path": "/option/mode",
2107
+ "scopes": [
2108
+ "homey.geolocation.readonly"
2109
+ ]
2110
+ },
2111
+ "setOptionMode": {
2112
+ "method": "PUT",
2113
+ "path": "/option/mode",
2114
+ "scopes": [
2115
+ "homey.geolocation"
2116
+ ],
2117
+ "parameters": {
2118
+ "value": {
2119
+ "in": "body",
2120
+ "required": true
2121
+ }
2122
+ }
2123
+ },
2124
+ "unsetOptionMode": {
2125
+ "method": "DELETE",
2126
+ "path": "/option/mode",
2127
+ "scopes": [
2128
+ "homey.geolocation"
2129
+ ]
2130
+ },
2131
+ "getOptionLocation": {
2132
+ "method": "GET",
2133
+ "path": "/option/location",
2134
+ "scopes": [
2135
+ "homey.geolocation.readonly"
2136
+ ]
2137
+ },
2138
+ "setOptionLocation": {
2139
+ "method": "PUT",
2140
+ "path": "/option/location",
2141
+ "scopes": [
2142
+ "homey.geolocation"
2143
+ ],
2144
+ "parameters": {
2145
+ "value": {
2146
+ "in": "body",
2147
+ "required": true
2148
+ }
2149
+ }
2150
+ },
2151
+ "unsetOptionLocation": {
2152
+ "method": "DELETE",
2153
+ "path": "/option/location",
2154
+ "scopes": [
2155
+ "homey.geolocation"
2156
+ ]
2157
+ },
2158
+ "getState": {
2159
+ "method": "get",
2160
+ "path": "/state",
2161
+ "private": false,
2162
+ "scopes": [
2163
+ "homey.system.readonly"
2164
+ ],
2165
+ "parameters": {}
2166
+ }
2167
+ }
2168
+ },
2169
+ "ManagerI18n": {
2170
+ "id": "i18n",
2171
+ "idCamelCase": "i18n",
2172
+ "items": {},
2173
+ "operations": {
2174
+ "getOptionLanguage": {
2175
+ "method": "GET",
2176
+ "path": "/option/language",
2177
+ "scopes": [
2178
+ "homey.system.readonly"
2179
+ ]
2180
+ },
2181
+ "setOptionLanguage": {
2182
+ "method": "PUT",
2183
+ "path": "/option/language",
2184
+ "scopes": [
2185
+ "homey.system"
2186
+ ],
2187
+ "parameters": {
2188
+ "value": {
2189
+ "in": "body",
2190
+ "required": true
2191
+ }
2192
+ }
2193
+ },
2194
+ "unsetOptionLanguage": {
2195
+ "method": "DELETE",
2196
+ "path": "/option/language",
2197
+ "scopes": [
2198
+ "homey.system"
2199
+ ]
2200
+ },
2201
+ "getOptionUnits": {
2202
+ "method": "GET",
2203
+ "path": "/option/units",
2204
+ "scopes": [
2205
+ "homey.system.readonly"
2206
+ ]
2207
+ },
2208
+ "setOptionUnits": {
2209
+ "method": "PUT",
2210
+ "path": "/option/units",
2211
+ "scopes": [
2212
+ "homey.system"
2213
+ ],
2214
+ "parameters": {
2215
+ "value": {
2216
+ "in": "body",
2217
+ "required": true
2218
+ }
2219
+ }
2220
+ },
2221
+ "unsetOptionUnits": {
2222
+ "method": "DELETE",
2223
+ "path": "/option/units",
2224
+ "scopes": [
2225
+ "homey.system"
2226
+ ]
2227
+ },
2228
+ "getState": {
2229
+ "method": "get",
2230
+ "path": "/state",
2231
+ "private": false,
2232
+ "scopes": [
2233
+ "homey.system.readonly"
2234
+ ],
2235
+ "parameters": {}
2236
+ }
2237
+ }
2238
+ },
2239
+ "ManagerIcons": {
2240
+ "id": "icons",
2241
+ "idCamelCase": "icons",
2242
+ "items": {
2243
+ "Icon": {
2244
+ "id": "icon",
2245
+ "schema": {
2246
+ "type": "object",
2247
+ "properties": {
2248
+ "id": {
2249
+ "type": "string"
2250
+ }
2251
+ }
2252
+ }
2253
+ }
2254
+ },
2255
+ "operations": {
2256
+ "getState": {
2257
+ "method": "get",
2258
+ "path": "/state",
2259
+ "private": false,
2260
+ "scopes": [
2261
+ "homey.system.readonly"
2262
+ ],
2263
+ "parameters": {}
2264
+ }
2265
+ }
2266
+ },
2267
+ "ManagerImages": {
2268
+ "id": "images",
2269
+ "idCamelCase": "images",
2270
+ "items": {
2271
+ "Image": {
2272
+ "id": "image",
2273
+ "schema": {
2274
+ "type": "object",
2275
+ "properties": {
2276
+ "id": {
2277
+ "type": "string"
2278
+ }
2279
+ }
2280
+ }
2281
+ }
2282
+ },
2283
+ "operations": {
2284
+ "getState": {
2285
+ "method": "get",
2286
+ "path": "/state",
2287
+ "private": false,
2288
+ "scopes": [
2289
+ "homey.system.readonly"
2290
+ ],
2291
+ "parameters": {}
2292
+ },
2293
+ "getImages": {
2294
+ "method": "get",
2295
+ "path": "/image",
2296
+ "private": false,
2297
+ "scopes": [
2298
+ "homey.device.readonly"
2299
+ ],
2300
+ "crud": {
2301
+ "type": "getAll",
2302
+ "item": "Image"
2303
+ },
2304
+ "parameters": {}
2305
+ }
2306
+ }
2307
+ },
2308
+ "ManagerInsights": {
2309
+ "id": "insights",
2310
+ "idCamelCase": "insights",
2311
+ "items": {
2312
+ "Log": {
2313
+ "id": "log",
2314
+ "schema": {
2315
+ "type": "object",
2316
+ "properties": {
2317
+ "id": {
2318
+ "type": "string"
2319
+ }
2320
+ }
2321
+ }
2322
+ },
2323
+ "LogEntryBoolean": {
2324
+ "id": "logentryboolean",
2325
+ "schema": {
2326
+ "type": "object",
2327
+ "properties": {
2328
+ "id": {
2329
+ "type": "string"
2330
+ }
2331
+ }
2332
+ }
2333
+ }
2334
+ },
2335
+ "operations": {
2336
+ "getState": {
2337
+ "method": "get",
2338
+ "path": "/state",
2339
+ "private": false,
2340
+ "scopes": [
2341
+ "homey.system.readonly"
2342
+ ],
2343
+ "parameters": {}
2344
+ },
2345
+ "getLog": {
2346
+ "method": "get",
2347
+ "path": "/log/:id",
2348
+ "private": false,
2349
+ "scopes": [
2350
+ "homey.insights.readonly"
2351
+ ],
2352
+ "crud": {
2353
+ "type": "getOne",
2354
+ "item": "Log"
2355
+ },
2356
+ "parameters": {
2357
+ "id": {
2358
+ "in": "path",
2359
+ "type": "string",
2360
+ "required": true
2361
+ }
2362
+ }
2363
+ },
2364
+ "getLogs": {
2365
+ "method": "get",
2366
+ "path": "/log",
2367
+ "private": false,
2368
+ "scopes": [
2369
+ "homey.insights.readonly"
2370
+ ],
2371
+ "crud": {
2372
+ "type": "getAll",
2373
+ "item": "Log"
2374
+ },
2375
+ "parameters": {}
2376
+ },
2377
+ "getLogEntries": {
2378
+ "method": "get",
2379
+ "path": "/log/:uri/:id/entry",
2380
+ "private": false,
2381
+ "scopes": [
2382
+ "homey.insights.readonly"
2383
+ ],
2384
+ "parameters": {
2385
+ "id": {
2386
+ "in": "path",
2387
+ "type": "string",
2388
+ "required": true
2389
+ },
2390
+ "uri": {
2391
+ "in": "path",
2392
+ "type": "string",
2393
+ "required": true
2394
+ },
2395
+ "resolution": {
2396
+ "in": "query",
2397
+ "type": "string"
2398
+ }
2399
+ }
2400
+ },
2401
+ "deleteLog": {
2402
+ "method": "delete",
2403
+ "path": "/log/:uri/:id",
2404
+ "private": false,
2405
+ "scopes": [
2406
+ "homey.insights"
2407
+ ],
2408
+ "crud": {
2409
+ "type": "deleteOne",
2410
+ "item": "Log"
2411
+ },
2412
+ "parameters": {
2413
+ "id": {
2414
+ "in": "path",
2415
+ "type": "string",
2416
+ "required": true
2417
+ },
2418
+ "uri": {
2419
+ "in": "path",
2420
+ "type": "string",
2421
+ "required": true
2422
+ }
2423
+ }
2424
+ },
2425
+ "deleteLogEntries": {
2426
+ "method": "delete",
2427
+ "path": "/log/:uri/:id/entry",
2428
+ "private": false,
2429
+ "scopes": [
2430
+ "homey.insights"
2431
+ ],
2432
+ "parameters": {
2433
+ "id": {
2434
+ "in": "path",
2435
+ "type": "string",
2436
+ "required": true
2437
+ },
2438
+ "uri": {
2439
+ "in": "path",
2440
+ "type": "string",
2441
+ "required": true
2442
+ }
2443
+ }
2444
+ }
2445
+ }
2446
+ },
2447
+ "ManagerLedring": {
2448
+ "id": "ledring",
2449
+ "idCamelCase": "ledring",
2450
+ "items": {},
2451
+ "operations": {
2452
+ "getOptionScreensaver": {
2453
+ "method": "GET",
2454
+ "path": "/option/screensaver",
2455
+ "scopes": [
2456
+ "homey.system.readonly"
2457
+ ]
2458
+ },
2459
+ "setOptionScreensaver": {
2460
+ "method": "PUT",
2461
+ "path": "/option/screensaver",
2462
+ "scopes": [
2463
+ "homey.system"
2464
+ ],
2465
+ "parameters": {
2466
+ "value": {
2467
+ "in": "body",
2468
+ "required": true
2469
+ }
2470
+ }
2471
+ },
2472
+ "unsetOptionScreensaver": {
2473
+ "method": "DELETE",
2474
+ "path": "/option/screensaver",
2475
+ "scopes": [
2476
+ "homey.system"
2477
+ ]
2478
+ },
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
+ "getState": {
2507
+ "method": "get",
2508
+ "path": "/state",
2509
+ "private": false,
2510
+ "scopes": [
2511
+ "homey.system.readonly"
2512
+ ],
2513
+ "parameters": {}
2514
+ },
2515
+ "getScreensavers": {
2516
+ "method": "get",
2517
+ "path": "/screensaver",
2518
+ "private": false,
2519
+ "scopes": [],
2520
+ "parameters": {}
2521
+ }
2522
+ }
2523
+ },
2524
+ "ManagerLogic": {
2525
+ "id": "logic",
2526
+ "idCamelCase": "logic",
2527
+ "items": {
2528
+ "Variable": {
2529
+ "id": "variable",
2530
+ "schema": {
2531
+ "type": "object",
2532
+ "properties": {
2533
+ "id": {
2534
+ "type": "string"
2535
+ },
2536
+ "name": {
2537
+ "type": "string"
2538
+ },
2539
+ "type": {
2540
+ "type": "string",
2541
+ "enum": [
2542
+ "n",
2543
+ "u",
2544
+ "m",
2545
+ "b",
2546
+ "e",
2547
+ "r"
2548
+ ]
2549
+ },
2550
+ "value": {
2551
+ "description": "Should be the same type as defined in the `type` property."
2552
+ }
2553
+ }
2554
+ }
2555
+ }
2556
+ },
2557
+ "operations": {
2558
+ "getState": {
2559
+ "method": "get",
2560
+ "path": "/state",
2561
+ "private": false,
2562
+ "scopes": [
2563
+ "homey.system.readonly"
2564
+ ],
2565
+ "parameters": {}
2566
+ },
2567
+ "getVariables": {
2568
+ "method": "get",
2569
+ "path": "/variable",
2570
+ "private": false,
2571
+ "scopes": [
2572
+ "homey.logic.readonly"
2573
+ ],
2574
+ "crud": {
2575
+ "type": "getAll",
2576
+ "item": "Variable"
2577
+ },
2578
+ "parameters": {}
2579
+ },
2580
+ "createVariable": {
2581
+ "method": "post",
2582
+ "path": "/variable",
2583
+ "private": false,
2584
+ "scopes": [
2585
+ "homey.logic"
2586
+ ],
2587
+ "crud": {
2588
+ "type": "createOne",
2589
+ "item": "Variable"
2590
+ },
2591
+ "parameters": {
2592
+ "variable": {
2593
+ "in": "body",
2594
+ "type": "object",
2595
+ "root": true,
2596
+ "required": true,
2597
+ "properties": {
2598
+ "name": {
2599
+ "type": "string",
2600
+ "required": true
2601
+ },
2602
+ "type": {
2603
+ "type": "string",
2604
+ "required": true
2605
+ },
2606
+ "value": {
2607
+ "type": [
2608
+ "string",
2609
+ "number",
2610
+ "boolean"
2611
+ ],
2612
+ "required": true
2613
+ }
2614
+ }
2615
+ }
2616
+ }
2617
+ },
2618
+ "updateVariable": {
2619
+ "method": "put",
2620
+ "path": "/variable/:id",
2621
+ "private": false,
2622
+ "scopes": [
2623
+ "homey.logic"
2624
+ ],
2625
+ "crud": {
2626
+ "type": "updateOne",
2627
+ "item": "Variable"
2628
+ },
2629
+ "parameters": {
2630
+ "id": {
2631
+ "in": "path",
2632
+ "type": "string",
2633
+ "required": true
2634
+ },
2635
+ "variable": {
2636
+ "in": "body",
2637
+ "type": "object",
2638
+ "root": true,
2639
+ "required": true,
2640
+ "properties": {
2641
+ "name": {
2642
+ "type": "string"
2643
+ },
2644
+ "value": {
2645
+ "type": [
2646
+ "string",
2647
+ "number",
2648
+ "boolean"
2649
+ ]
2650
+ }
2651
+ }
2652
+ }
2653
+ }
2654
+ },
2655
+ "deleteVariable": {
2656
+ "method": "delete",
2657
+ "path": "/variable/:id",
2658
+ "private": false,
2659
+ "scopes": [
2660
+ "homey.logic"
2661
+ ],
2662
+ "crud": {
2663
+ "type": "deleteOne",
2664
+ "item": "Variable"
2665
+ },
2666
+ "parameters": {
2667
+ "id": {
2668
+ "in": "path",
2669
+ "type": "string",
2670
+ "required": true
2671
+ }
2672
+ }
2673
+ }
2674
+ }
2675
+ },
2676
+ "ManagerMatter": {
2677
+ "id": "matter",
2678
+ "idCamelCase": "matter",
2679
+ "items": {},
2680
+ "operations": {
2681
+ "getState": {
2682
+ "method": "get",
2683
+ "path": "/state",
2684
+ "private": false,
2685
+ "scopes": [
2686
+ "homey.system.readonly"
2687
+ ],
2688
+ "parameters": {}
2689
+ }
2690
+ }
2691
+ },
2692
+ "ManagerMobile": {
2693
+ "id": "mobile",
2694
+ "idCamelCase": "mobile",
2695
+ "items": {},
2696
+ "operations": {
2697
+ "getState": {
2698
+ "method": "get",
2699
+ "path": "/state",
2700
+ "private": false,
2701
+ "scopes": [
2702
+ "homey.system.readonly"
2703
+ ],
2704
+ "parameters": {}
2705
+ }
2706
+ }
2707
+ },
2708
+ "ManagerNotifications": {
2709
+ "id": "notifications",
2710
+ "idCamelCase": "notifications",
2711
+ "items": {
2712
+ "Notification": {
2713
+ "id": "notification",
2714
+ "schema": {
2715
+ "type": "object",
2716
+ "properties": {
2717
+ "id": {
2718
+ "type": "string"
2719
+ },
2720
+ "ownerUri": {
2721
+ "type": "string"
2722
+ },
2723
+ "dateCreated": {
2724
+ "type": "string"
2725
+ },
2726
+ "excerpt": {
2727
+ "type": "string"
2728
+ },
2729
+ "meta": {
2730
+ "type": "object"
2731
+ }
2732
+ }
2733
+ }
2734
+ }
2735
+ },
2736
+ "operations": {
2737
+ "getState": {
2738
+ "method": "get",
2739
+ "path": "/state",
2740
+ "private": false,
2741
+ "scopes": [
2742
+ "homey.system.readonly"
2743
+ ],
2744
+ "parameters": {}
2745
+ },
2746
+ "getNotifications": {
2747
+ "method": "get",
2748
+ "path": "/notification",
2749
+ "private": false,
2750
+ "scopes": [
2751
+ "homey.notifications.readonly"
2752
+ ],
2753
+ "crud": {
2754
+ "type": "getAll",
2755
+ "item": "Notification"
2756
+ },
2757
+ "parameters": {}
2758
+ },
2759
+ "deleteNotification": {
2760
+ "method": "delete",
2761
+ "path": "/notification/:id",
2762
+ "private": false,
2763
+ "scopes": [
2764
+ "homey.notifications"
2765
+ ],
2766
+ "crud": {
2767
+ "type": "deleteOne",
2768
+ "item": "Notification"
2769
+ },
2770
+ "parameters": {
2771
+ "id": {
2772
+ "in": "path",
2773
+ "type": "string",
2774
+ "required": true
2775
+ }
2776
+ }
2777
+ },
2778
+ "deleteNotifications": {
2779
+ "method": "delete",
2780
+ "path": "/notification",
2781
+ "private": false,
2782
+ "scopes": [
2783
+ "homey.notifications"
2784
+ ],
2785
+ "parameters": {
2786
+ "ownerUri": {
2787
+ "in": "query",
2788
+ "type": "string"
2789
+ }
2790
+ }
2791
+ },
2792
+ "getOwners": {
2793
+ "method": "get",
2794
+ "path": "/owner",
2795
+ "private": false,
2796
+ "scopes": [
2797
+ "homey.notifications.readonly"
2798
+ ],
2799
+ "parameters": {}
2800
+ },
2801
+ "setOwnerEnabled": {
2802
+ "method": "put",
2803
+ "path": "/owner/:uri/enabled",
2804
+ "private": false,
2805
+ "scopes": [
2806
+ "homey.notifications"
2807
+ ],
2808
+ "parameters": {
2809
+ "uri": {
2810
+ "in": "path",
2811
+ "type": "string",
2812
+ "required": true
2813
+ },
2814
+ "enabled": {
2815
+ "in": "body",
2816
+ "type": "boolean",
2817
+ "required": true
2818
+ }
2819
+ }
2820
+ },
2821
+ "setOwnerPush": {
2822
+ "method": "put",
2823
+ "path": "/owner/:uri/push",
2824
+ "private": false,
2825
+ "scopes": [
2826
+ "homey.notifications"
2827
+ ],
2828
+ "parameters": {
2829
+ "uri": {
2830
+ "in": "path",
2831
+ "type": "string",
2832
+ "required": true
2833
+ },
2834
+ "push": {
2835
+ "in": "body",
2836
+ "type": "boolean",
2837
+ "required": true
2838
+ }
2839
+ }
2840
+ }
2841
+ }
2842
+ },
2843
+ "ManagerPresence": {
2844
+ "id": "presence",
2845
+ "idCamelCase": "presence",
2846
+ "items": {},
2847
+ "operations": {
2848
+ "getState": {
2849
+ "method": "get",
2850
+ "path": "/state",
2851
+ "private": false,
2852
+ "scopes": [
2853
+ "homey.system.readonly"
2854
+ ],
2855
+ "parameters": {}
2856
+ },
2857
+ "setPresentMe": {
2858
+ "method": "put",
2859
+ "path": "/me/present",
2860
+ "private": false,
2861
+ "scopes": [
2862
+ "homey.presence.self"
2863
+ ],
2864
+ "parameters": {
2865
+ "value": {
2866
+ "in": "body",
2867
+ "type": "boolean"
2868
+ },
2869
+ "opts": {
2870
+ "in": "body",
2871
+ "type": "object",
2872
+ "properties": {
2873
+ "forceFlowTrigger": {
2874
+ "type": "boolean"
2875
+ }
2876
+ }
2877
+ }
2878
+ }
2879
+ },
2880
+ "setPresent": {
2881
+ "method": "put",
2882
+ "path": "/:id/present",
2883
+ "private": false,
2884
+ "scopes": [
2885
+ "homey.presence"
2886
+ ],
2887
+ "parameters": {
2888
+ "id": {
2889
+ "in": "path",
2890
+ "type": "string",
2891
+ "required": true
2892
+ },
2893
+ "value": {
2894
+ "in": "body",
2895
+ "type": "boolean"
2896
+ }
2897
+ }
2898
+ },
2899
+ "setAsleepMe": {
2900
+ "method": "put",
2901
+ "path": "/me/asleep",
2902
+ "private": false,
2903
+ "scopes": [
2904
+ "homey.presence.self"
2905
+ ],
2906
+ "parameters": {
2907
+ "value": {
2908
+ "in": "body",
2909
+ "type": "boolean"
2910
+ },
2911
+ "opts": {
2912
+ "in": "body",
2913
+ "type": "object",
2914
+ "properties": {
2915
+ "forceFlowTrigger": {
2916
+ "type": "boolean"
2917
+ }
2918
+ }
2919
+ }
2920
+ }
2921
+ },
2922
+ "setAsleep": {
2923
+ "method": "put",
2924
+ "path": "/:id/asleep",
2925
+ "private": false,
2926
+ "scopes": [
2927
+ "homey.presence"
2928
+ ],
2929
+ "parameters": {
2930
+ "id": {
2931
+ "in": "path",
2932
+ "type": "string",
2933
+ "required": true
2934
+ },
2935
+ "value": {
2936
+ "in": "body",
2937
+ "type": "boolean"
2938
+ }
2939
+ }
2940
+ }
2941
+ }
2942
+ },
2943
+ "ManagerRF": {
2944
+ "id": "rf",
2945
+ "idCamelCase": "rf",
2946
+ "items": {
2947
+ "Signal": {
2948
+ "id": "signal",
2949
+ "schema": {
2950
+ "type": "object",
2951
+ "properties": {
2952
+ "id": {
2953
+ "type": "string"
2954
+ }
2955
+ }
2956
+ }
2957
+ }
2958
+ },
2959
+ "operations": {
2960
+ "getState": {
2961
+ "method": "get",
2962
+ "path": "/state",
2963
+ "private": false,
2964
+ "scopes": [
2965
+ "homey.system.readonly"
2966
+ ],
2967
+ "parameters": {}
2968
+ },
2969
+ "record": {
2970
+ "method": "post",
2971
+ "path": "/record",
2972
+ "private": false,
2973
+ "scopes": [
2974
+ "homey.system"
2975
+ ],
2976
+ "parameters": {
2977
+ "frequency": {
2978
+ "in": "body",
2979
+ "type": "string"
2980
+ },
2981
+ "timeout": {
2982
+ "in": "body",
2983
+ "type": "number"
2984
+ }
2985
+ }
2986
+ },
2987
+ "emulate": {
2988
+ "method": "post",
2989
+ "path": "/:frequency/emulate",
2990
+ "private": false,
2991
+ "scopes": [
2992
+ "homey.system"
2993
+ ],
2994
+ "parameters": {
2995
+ "frequency": {
2996
+ "in": "path",
2997
+ "type": "string",
2998
+ "required": true
2999
+ },
3000
+ "data": {
3001
+ "in": "body",
3002
+ "type": "array",
3003
+ "root": true,
3004
+ "required": true
3005
+ }
3006
+ }
3007
+ },
3008
+ "set433MHzConfig": {
3009
+ "method": "post",
3010
+ "path": "/mhz433/config",
3011
+ "private": false,
3012
+ "scopes": [
3013
+ "homey.system"
3014
+ ],
3015
+ "parameters": {
3016
+ "modulation": {
3017
+ "in": "body",
3018
+ "type": "string"
3019
+ },
3020
+ "carrier": {
3021
+ "in": "body",
3022
+ "type": "number"
3023
+ },
3024
+ "deviation": {
3025
+ "in": "body",
3026
+ "type": "number"
3027
+ },
3028
+ "channelSpacing": {
3029
+ "in": "body",
3030
+ "type": "number"
3031
+ },
3032
+ "filterBandwidth": {
3033
+ "in": "body",
3034
+ "type": "number"
3035
+ },
3036
+ "baudrate": {
3037
+ "in": "body",
3038
+ "type": "number"
3039
+ },
3040
+ "power": {
3041
+ "in": "body",
3042
+ "type": "number"
3043
+ }
3044
+ }
3045
+ },
3046
+ "txInfraredProntohex": {
3047
+ "method": "post",
3048
+ "path": "/ir/prontohex",
3049
+ "private": false,
3050
+ "scopes": [
3051
+ "homey.system"
3052
+ ],
3053
+ "parameters": {
3054
+ "payload": {
3055
+ "in": "body",
3056
+ "type": "string",
3057
+ "required": true
3058
+ },
3059
+ "repetitions": {
3060
+ "in": "body",
3061
+ "type": "number"
3062
+ }
3063
+ }
3064
+ }
3065
+ }
3066
+ },
3067
+ "ManagerSatellites": {
3068
+ "id": "satellites",
3069
+ "idCamelCase": "satellites",
3070
+ "items": {},
3071
+ "operations": {
3072
+ "getState": {
3073
+ "method": "get",
3074
+ "path": "/state",
3075
+ "private": false,
3076
+ "scopes": [
3077
+ "homey.system.readonly"
3078
+ ],
3079
+ "parameters": {}
3080
+ }
3081
+ }
3082
+ },
3083
+ "ManagerSessions": {
3084
+ "id": "sessions",
3085
+ "idCamelCase": "sessions",
3086
+ "items": {
3087
+ "Session": {
3088
+ "id": "session",
3089
+ "schema": {
3090
+ "type": "object",
3091
+ "properties": {
3092
+ "id": {
3093
+ "type": "string",
3094
+ "format": "uuid"
3095
+ },
3096
+ "type": {
3097
+ "type": "string",
3098
+ "enum": [
3099
+ "OAUTH",
3100
+ "APP"
3101
+ ]
3102
+ },
3103
+ "scopes": {
3104
+ "description": "These are the requested scopes",
3105
+ "type": "array",
3106
+ "items": {
3107
+ "type": "string"
3108
+ }
3109
+ },
3110
+ "intersectedScopes": {
3111
+ "description": "These are the actual available scopes. This is an intersection between the requested scopes and the user's scopes.",
3112
+ "type": "array",
3113
+ "items": {
3114
+ "type": "string"
3115
+ }
3116
+ }
3117
+ }
3118
+ }
3119
+ }
3120
+ },
3121
+ "operations": {
3122
+ "getState": {
3123
+ "method": "get",
3124
+ "path": "/state",
3125
+ "private": false,
3126
+ "scopes": [
3127
+ "homey.system.readonly"
3128
+ ],
3129
+ "parameters": {}
3130
+ },
3131
+ "getSessionMe": {
3132
+ "method": "get",
3133
+ "path": "/session/me",
3134
+ "private": false,
3135
+ "scopes": [],
3136
+ "parameters": {}
3137
+ }
3138
+ }
3139
+ },
3140
+ "ManagerSystem": {
3141
+ "id": "system",
3142
+ "idCamelCase": "system",
3143
+ "items": {},
3144
+ "operations": {
3145
+ "getOptionForwardedPort": {
3146
+ "method": "GET",
3147
+ "path": "/option/forwardedPort",
3148
+ "scopes": [
3149
+ "homey.system.readonly"
3150
+ ]
3151
+ },
3152
+ "setOptionForwardedPort": {
3153
+ "method": "PUT",
3154
+ "path": "/option/forwardedPort",
3155
+ "scopes": [
3156
+ "homey.system"
3157
+ ],
3158
+ "parameters": {
3159
+ "value": {
3160
+ "in": "body",
3161
+ "required": true
3162
+ }
3163
+ }
3164
+ },
3165
+ "unsetOptionForwardedPort": {
3166
+ "method": "DELETE",
3167
+ "path": "/option/forwardedPort",
3168
+ "scopes": [
3169
+ "homey.system"
3170
+ ]
3171
+ },
3172
+ "getState": {
3173
+ "method": "get",
3174
+ "path": "/state",
3175
+ "private": false,
3176
+ "scopes": [
3177
+ "homey.system.readonly"
3178
+ ],
3179
+ "parameters": {}
3180
+ },
3181
+ "ping": {
3182
+ "method": "get",
3183
+ "path": "/ping",
3184
+ "private": false,
3185
+ "scopes": [],
3186
+ "parameters": {}
3187
+ },
3188
+ "getInfo": {
3189
+ "method": "get",
3190
+ "path": "/",
3191
+ "private": false,
3192
+ "scopes": [
3193
+ "homey.system.readonly"
3194
+ ],
3195
+ "parameters": {}
3196
+ },
3197
+ "getSystemName": {
3198
+ "method": "get",
3199
+ "path": "/name",
3200
+ "private": false,
3201
+ "scopes": [
3202
+ "homey.system.readonly"
3203
+ ],
3204
+ "parameters": {}
3205
+ },
3206
+ "setSystemName": {
3207
+ "method": "put",
3208
+ "path": "/name",
3209
+ "private": false,
3210
+ "scopes": [
3211
+ "homey.system"
3212
+ ],
3213
+ "parameters": {
3214
+ "name": {
3215
+ "in": "body",
3216
+ "type": "string",
3217
+ "required": true
3218
+ }
3219
+ }
3220
+ },
3221
+ "reboot": {
3222
+ "method": "post",
3223
+ "path": "/reboot",
3224
+ "private": false,
3225
+ "scopes": [
3226
+ "homey.system"
3227
+ ],
3228
+ "parameters": {}
3229
+ },
3230
+ "sendLog": {
3231
+ "method": "post",
3232
+ "path": "/journalctl",
3233
+ "private": false,
3234
+ "scopes": [
3235
+ "homey.system.readonly"
3236
+ ],
3237
+ "parameters": {
3238
+ "append": {
3239
+ "in": "body",
3240
+ "type": "string"
3241
+ }
3242
+ }
3243
+ },
3244
+ "getMemoryInfo": {
3245
+ "method": "get",
3246
+ "path": "/memory",
3247
+ "private": false,
3248
+ "scopes": [
3249
+ "homey.system.readonly"
3250
+ ],
3251
+ "parameters": {}
3252
+ },
3253
+ "getStorageInfo": {
3254
+ "method": "get",
3255
+ "path": "/storage",
3256
+ "private": false,
3257
+ "scopes": [
3258
+ "homey.system.readonly"
3259
+ ],
3260
+ "parameters": {}
3261
+ },
3262
+ "rebootOTA": {
3263
+ "method": "post",
3264
+ "path": "/reboot-ota",
3265
+ "private": false,
3266
+ "scopes": [
3267
+ "homey.system"
3268
+ ],
3269
+ "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
+ }
3289
+ }
3290
+ },
3291
+ "ManagerThread": {
3292
+ "id": "thread",
3293
+ "idCamelCase": "thread",
3294
+ "items": {},
3295
+ "operations": {
3296
+ "getState": {
3297
+ "method": "get",
3298
+ "path": "/state",
3299
+ "private": false,
3300
+ "scopes": [
3301
+ "homey.system.readonly"
3302
+ ],
3303
+ "parameters": {}
3304
+ }
3305
+ }
3306
+ },
3307
+ "ManagerUpdates": {
3308
+ "id": "updates",
3309
+ "idCamelCase": "updates",
3310
+ "items": {},
3311
+ "operations": {
3312
+ "getOptionChannel": {
3313
+ "method": "GET",
3314
+ "path": "/option/channel",
3315
+ "scopes": [
3316
+ "homey.system.readonly"
3317
+ ]
3318
+ },
3319
+ "setOptionChannel": {
3320
+ "method": "PUT",
3321
+ "path": "/option/channel",
3322
+ "scopes": [
3323
+ "homey.system"
3324
+ ],
3325
+ "parameters": {
3326
+ "value": {
3327
+ "in": "body",
3328
+ "required": true
3329
+ }
3330
+ }
3331
+ },
3332
+ "unsetOptionChannel": {
3333
+ "method": "DELETE",
3334
+ "path": "/option/channel",
3335
+ "scopes": [
3336
+ "homey.system"
3337
+ ]
3338
+ },
3339
+ "getOptionAutoupdate": {
3340
+ "method": "GET",
3341
+ "path": "/option/autoupdate",
3342
+ "scopes": [
3343
+ "homey.system.readonly"
3344
+ ]
3345
+ },
3346
+ "setOptionAutoupdate": {
3347
+ "method": "PUT",
3348
+ "path": "/option/autoupdate",
3349
+ "scopes": [
3350
+ "homey.system"
3351
+ ],
3352
+ "parameters": {
3353
+ "value": {
3354
+ "in": "body",
3355
+ "required": true
3356
+ }
3357
+ }
3358
+ },
3359
+ "unsetOptionAutoupdate": {
3360
+ "method": "DELETE",
3361
+ "path": "/option/autoupdate",
3362
+ "scopes": [
3363
+ "homey.system"
3364
+ ]
3365
+ },
3366
+ "getState": {
3367
+ "method": "get",
3368
+ "path": "/state",
3369
+ "private": false,
3370
+ "scopes": [
3371
+ "homey.system.readonly"
3372
+ ],
3373
+ "parameters": {}
3374
+ },
3375
+ "getUpdates": {
3376
+ "method": "get",
3377
+ "path": "/update",
3378
+ "private": false,
3379
+ "scopes": [],
3380
+ "parameters": {}
3381
+ },
3382
+ "installUpdate": {
3383
+ "method": "post",
3384
+ "path": "/update",
3385
+ "private": false,
3386
+ "scopes": [],
3387
+ "parameters": {
3388
+ "reboot": {
3389
+ "in": "body",
3390
+ "type": "boolean"
3391
+ },
3392
+ "silent": {
3393
+ "in": "body",
3394
+ "type": "boolean"
3395
+ }
3396
+ }
3397
+ }
3398
+ }
3399
+ },
3400
+ "ManagerUsers": {
3401
+ "id": "users",
3402
+ "idCamelCase": "users",
3403
+ "items": {
3404
+ "User": {
3405
+ "id": "user",
3406
+ "schema": {
3407
+ "type": "object",
3408
+ "properties": {
3409
+ "id": {
3410
+ "type": "string"
3411
+ }
3412
+ }
3413
+ }
3414
+ }
3415
+ },
3416
+ "operations": {
3417
+ "getState": {
3418
+ "method": "get",
3419
+ "path": "/state",
3420
+ "private": false,
3421
+ "scopes": [
3422
+ "homey.system.readonly"
3423
+ ],
3424
+ "parameters": {}
3425
+ },
3426
+ "login": {
3427
+ "method": "post",
3428
+ "path": "/login",
3429
+ "private": false,
3430
+ "scopes": [],
3431
+ "parameters": {
3432
+ "token": {
3433
+ "in": "body",
3434
+ "type": "string",
3435
+ "required": true
3436
+ }
3437
+ }
3438
+ },
3439
+ "getUserMe": {
3440
+ "method": "get",
3441
+ "path": "/user/me",
3442
+ "private": false,
3443
+ "scopes": [
3444
+ "homey.user.self"
3445
+ ],
3446
+ "parameters": {}
3447
+ },
3448
+ "updateUserMe": {
3449
+ "method": "put",
3450
+ "path": "/user/me",
3451
+ "private": false,
3452
+ "scopes": [
3453
+ "homey.user.self"
3454
+ ],
3455
+ "parameters": {
3456
+ "name": {
3457
+ "in": "body",
3458
+ "type": "string"
3459
+ }
3460
+ }
3461
+ },
3462
+ "deleteUserMe": {
3463
+ "method": "delete",
3464
+ "path": "/user/me",
3465
+ "private": false,
3466
+ "scopes": [
3467
+ "homey.user.self"
3468
+ ],
3469
+ "parameters": {}
3470
+ },
3471
+ "getUsers": {
3472
+ "method": "get",
3473
+ "path": "/user",
3474
+ "private": false,
3475
+ "scopes": [
3476
+ "homey.user.readonly"
3477
+ ],
3478
+ "crud": {
3479
+ "type": "getAll",
3480
+ "item": "User"
3481
+ },
3482
+ "parameters": {}
3483
+ },
3484
+ "getUser": {
3485
+ "method": "get",
3486
+ "path": "/user/:id",
3487
+ "private": false,
3488
+ "scopes": [
3489
+ "homey.user.readonly"
3490
+ ],
3491
+ "crud": {
3492
+ "type": "getOne",
3493
+ "item": "User"
3494
+ },
3495
+ "parameters": {
3496
+ "id": {
3497
+ "in": "path",
3498
+ "type": "string",
3499
+ "required": true
3500
+ }
3501
+ }
3502
+ },
3503
+ "createUser": {
3504
+ "method": "post",
3505
+ "path": "/user",
3506
+ "private": false,
3507
+ "scopes": [
3508
+ "homey.user"
3509
+ ],
3510
+ "crud": {
3511
+ "type": "createOne",
3512
+ "item": "User"
3513
+ },
3514
+ "parameters": {
3515
+ "user": {
3516
+ "in": "body",
3517
+ "type": "object",
3518
+ "root": true,
3519
+ "required": true,
3520
+ "properties": {
3521
+ "role": {
3522
+ "type": "string",
3523
+ "required": true
3524
+ }
3525
+ }
3526
+ }
3527
+ }
3528
+ },
3529
+ "updateUser": {
3530
+ "method": "put",
3531
+ "path": "/user/:id",
3532
+ "private": false,
3533
+ "scopes": [
3534
+ "homey.user"
3535
+ ],
3536
+ "crud": {
3537
+ "type": "updateOne",
3538
+ "item": "User"
3539
+ },
3540
+ "parameters": {
3541
+ "id": {
3542
+ "in": "path",
3543
+ "type": "string",
3544
+ "required": true
3545
+ },
3546
+ "user": {
3547
+ "in": "body",
3548
+ "type": "object",
3549
+ "root": true,
3550
+ "required": true,
3551
+ "properties": {
3552
+ "role": {
3553
+ "type": "string"
3554
+ },
3555
+ "enabled": {
3556
+ "type": "boolean"
3557
+ }
3558
+ }
3559
+ }
3560
+ }
3561
+ },
3562
+ "deleteUser": {
3563
+ "method": "delete",
3564
+ "path": "/user/:id",
3565
+ "private": false,
3566
+ "scopes": [
3567
+ "homey.user"
3568
+ ],
3569
+ "crud": {
3570
+ "type": "deleteOne",
3571
+ "item": "User"
3572
+ },
3573
+ "parameters": {
3574
+ "id": {
3575
+ "in": "path",
3576
+ "type": "string",
3577
+ "required": true
3578
+ }
3579
+ }
3580
+ },
3581
+ "updateUserMeProperties": {
3582
+ "method": "put",
3583
+ "path": "/user/me/properties/:id",
3584
+ "private": false,
3585
+ "scopes": [
3586
+ "homey.user.self"
3587
+ ],
3588
+ "parameters": {
3589
+ "id": {
3590
+ "in": "path",
3591
+ "type": "string",
3592
+ "required": true
3593
+ },
3594
+ "value": {
3595
+ "in": "body",
3596
+ "type": "object",
3597
+ "required": true
3598
+ }
3599
+ }
3600
+ },
3601
+ "deleteUserMeProperties": {
3602
+ "method": "delete",
3603
+ "path": "/user/me/properties/:id",
3604
+ "private": false,
3605
+ "scopes": [
3606
+ "homey.user.self"
3607
+ ],
3608
+ "parameters": {
3609
+ "id": {
3610
+ "in": "path",
3611
+ "type": "string",
3612
+ "required": true
3613
+ }
3614
+ }
3615
+ }
3616
+ }
3617
+ },
3618
+ "ManagerVirtualDevice": {
3619
+ "id": "vdevice",
3620
+ "idCamelCase": "vdevice",
3621
+ "items": {
3622
+ "VirtualDriverVirtualSocket": {
3623
+ "id": "virtualdrivervirtualsocket",
3624
+ "schema": {
3625
+ "type": "object",
3626
+ "properties": {
3627
+ "id": {
3628
+ "type": "string"
3629
+ }
3630
+ }
3631
+ }
3632
+ },
3633
+ "VirtualDeviceVirtualSocket": {
3634
+ "id": "virtualdevicevirtualsocket",
3635
+ "schema": {
3636
+ "type": "object",
3637
+ "properties": {
3638
+ "id": {
3639
+ "type": "string"
3640
+ }
3641
+ }
3642
+ }
3643
+ },
3644
+ "VirtualDriverZwave": {
3645
+ "id": "virtualdriverzwave",
3646
+ "schema": {
3647
+ "type": "object",
3648
+ "properties": {
3649
+ "id": {
3650
+ "type": "string"
3651
+ }
3652
+ }
3653
+ }
3654
+ },
3655
+ "VirtualDeviceZwave": {
3656
+ "id": "virtualdevicezwave",
3657
+ "schema": {
3658
+ "type": "object",
3659
+ "properties": {
3660
+ "id": {
3661
+ "type": "string"
3662
+ }
3663
+ }
3664
+ }
3665
+ },
3666
+ "VirtualDriverZigbee": {
3667
+ "id": "virtualdriverzigbee",
3668
+ "schema": {
3669
+ "type": "object",
3670
+ "properties": {
3671
+ "id": {
3672
+ "type": "string"
3673
+ }
3674
+ }
3675
+ }
3676
+ },
3677
+ "VirtualDeviceZigbee": {
3678
+ "id": "virtualdevicezigbee",
3679
+ "schema": {
3680
+ "type": "object",
3681
+ "properties": {
3682
+ "id": {
3683
+ "type": "string"
3684
+ }
3685
+ }
3686
+ }
3687
+ },
3688
+ "VirtualDriverInfrared": {
3689
+ "id": "virtualdriverinfrared",
3690
+ "schema": {
3691
+ "type": "object",
3692
+ "properties": {
3693
+ "id": {
3694
+ "type": "string"
3695
+ }
3696
+ }
3697
+ }
3698
+ },
3699
+ "VirtualDeviceInfrared": {
3700
+ "id": "virtualdeviceinfrared",
3701
+ "schema": {
3702
+ "type": "object",
3703
+ "properties": {
3704
+ "id": {
3705
+ "type": "string"
3706
+ }
3707
+ }
3708
+ }
3709
+ },
3710
+ "VirtualDriverHomeyBridge": {
3711
+ "id": "virtualdriverbridge",
3712
+ "schema": {
3713
+ "type": "object",
3714
+ "properties": {
3715
+ "id": {
3716
+ "type": "string"
3717
+ }
3718
+ }
3719
+ }
3720
+ },
3721
+ "VirtualDeviceHomeyBridge": {
3722
+ "id": "virtualdevicebridge",
3723
+ "schema": {
3724
+ "type": "object",
3725
+ "properties": {
3726
+ "id": {
3727
+ "type": "string"
3728
+ }
3729
+ }
3730
+ }
3731
+ }
3732
+ },
3733
+ "operations": {
3734
+ "getState": {
3735
+ "method": "get",
3736
+ "path": "/state",
3737
+ "private": false,
3738
+ "scopes": [
3739
+ "homey.system.readonly"
3740
+ ],
3741
+ "parameters": {}
3742
+ }
3743
+ }
3744
+ },
3745
+ "ManagerWeather": {
3746
+ "id": "weather",
3747
+ "idCamelCase": "weather",
3748
+ "items": {},
3749
+ "operations": {
3750
+ "getState": {
3751
+ "method": "get",
3752
+ "path": "/state",
3753
+ "private": false,
3754
+ "scopes": [
3755
+ "homey.system.readonly"
3756
+ ],
3757
+ "parameters": {}
3758
+ },
3759
+ "getWeather": {
3760
+ "method": "get",
3761
+ "path": "/weather",
3762
+ "private": false,
3763
+ "scopes": [
3764
+ "homey.geolocation.readonly"
3765
+ ],
3766
+ "parameters": {}
3767
+ }
3768
+ }
3769
+ },
3770
+ "ManagerWebserver": {
3771
+ "id": "webserver",
3772
+ "idCamelCase": "webserver",
3773
+ "items": {},
3774
+ "operations": {
3775
+ "getState": {
3776
+ "method": "get",
3777
+ "path": "/state",
3778
+ "private": false,
3779
+ "scopes": [
3780
+ "homey.system.readonly"
3781
+ ],
3782
+ "parameters": {}
3783
+ }
3784
+ }
3785
+ },
3786
+ "ManagerZigbee": {
3787
+ "id": "zigbee",
3788
+ "idCamelCase": "zigbee",
3789
+ "items": {},
3790
+ "operations": {
3791
+ "getState": {
3792
+ "method": "get",
3793
+ "path": "/state",
3794
+ "private": false,
3795
+ "scopes": [
3796
+ "homey.system.readonly"
3797
+ ],
3798
+ "parameters": {}
3799
+ },
3800
+ "flashFirmware": {
3801
+ "method": "put",
3802
+ "path": "/flash-firmware",
3803
+ "private": true,
3804
+ "scopes": [
3805
+ "homey.system"
3806
+ ],
3807
+ "parameters": {}
3808
+ },
3809
+ "runCommand": {
3810
+ "method": "post",
3811
+ "path": "/command",
3812
+ "private": false,
3813
+ "scopes": [
3814
+ "homey.system"
3815
+ ],
3816
+ "parameters": {
3817
+ "command": {
3818
+ "in": "body",
3819
+ "type": "string",
3820
+ "required": true
3821
+ },
3822
+ "opts": {
3823
+ "in": "body",
3824
+ "type": "object"
3825
+ }
3826
+ }
3827
+ }
3828
+ }
3829
+ },
3830
+ "ManagerZones": {
3831
+ "id": "zones",
3832
+ "idCamelCase": "zones",
3833
+ "items": {
3834
+ "Zone": {
3835
+ "id": "zone",
3836
+ "schema": {
3837
+ "type": "object",
3838
+ "properties": {
3839
+ "id": {
3840
+ "type": "string"
3841
+ }
3842
+ }
3843
+ }
3844
+ }
3845
+ },
3846
+ "operations": {
3847
+ "getState": {
3848
+ "method": "get",
3849
+ "path": "/state",
3850
+ "private": false,
3851
+ "scopes": [
3852
+ "homey.system.readonly"
3853
+ ],
3854
+ "parameters": {}
3855
+ },
3856
+ "getZones": {
3857
+ "method": "get",
3858
+ "path": "/zone",
3859
+ "private": false,
3860
+ "scopes": [],
3861
+ "crud": {
3862
+ "type": "getAll",
3863
+ "item": "Zone"
3864
+ },
3865
+ "parameters": {}
3866
+ },
3867
+ "createZone": {
3868
+ "method": "post",
3869
+ "path": "/zone",
3870
+ "private": false,
3871
+ "scopes": [
3872
+ "homey.zone"
3873
+ ],
3874
+ "crud": {
3875
+ "type": "createOne",
3876
+ "item": "Zone"
3877
+ },
3878
+ "parameters": {
3879
+ "zone": {
3880
+ "in": "body",
3881
+ "type": "object",
3882
+ "root": true,
3883
+ "required": true,
3884
+ "properties": {
3885
+ "name": {
3886
+ "type": "string",
3887
+ "required": true
3888
+ },
3889
+ "icon": {
3890
+ "type": "string",
3891
+ "required": true
3892
+ },
3893
+ "parent": {
3894
+ "type": "string",
3895
+ "required": true
3896
+ }
3897
+ }
3898
+ }
3899
+ }
3900
+ },
3901
+ "updateZone": {
3902
+ "method": "put",
3903
+ "path": "/zone/:id",
3904
+ "private": false,
3905
+ "scopes": [
3906
+ "homey.zone"
3907
+ ],
3908
+ "crud": {
3909
+ "type": "updateOne",
3910
+ "item": "Zone"
3911
+ },
3912
+ "parameters": {
3913
+ "id": {
3914
+ "in": "path",
3915
+ "type": "string",
3916
+ "required": true
3917
+ },
3918
+ "zone": {
3919
+ "in": "body",
3920
+ "type": "object",
3921
+ "root": true,
3922
+ "required": true,
3923
+ "properties": {
3924
+ "name": {
3925
+ "type": "string",
3926
+ "required": true
3927
+ },
3928
+ "icon": {
3929
+ "type": "string",
3930
+ "required": true
3931
+ },
3932
+ "parent": {
3933
+ "type": "string",
3934
+ "required": true
3935
+ }
3936
+ }
3937
+ }
3938
+ }
3939
+ },
3940
+ "deleteZone": {
3941
+ "method": "delete",
3942
+ "path": "/zone/:id",
3943
+ "private": false,
3944
+ "scopes": [
3945
+ "homey.zone"
3946
+ ],
3947
+ "crud": {
3948
+ "type": "deleteOne",
3949
+ "item": "Zone"
3950
+ },
3951
+ "parameters": {
3952
+ "id": {
3953
+ "in": "path",
3954
+ "type": "string",
3955
+ "required": true
3956
+ }
3957
+ }
3958
+ }
3959
+ }
3960
+ },
3961
+ "ManagerZwave": {
3962
+ "id": "zwave",
3963
+ "idCamelCase": "zwave",
3964
+ "items": {},
3965
+ "operations": {
3966
+ "getState": {
3967
+ "method": "get",
3968
+ "path": "/state",
3969
+ "private": false,
3970
+ "scopes": [
3971
+ "homey.system.readonly"
3972
+ ],
3973
+ "parameters": {}
3974
+ },
3975
+ "runCommand": {
3976
+ "method": "post",
3977
+ "path": "/command",
3978
+ "private": false,
3979
+ "scopes": [
3980
+ "homey.system"
3981
+ ],
3982
+ "parameters": {
3983
+ "command": {
3984
+ "in": "body",
3985
+ "type": "string",
3986
+ "required": true
3987
+ },
3988
+ "opts": {
3989
+ "in": "body",
3990
+ "type": "object"
3991
+ }
3992
+ }
3993
+ },
3994
+ "flashFirmware": {
3995
+ "method": "put",
3996
+ "path": "/flash-firmware",
3997
+ "private": true,
3998
+ "scopes": [
3999
+ "homey.system"
4000
+ ],
4001
+ "parameters": {}
4002
+ }
4003
+ }
4004
+ }
4005
+ }
3
4006
  }