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