@itentialopensource/adapter-webex_teams 0.6.0 → 0.7.1

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.
Files changed (44) hide show
  1. package/CALLS.md +252 -0
  2. package/CHANGELOG.md +16 -0
  3. package/CONTRIBUTING.md +1 -160
  4. package/ENHANCE.md +2 -2
  5. package/README.md +32 -23
  6. package/adapter.js +161 -333
  7. package/adapterBase.js +549 -879
  8. package/changelogs/changelog.md +91 -0
  9. package/metadata.json +62 -0
  10. package/package.json +24 -25
  11. package/pronghorn.json +981 -642
  12. package/propertiesSchema.json +431 -31
  13. package/refs?service=git-upload-pack +0 -0
  14. package/report/adapter-openapi.json +1336 -0
  15. package/report/adapter-openapi.yaml +1054 -0
  16. package/report/adapterInfo.json +8 -8
  17. package/report/updateReport1691506975130.json +120 -0
  18. package/report/updateReport1692201585506.json +120 -0
  19. package/report/updateReport1692203006473.json +120 -0
  20. package/report/updateReport1694455098258.json +120 -0
  21. package/report/updateReport1694466795632.json +120 -0
  22. package/report/updateReport1698422054637.json +120 -0
  23. package/sampleProperties.json +63 -2
  24. package/test/integration/adapterTestBasicGet.js +2 -4
  25. package/test/integration/adapterTestConnectivity.js +91 -42
  26. package/test/integration/adapterTestIntegration.js +130 -2
  27. package/test/unit/adapterBaseTestUnit.js +388 -313
  28. package/test/unit/adapterTestUnit.js +338 -112
  29. package/utils/adapterInfo.js +1 -1
  30. package/utils/addAuth.js +1 -1
  31. package/utils/artifactize.js +1 -1
  32. package/utils/checkMigrate.js +1 -1
  33. package/utils/entitiesToDB.js +2 -2
  34. package/utils/findPath.js +1 -1
  35. package/utils/methodDocumentor.js +273 -0
  36. package/utils/modify.js +13 -15
  37. package/utils/packModificationScript.js +1 -1
  38. package/utils/pre-commit.sh +2 -0
  39. package/utils/taskMover.js +309 -0
  40. package/utils/tbScript.js +89 -34
  41. package/utils/tbUtils.js +41 -21
  42. package/utils/testRunner.js +1 -1
  43. package/utils/troubleshootingAdapter.js +9 -6
  44. package/workflows/README.md +0 -3
@@ -0,0 +1,1336 @@
1
+ {
2
+ "openapi": "3.0.2",
3
+ "info": {
4
+ "title": "adapter-webex_teams",
5
+ "version": "1.0.0"
6
+ },
7
+ "paths": {
8
+ "/people/": {
9
+ "get": {
10
+ "operationId": "getPeople",
11
+ "responses": {
12
+ "200": {
13
+ "description": "Successful operation",
14
+ "content": {
15
+ "application/json": {
16
+ "schema": {
17
+ "title": "result",
18
+ "type": "object"
19
+ }
20
+ }
21
+ }
22
+ }
23
+ },
24
+ "parameters": [
25
+ {
26
+ "name": "id",
27
+ "in": "query",
28
+ "required": false,
29
+ "schema": {
30
+ "title": "id",
31
+ "type": "string"
32
+ }
33
+ },
34
+ {
35
+ "name": "email",
36
+ "in": "query",
37
+ "required": false,
38
+ "schema": {
39
+ "title": "email",
40
+ "type": "string"
41
+ }
42
+ },
43
+ {
44
+ "name": "displayName",
45
+ "in": "query",
46
+ "required": false,
47
+ "schema": {
48
+ "title": "displayName",
49
+ "type": "string"
50
+ }
51
+ },
52
+ {
53
+ "name": "max",
54
+ "in": "query",
55
+ "required": false,
56
+ "schema": {
57
+ "title": "max",
58
+ "type": "number"
59
+ }
60
+ }
61
+ ]
62
+ },
63
+ "post": {
64
+ "operationId": "addPerson",
65
+ "responses": {
66
+ "200": {
67
+ "description": "Successful operation",
68
+ "content": {
69
+ "application/json": {
70
+ "schema": {
71
+ "title": "result",
72
+ "type": "object"
73
+ }
74
+ }
75
+ }
76
+ }
77
+ },
78
+ "requestBody": {
79
+ "content": {
80
+ "application/json": {
81
+ "schema": {
82
+ "type": "object"
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ },
89
+ "/people/{personId}": {
90
+ "get": {
91
+ "operationId": "getPerson",
92
+ "responses": {
93
+ "200": {
94
+ "description": "Successful operation",
95
+ "content": {
96
+ "application/json": {
97
+ "schema": {
98
+ "title": "result",
99
+ "type": "object"
100
+ }
101
+ }
102
+ }
103
+ }
104
+ },
105
+ "parameters": [
106
+ {
107
+ "name": "personId",
108
+ "in": "path",
109
+ "required": true,
110
+ "schema": {
111
+ "title": "personId",
112
+ "type": "string"
113
+ }
114
+ }
115
+ ]
116
+ },
117
+ "put": {
118
+ "operationId": "updatePerson",
119
+ "responses": {
120
+ "200": {
121
+ "description": "Successful operation",
122
+ "content": {
123
+ "application/json": {
124
+ "schema": {
125
+ "title": "result",
126
+ "type": "object"
127
+ }
128
+ }
129
+ }
130
+ }
131
+ },
132
+ "parameters": [
133
+ {
134
+ "name": "personId",
135
+ "in": "path",
136
+ "required": true,
137
+ "schema": {
138
+ "title": "personId",
139
+ "type": "string"
140
+ }
141
+ }
142
+ ],
143
+ "requestBody": {
144
+ "content": {
145
+ "application/json": {
146
+ "schema": {
147
+ "type": "object"
148
+ }
149
+ }
150
+ }
151
+ }
152
+ },
153
+ "delete": {
154
+ "operationId": "deletePerson",
155
+ "responses": {
156
+ "200": {
157
+ "description": "Successful operation",
158
+ "content": {
159
+ "application/json": {
160
+ "schema": {
161
+ "title": "result",
162
+ "type": "object"
163
+ }
164
+ }
165
+ }
166
+ }
167
+ },
168
+ "parameters": [
169
+ {
170
+ "name": "personId",
171
+ "in": "path",
172
+ "required": true,
173
+ "schema": {
174
+ "title": "personId",
175
+ "type": "string"
176
+ }
177
+ }
178
+ ]
179
+ }
180
+ },
181
+ "/people/me": {
182
+ "get": {
183
+ "operationId": "getMe",
184
+ "responses": {
185
+ "200": {
186
+ "description": "Successful operation",
187
+ "content": {
188
+ "application/json": {
189
+ "schema": {
190
+ "title": "result",
191
+ "type": "object"
192
+ }
193
+ }
194
+ }
195
+ }
196
+ }
197
+ }
198
+ },
199
+ "/rooms/": {
200
+ "get": {
201
+ "operationId": "getRooms",
202
+ "responses": {
203
+ "200": {
204
+ "description": "Successful operation",
205
+ "content": {
206
+ "application/json": {
207
+ "schema": {
208
+ "title": "result",
209
+ "type": "object"
210
+ }
211
+ }
212
+ }
213
+ }
214
+ },
215
+ "parameters": [
216
+ {
217
+ "name": "teamId",
218
+ "in": "query",
219
+ "required": false,
220
+ "schema": {
221
+ "title": "teamId",
222
+ "type": "string"
223
+ }
224
+ },
225
+ {
226
+ "name": "type",
227
+ "in": "query",
228
+ "required": false,
229
+ "schema": {
230
+ "title": "type",
231
+ "type": "string"
232
+ }
233
+ },
234
+ {
235
+ "name": "max",
236
+ "in": "query",
237
+ "required": false,
238
+ "schema": {
239
+ "title": "max",
240
+ "type": "number"
241
+ }
242
+ }
243
+ ]
244
+ },
245
+ "post": {
246
+ "operationId": "createRoom",
247
+ "responses": {
248
+ "200": {
249
+ "description": "Successful operation",
250
+ "content": {
251
+ "application/json": {
252
+ "schema": {
253
+ "title": "result",
254
+ "type": "object"
255
+ }
256
+ }
257
+ }
258
+ }
259
+ },
260
+ "requestBody": {
261
+ "content": {
262
+ "application/json": {
263
+ "schema": {
264
+ "type": "object"
265
+ }
266
+ }
267
+ }
268
+ }
269
+ }
270
+ },
271
+ "/rooms/{roomId}": {
272
+ "get": {
273
+ "operationId": "getRoom",
274
+ "responses": {
275
+ "200": {
276
+ "description": "Successful operation",
277
+ "content": {
278
+ "application/json": {
279
+ "schema": {
280
+ "title": "result",
281
+ "type": "object"
282
+ }
283
+ }
284
+ }
285
+ }
286
+ },
287
+ "parameters": [
288
+ {
289
+ "name": "roomId",
290
+ "in": "path",
291
+ "required": true,
292
+ "schema": {
293
+ "title": "roomId",
294
+ "type": "string"
295
+ }
296
+ }
297
+ ]
298
+ },
299
+ "put": {
300
+ "operationId": "updateRoom",
301
+ "responses": {
302
+ "200": {
303
+ "description": "Successful operation",
304
+ "content": {
305
+ "application/json": {
306
+ "schema": {
307
+ "title": "result",
308
+ "type": "object"
309
+ }
310
+ }
311
+ }
312
+ }
313
+ },
314
+ "parameters": [
315
+ {
316
+ "name": "roomId",
317
+ "in": "path",
318
+ "required": true,
319
+ "schema": {
320
+ "title": "roomId",
321
+ "type": "string"
322
+ }
323
+ }
324
+ ],
325
+ "requestBody": {
326
+ "content": {
327
+ "application/json": {
328
+ "schema": {
329
+ "type": "object"
330
+ }
331
+ }
332
+ }
333
+ }
334
+ },
335
+ "delete": {
336
+ "operationId": "deleteRoom",
337
+ "responses": {
338
+ "200": {
339
+ "description": "Successful operation",
340
+ "content": {
341
+ "application/json": {
342
+ "schema": {
343
+ "title": "result",
344
+ "type": "object"
345
+ }
346
+ }
347
+ }
348
+ }
349
+ },
350
+ "parameters": [
351
+ {
352
+ "name": "roomId",
353
+ "in": "path",
354
+ "required": true,
355
+ "schema": {
356
+ "title": "roomId",
357
+ "type": "string"
358
+ }
359
+ }
360
+ ]
361
+ }
362
+ },
363
+ "/memberships/": {
364
+ "get": {
365
+ "operationId": "getMemberships",
366
+ "responses": {
367
+ "200": {
368
+ "description": "Successful operation",
369
+ "content": {
370
+ "application/json": {
371
+ "schema": {
372
+ "title": "result",
373
+ "type": "object"
374
+ }
375
+ }
376
+ }
377
+ }
378
+ },
379
+ "parameters": [
380
+ {
381
+ "name": "roomId",
382
+ "in": "query",
383
+ "required": false,
384
+ "schema": {
385
+ "title": "roomId",
386
+ "type": "string"
387
+ }
388
+ },
389
+ {
390
+ "name": "personId",
391
+ "in": "query",
392
+ "required": false,
393
+ "schema": {
394
+ "title": "personId",
395
+ "type": "string"
396
+ }
397
+ },
398
+ {
399
+ "name": "personEmail",
400
+ "in": "query",
401
+ "required": false,
402
+ "schema": {
403
+ "title": "personEmail",
404
+ "type": "string"
405
+ }
406
+ },
407
+ {
408
+ "name": "max",
409
+ "in": "query",
410
+ "required": false,
411
+ "schema": {
412
+ "title": "max",
413
+ "type": "number"
414
+ }
415
+ }
416
+ ]
417
+ },
418
+ "post": {
419
+ "operationId": "createMembership",
420
+ "responses": {
421
+ "200": {
422
+ "description": "Successful operation",
423
+ "content": {
424
+ "application/json": {
425
+ "schema": {
426
+ "title": "result",
427
+ "type": "object"
428
+ }
429
+ }
430
+ }
431
+ }
432
+ },
433
+ "requestBody": {
434
+ "content": {
435
+ "application/json": {
436
+ "schema": {
437
+ "type": "object"
438
+ }
439
+ }
440
+ }
441
+ }
442
+ }
443
+ },
444
+ "/memberships/{membershipId}": {
445
+ "get": {
446
+ "operationId": "getMembership",
447
+ "responses": {
448
+ "200": {
449
+ "description": "Successful operation",
450
+ "content": {
451
+ "application/json": {
452
+ "schema": {
453
+ "title": "result",
454
+ "type": "object"
455
+ }
456
+ }
457
+ }
458
+ }
459
+ },
460
+ "parameters": [
461
+ {
462
+ "name": "membershipId",
463
+ "in": "path",
464
+ "required": true,
465
+ "schema": {
466
+ "title": "membershipId",
467
+ "type": "string"
468
+ }
469
+ }
470
+ ]
471
+ },
472
+ "put": {
473
+ "operationId": "updateMembership",
474
+ "responses": {
475
+ "200": {
476
+ "description": "Successful operation",
477
+ "content": {
478
+ "application/json": {
479
+ "schema": {
480
+ "title": "result",
481
+ "type": "object"
482
+ }
483
+ }
484
+ }
485
+ }
486
+ },
487
+ "parameters": [
488
+ {
489
+ "name": "membershipId",
490
+ "in": "path",
491
+ "required": true,
492
+ "schema": {
493
+ "title": "membershipId",
494
+ "type": "string"
495
+ }
496
+ }
497
+ ],
498
+ "requestBody": {
499
+ "content": {
500
+ "application/json": {
501
+ "schema": {
502
+ "type": "object"
503
+ }
504
+ }
505
+ }
506
+ }
507
+ },
508
+ "delete": {
509
+ "operationId": "deleteMembership",
510
+ "responses": {
511
+ "200": {
512
+ "description": "Successful operation",
513
+ "content": {
514
+ "application/json": {
515
+ "schema": {
516
+ "title": "result",
517
+ "type": "object"
518
+ }
519
+ }
520
+ }
521
+ }
522
+ },
523
+ "parameters": [
524
+ {
525
+ "name": "membershipId",
526
+ "in": "path",
527
+ "required": true,
528
+ "schema": {
529
+ "title": "membershipId",
530
+ "type": "string"
531
+ }
532
+ }
533
+ ]
534
+ }
535
+ },
536
+ "/messages/": {
537
+ "get": {
538
+ "operationId": "getMessages",
539
+ "responses": {
540
+ "200": {
541
+ "description": "Successful operation",
542
+ "content": {
543
+ "application/json": {
544
+ "schema": {
545
+ "title": "result",
546
+ "type": "object"
547
+ }
548
+ }
549
+ }
550
+ }
551
+ },
552
+ "parameters": [
553
+ {
554
+ "name": "roomId",
555
+ "in": "query",
556
+ "required": true,
557
+ "schema": {
558
+ "title": "roomId",
559
+ "type": "string"
560
+ }
561
+ },
562
+ {
563
+ "name": "mentionedPeople",
564
+ "in": "query",
565
+ "required": false,
566
+ "schema": {
567
+ "title": "mentionedPeople",
568
+ "type": "string"
569
+ }
570
+ },
571
+ {
572
+ "name": "before",
573
+ "in": "query",
574
+ "required": false,
575
+ "schema": {
576
+ "title": "before",
577
+ "type": "string"
578
+ }
579
+ },
580
+ {
581
+ "name": "beforeMessage",
582
+ "in": "query",
583
+ "required": false,
584
+ "schema": {
585
+ "title": "beforeMessage",
586
+ "type": "string"
587
+ }
588
+ },
589
+ {
590
+ "name": "max",
591
+ "in": "query",
592
+ "required": false,
593
+ "schema": {
594
+ "title": "max",
595
+ "type": "number"
596
+ }
597
+ }
598
+ ]
599
+ },
600
+ "post": {
601
+ "operationId": "createMessage",
602
+ "responses": {
603
+ "200": {
604
+ "description": "Successful operation",
605
+ "content": {
606
+ "application/json": {
607
+ "schema": {
608
+ "title": "result",
609
+ "type": "object"
610
+ }
611
+ }
612
+ }
613
+ }
614
+ },
615
+ "requestBody": {
616
+ "content": {
617
+ "application/json": {
618
+ "schema": {
619
+ "type": "object"
620
+ }
621
+ }
622
+ }
623
+ }
624
+ }
625
+ },
626
+ "/messages/{messageId}": {
627
+ "get": {
628
+ "operationId": "getMessage",
629
+ "responses": {
630
+ "200": {
631
+ "description": "Successful operation",
632
+ "content": {
633
+ "application/json": {
634
+ "schema": {
635
+ "title": "result",
636
+ "type": "object"
637
+ }
638
+ }
639
+ }
640
+ }
641
+ },
642
+ "parameters": [
643
+ {
644
+ "name": "messageId",
645
+ "in": "path",
646
+ "required": true,
647
+ "schema": {
648
+ "title": "messageId",
649
+ "type": "string"
650
+ }
651
+ }
652
+ ]
653
+ },
654
+ "delete": {
655
+ "operationId": "deleteMessage",
656
+ "responses": {
657
+ "200": {
658
+ "description": "Successful operation",
659
+ "content": {
660
+ "application/json": {
661
+ "schema": {
662
+ "title": "result",
663
+ "type": "object"
664
+ }
665
+ }
666
+ }
667
+ }
668
+ },
669
+ "parameters": [
670
+ {
671
+ "name": "messageId",
672
+ "in": "path",
673
+ "required": true,
674
+ "schema": {
675
+ "title": "messageId",
676
+ "type": "string"
677
+ }
678
+ }
679
+ ]
680
+ }
681
+ },
682
+ "/teams/": {
683
+ "get": {
684
+ "operationId": "getTeams",
685
+ "responses": {
686
+ "200": {
687
+ "description": "Successful operation",
688
+ "content": {
689
+ "application/json": {
690
+ "schema": {
691
+ "title": "result",
692
+ "type": "object"
693
+ }
694
+ }
695
+ }
696
+ }
697
+ },
698
+ "parameters": [
699
+ {
700
+ "name": "max",
701
+ "in": "query",
702
+ "required": false,
703
+ "schema": {
704
+ "title": "max",
705
+ "type": "number"
706
+ }
707
+ }
708
+ ]
709
+ },
710
+ "post": {
711
+ "operationId": "createTeam",
712
+ "responses": {
713
+ "200": {
714
+ "description": "Successful operation",
715
+ "content": {
716
+ "application/json": {
717
+ "schema": {
718
+ "title": "result",
719
+ "type": "object"
720
+ }
721
+ }
722
+ }
723
+ }
724
+ },
725
+ "requestBody": {
726
+ "content": {
727
+ "application/json": {
728
+ "schema": {
729
+ "type": "object"
730
+ }
731
+ }
732
+ }
733
+ }
734
+ }
735
+ },
736
+ "/teams/{teamId}": {
737
+ "get": {
738
+ "operationId": "getTeam",
739
+ "responses": {
740
+ "200": {
741
+ "description": "Successful operation",
742
+ "content": {
743
+ "application/json": {
744
+ "schema": {
745
+ "title": "result",
746
+ "type": "object"
747
+ }
748
+ }
749
+ }
750
+ }
751
+ },
752
+ "parameters": [
753
+ {
754
+ "name": "teamId",
755
+ "in": "path",
756
+ "required": true,
757
+ "schema": {
758
+ "title": "teamId",
759
+ "type": "string"
760
+ }
761
+ }
762
+ ]
763
+ },
764
+ "put": {
765
+ "operationId": "updateTeam",
766
+ "responses": {
767
+ "200": {
768
+ "description": "Successful operation",
769
+ "content": {
770
+ "application/json": {
771
+ "schema": {
772
+ "title": "result",
773
+ "type": "object"
774
+ }
775
+ }
776
+ }
777
+ }
778
+ },
779
+ "parameters": [
780
+ {
781
+ "name": "teamId",
782
+ "in": "path",
783
+ "required": true,
784
+ "schema": {
785
+ "title": "teamId",
786
+ "type": "string"
787
+ }
788
+ }
789
+ ],
790
+ "requestBody": {
791
+ "content": {
792
+ "application/json": {
793
+ "schema": {
794
+ "type": "object"
795
+ }
796
+ }
797
+ }
798
+ }
799
+ },
800
+ "delete": {
801
+ "operationId": "deleteTeam",
802
+ "responses": {
803
+ "200": {
804
+ "description": "Successful operation",
805
+ "content": {
806
+ "application/json": {
807
+ "schema": {
808
+ "title": "result",
809
+ "type": "object"
810
+ }
811
+ }
812
+ }
813
+ }
814
+ },
815
+ "parameters": [
816
+ {
817
+ "name": "teamId",
818
+ "in": "path",
819
+ "required": true,
820
+ "schema": {
821
+ "title": "teamId",
822
+ "type": "string"
823
+ }
824
+ }
825
+ ]
826
+ }
827
+ },
828
+ "/team/memberships/": {
829
+ "get": {
830
+ "operationId": "getTeamMemberships",
831
+ "responses": {
832
+ "200": {
833
+ "description": "Successful operation",
834
+ "content": {
835
+ "application/json": {
836
+ "schema": {
837
+ "title": "result",
838
+ "type": "object"
839
+ }
840
+ }
841
+ }
842
+ }
843
+ },
844
+ "parameters": [
845
+ {
846
+ "name": "teamId",
847
+ "in": "query",
848
+ "required": true,
849
+ "schema": {
850
+ "title": "teamId",
851
+ "type": "string"
852
+ }
853
+ },
854
+ {
855
+ "name": "max",
856
+ "in": "query",
857
+ "required": false,
858
+ "schema": {
859
+ "title": "max",
860
+ "type": "number"
861
+ }
862
+ }
863
+ ]
864
+ },
865
+ "post": {
866
+ "operationId": "createTeamMembership",
867
+ "responses": {
868
+ "200": {
869
+ "description": "Successful operation",
870
+ "content": {
871
+ "application/json": {
872
+ "schema": {
873
+ "title": "result",
874
+ "type": "object"
875
+ }
876
+ }
877
+ }
878
+ }
879
+ },
880
+ "requestBody": {
881
+ "content": {
882
+ "application/json": {
883
+ "schema": {
884
+ "type": "object"
885
+ }
886
+ }
887
+ }
888
+ }
889
+ }
890
+ },
891
+ "/team/memberships/{membershipId}": {
892
+ "get": {
893
+ "operationId": "getTeamMembership",
894
+ "responses": {
895
+ "200": {
896
+ "description": "Successful operation",
897
+ "content": {
898
+ "application/json": {
899
+ "schema": {
900
+ "title": "result",
901
+ "type": "object"
902
+ }
903
+ }
904
+ }
905
+ }
906
+ },
907
+ "parameters": [
908
+ {
909
+ "name": "membershipId",
910
+ "in": "path",
911
+ "required": true,
912
+ "schema": {
913
+ "title": "membershipId",
914
+ "type": "string"
915
+ }
916
+ }
917
+ ]
918
+ },
919
+ "put": {
920
+ "operationId": "updateTeamMembership",
921
+ "responses": {
922
+ "200": {
923
+ "description": "Successful operation",
924
+ "content": {
925
+ "application/json": {
926
+ "schema": {
927
+ "title": "result",
928
+ "type": "object"
929
+ }
930
+ }
931
+ }
932
+ }
933
+ },
934
+ "parameters": [
935
+ {
936
+ "name": "membershipId",
937
+ "in": "path",
938
+ "required": true,
939
+ "schema": {
940
+ "title": "membershipId",
941
+ "type": "string"
942
+ }
943
+ }
944
+ ],
945
+ "requestBody": {
946
+ "content": {
947
+ "application/json": {
948
+ "schema": {
949
+ "type": "object"
950
+ }
951
+ }
952
+ }
953
+ }
954
+ },
955
+ "delete": {
956
+ "operationId": "deleteTeamMembership",
957
+ "responses": {
958
+ "200": {
959
+ "description": "Successful operation",
960
+ "content": {
961
+ "application/json": {
962
+ "schema": {
963
+ "title": "result",
964
+ "type": "object"
965
+ }
966
+ }
967
+ }
968
+ }
969
+ },
970
+ "parameters": [
971
+ {
972
+ "name": "membershipId",
973
+ "in": "path",
974
+ "required": true,
975
+ "schema": {
976
+ "title": "membershipId",
977
+ "type": "string"
978
+ }
979
+ }
980
+ ]
981
+ }
982
+ },
983
+ "/webhooks/": {
984
+ "get": {
985
+ "operationId": "getWebhooks",
986
+ "responses": {
987
+ "200": {
988
+ "description": "Successful operation",
989
+ "content": {
990
+ "application/json": {
991
+ "schema": {
992
+ "title": "result",
993
+ "type": "object"
994
+ }
995
+ }
996
+ }
997
+ }
998
+ },
999
+ "parameters": [
1000
+ {
1001
+ "name": "max",
1002
+ "in": "query",
1003
+ "required": false,
1004
+ "schema": {
1005
+ "title": "max",
1006
+ "type": "number"
1007
+ }
1008
+ }
1009
+ ]
1010
+ },
1011
+ "post": {
1012
+ "operationId": "createWebhook",
1013
+ "responses": {
1014
+ "200": {
1015
+ "description": "Successful operation",
1016
+ "content": {
1017
+ "application/json": {
1018
+ "schema": {
1019
+ "title": "result",
1020
+ "type": "object"
1021
+ }
1022
+ }
1023
+ }
1024
+ }
1025
+ },
1026
+ "requestBody": {
1027
+ "content": {
1028
+ "application/json": {
1029
+ "schema": {
1030
+ "type": "object"
1031
+ }
1032
+ }
1033
+ }
1034
+ }
1035
+ }
1036
+ },
1037
+ "/webhooks/{webhookId}": {
1038
+ "get": {
1039
+ "operationId": "getWebhook",
1040
+ "responses": {
1041
+ "200": {
1042
+ "description": "Successful operation",
1043
+ "content": {
1044
+ "application/json": {
1045
+ "schema": {
1046
+ "title": "result",
1047
+ "type": "object"
1048
+ }
1049
+ }
1050
+ }
1051
+ }
1052
+ },
1053
+ "parameters": [
1054
+ {
1055
+ "name": "webhookId",
1056
+ "in": "path",
1057
+ "required": true,
1058
+ "schema": {
1059
+ "title": "webhookId",
1060
+ "type": "string"
1061
+ }
1062
+ }
1063
+ ]
1064
+ },
1065
+ "put": {
1066
+ "operationId": "updateWebhook",
1067
+ "responses": {
1068
+ "200": {
1069
+ "description": "Successful operation",
1070
+ "content": {
1071
+ "application/json": {
1072
+ "schema": {
1073
+ "title": "result",
1074
+ "type": "object"
1075
+ }
1076
+ }
1077
+ }
1078
+ }
1079
+ },
1080
+ "parameters": [
1081
+ {
1082
+ "name": "webhookId",
1083
+ "in": "path",
1084
+ "required": true,
1085
+ "schema": {
1086
+ "title": "webhookId",
1087
+ "type": "string"
1088
+ }
1089
+ }
1090
+ ],
1091
+ "requestBody": {
1092
+ "content": {
1093
+ "application/json": {
1094
+ "schema": {
1095
+ "type": "object"
1096
+ }
1097
+ }
1098
+ }
1099
+ }
1100
+ },
1101
+ "delete": {
1102
+ "operationId": "deleteWebhook",
1103
+ "responses": {
1104
+ "200": {
1105
+ "description": "Successful operation",
1106
+ "content": {
1107
+ "application/json": {
1108
+ "schema": {
1109
+ "title": "result",
1110
+ "type": "object"
1111
+ }
1112
+ }
1113
+ }
1114
+ }
1115
+ },
1116
+ "parameters": [
1117
+ {
1118
+ "name": "webhookId",
1119
+ "in": "path",
1120
+ "required": true,
1121
+ "schema": {
1122
+ "title": "webhookId",
1123
+ "type": "string"
1124
+ }
1125
+ }
1126
+ ]
1127
+ }
1128
+ },
1129
+ "/organizations/": {
1130
+ "get": {
1131
+ "operationId": "getOrganizations",
1132
+ "responses": {
1133
+ "200": {
1134
+ "description": "Successful operation",
1135
+ "content": {
1136
+ "application/json": {
1137
+ "schema": {
1138
+ "title": "result",
1139
+ "type": "object"
1140
+ }
1141
+ }
1142
+ }
1143
+ }
1144
+ },
1145
+ "parameters": [
1146
+ {
1147
+ "name": "max",
1148
+ "in": "query",
1149
+ "required": false,
1150
+ "schema": {
1151
+ "title": "max",
1152
+ "type": "number"
1153
+ }
1154
+ }
1155
+ ]
1156
+ }
1157
+ },
1158
+ "/organizations/{orgId}": {
1159
+ "get": {
1160
+ "operationId": "getOrganization",
1161
+ "responses": {
1162
+ "200": {
1163
+ "description": "Successful operation",
1164
+ "content": {
1165
+ "application/json": {
1166
+ "schema": {
1167
+ "title": "result",
1168
+ "type": "object"
1169
+ }
1170
+ }
1171
+ }
1172
+ }
1173
+ },
1174
+ "parameters": [
1175
+ {
1176
+ "name": "orgId",
1177
+ "in": "path",
1178
+ "required": true,
1179
+ "schema": {
1180
+ "title": "orgId",
1181
+ "type": "string"
1182
+ }
1183
+ }
1184
+ ]
1185
+ }
1186
+ },
1187
+ "/licenses/": {
1188
+ "get": {
1189
+ "operationId": "getLicenses",
1190
+ "responses": {
1191
+ "200": {
1192
+ "description": "Successful operation",
1193
+ "content": {
1194
+ "application/json": {
1195
+ "schema": {
1196
+ "title": "result",
1197
+ "type": "object"
1198
+ }
1199
+ }
1200
+ }
1201
+ }
1202
+ },
1203
+ "parameters": [
1204
+ {
1205
+ "name": "max",
1206
+ "in": "query",
1207
+ "required": false,
1208
+ "schema": {
1209
+ "title": "max",
1210
+ "type": "number"
1211
+ }
1212
+ }
1213
+ ]
1214
+ }
1215
+ },
1216
+ "/licenses/{licenseId}": {
1217
+ "get": {
1218
+ "operationId": "getLicense",
1219
+ "responses": {
1220
+ "200": {
1221
+ "description": "Successful operation",
1222
+ "content": {
1223
+ "application/json": {
1224
+ "schema": {
1225
+ "title": "result",
1226
+ "type": "object"
1227
+ }
1228
+ }
1229
+ }
1230
+ }
1231
+ },
1232
+ "parameters": [
1233
+ {
1234
+ "name": "licenseId",
1235
+ "in": "path",
1236
+ "required": true,
1237
+ "schema": {
1238
+ "title": "licenseId",
1239
+ "type": "string"
1240
+ }
1241
+ }
1242
+ ]
1243
+ }
1244
+ },
1245
+ "/roles/": {
1246
+ "get": {
1247
+ "operationId": "getRoles",
1248
+ "responses": {
1249
+ "200": {
1250
+ "description": "Successful operation",
1251
+ "content": {
1252
+ "application/json": {
1253
+ "schema": {
1254
+ "title": "result",
1255
+ "type": "object"
1256
+ }
1257
+ }
1258
+ }
1259
+ }
1260
+ },
1261
+ "parameters": [
1262
+ {
1263
+ "name": "max",
1264
+ "in": "query",
1265
+ "required": false,
1266
+ "schema": {
1267
+ "title": "max",
1268
+ "type": "number"
1269
+ }
1270
+ }
1271
+ ]
1272
+ }
1273
+ },
1274
+ "/roles/{roleId}": {
1275
+ "get": {
1276
+ "operationId": "getRole",
1277
+ "responses": {
1278
+ "200": {
1279
+ "description": "Successful operation",
1280
+ "content": {
1281
+ "application/json": {
1282
+ "schema": {
1283
+ "title": "result",
1284
+ "type": "object"
1285
+ }
1286
+ }
1287
+ }
1288
+ }
1289
+ },
1290
+ "parameters": [
1291
+ {
1292
+ "name": "roleId",
1293
+ "in": "path",
1294
+ "required": true,
1295
+ "schema": {
1296
+ "title": "roleId",
1297
+ "type": "string"
1298
+ }
1299
+ }
1300
+ ]
1301
+ }
1302
+ },
1303
+ "/contents/{contentId}": {
1304
+ "get": {
1305
+ "operationId": "getContent",
1306
+ "responses": {
1307
+ "200": {
1308
+ "description": "Successful operation",
1309
+ "content": {
1310
+ "application/json": {
1311
+ "schema": {
1312
+ "title": "result",
1313
+ "type": "object"
1314
+ }
1315
+ }
1316
+ }
1317
+ }
1318
+ },
1319
+ "parameters": [
1320
+ {
1321
+ "name": "contentId",
1322
+ "in": "path",
1323
+ "required": true,
1324
+ "schema": {
1325
+ "title": "contentId",
1326
+ "type": "string"
1327
+ }
1328
+ }
1329
+ ]
1330
+ }
1331
+ }
1332
+ },
1333
+ "components": {
1334
+ "schemas": {}
1335
+ }
1336
+ }