@crvouga/mockingbird-service-app-store-connect 0.1.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.
package/openapi.yaml ADDED
@@ -0,0 +1,2423 @@
1
+ {
2
+ "openapi": "3.1.0",
3
+ "info": {
4
+ "title": "App Store Connect scoped mock",
5
+ "version": "1.0.0",
6
+ "description": "Request schemas trimmed from Apple's official OpenAPI specification downloaded 2026-10-05."
7
+ },
8
+ "servers": [
9
+ {
10
+ "url": "https://api.appstoreconnect.apple.com"
11
+ }
12
+ ],
13
+ "paths": {
14
+ "/v1/apps": {
15
+ "get": {
16
+ "operationId": "ListApps",
17
+ "parameters": [
18
+ {
19
+ "name": "limit",
20
+ "in": "query",
21
+ "schema": {
22
+ "type": "integer",
23
+ "minimum": 1,
24
+ "maximum": 200,
25
+ "default": 50
26
+ }
27
+ },
28
+ {
29
+ "name": "cursor",
30
+ "in": "query",
31
+ "schema": {
32
+ "type": "string"
33
+ }
34
+ },
35
+ {
36
+ "name": "filter[app]",
37
+ "in": "query",
38
+ "schema": {
39
+ "type": "string"
40
+ }
41
+ },
42
+ {
43
+ "name": "filter[name]",
44
+ "in": "query",
45
+ "schema": {
46
+ "type": "string"
47
+ }
48
+ },
49
+ {
50
+ "name": "filter[email]",
51
+ "in": "query",
52
+ "schema": {
53
+ "type": "string"
54
+ }
55
+ },
56
+ {
57
+ "name": "fields[apps]",
58
+ "in": "query",
59
+ "schema": {
60
+ "type": "string"
61
+ }
62
+ },
63
+ {
64
+ "name": "fields[users]",
65
+ "in": "query",
66
+ "schema": {
67
+ "type": "string"
68
+ }
69
+ },
70
+ {
71
+ "name": "fields[userInvitations]",
72
+ "in": "query",
73
+ "schema": {
74
+ "type": "string"
75
+ }
76
+ },
77
+ {
78
+ "name": "fields[betaGroups]",
79
+ "in": "query",
80
+ "schema": {
81
+ "type": "string"
82
+ }
83
+ },
84
+ {
85
+ "name": "fields[betaTesters]",
86
+ "in": "query",
87
+ "schema": {
88
+ "type": "string"
89
+ }
90
+ }
91
+ ],
92
+ "responses": {
93
+ "200": {
94
+ "description": "JSON:API response",
95
+ "content": {
96
+ "application/json": {
97
+ "schema": {
98
+ "$ref": "#/components/schemas/ListResponse"
99
+ }
100
+ }
101
+ }
102
+ },
103
+ "400": {
104
+ "description": "JSON:API error",
105
+ "content": {
106
+ "application/json": {
107
+ "schema": {
108
+ "$ref": "#/components/schemas/ErrorResponse"
109
+ }
110
+ }
111
+ }
112
+ },
113
+ "401": {
114
+ "description": "JSON:API error",
115
+ "content": {
116
+ "application/json": {
117
+ "schema": {
118
+ "$ref": "#/components/schemas/ErrorResponse"
119
+ }
120
+ }
121
+ }
122
+ },
123
+ "403": {
124
+ "description": "JSON:API error",
125
+ "content": {
126
+ "application/json": {
127
+ "schema": {
128
+ "$ref": "#/components/schemas/ErrorResponse"
129
+ }
130
+ }
131
+ }
132
+ },
133
+ "404": {
134
+ "description": "JSON:API error",
135
+ "content": {
136
+ "application/json": {
137
+ "schema": {
138
+ "$ref": "#/components/schemas/ErrorResponse"
139
+ }
140
+ }
141
+ }
142
+ },
143
+ "409": {
144
+ "description": "JSON:API error",
145
+ "content": {
146
+ "application/json": {
147
+ "schema": {
148
+ "$ref": "#/components/schemas/ErrorResponse"
149
+ }
150
+ }
151
+ }
152
+ },
153
+ "422": {
154
+ "description": "JSON:API error",
155
+ "content": {
156
+ "application/json": {
157
+ "schema": {
158
+ "$ref": "#/components/schemas/ErrorResponse"
159
+ }
160
+ }
161
+ }
162
+ },
163
+ "429": {
164
+ "description": "JSON:API error",
165
+ "content": {
166
+ "application/json": {
167
+ "schema": {
168
+ "$ref": "#/components/schemas/ErrorResponse"
169
+ }
170
+ }
171
+ }
172
+ }
173
+ }
174
+ }
175
+ },
176
+ "/v1/users": {
177
+ "get": {
178
+ "operationId": "ListUsers",
179
+ "parameters": [
180
+ {
181
+ "name": "limit",
182
+ "in": "query",
183
+ "schema": {
184
+ "type": "integer",
185
+ "minimum": 1,
186
+ "maximum": 200,
187
+ "default": 50
188
+ }
189
+ },
190
+ {
191
+ "name": "cursor",
192
+ "in": "query",
193
+ "schema": {
194
+ "type": "string"
195
+ }
196
+ },
197
+ {
198
+ "name": "filter[app]",
199
+ "in": "query",
200
+ "schema": {
201
+ "type": "string"
202
+ }
203
+ },
204
+ {
205
+ "name": "filter[name]",
206
+ "in": "query",
207
+ "schema": {
208
+ "type": "string"
209
+ }
210
+ },
211
+ {
212
+ "name": "filter[email]",
213
+ "in": "query",
214
+ "schema": {
215
+ "type": "string"
216
+ }
217
+ },
218
+ {
219
+ "name": "fields[apps]",
220
+ "in": "query",
221
+ "schema": {
222
+ "type": "string"
223
+ }
224
+ },
225
+ {
226
+ "name": "fields[users]",
227
+ "in": "query",
228
+ "schema": {
229
+ "type": "string"
230
+ }
231
+ },
232
+ {
233
+ "name": "fields[userInvitations]",
234
+ "in": "query",
235
+ "schema": {
236
+ "type": "string"
237
+ }
238
+ },
239
+ {
240
+ "name": "fields[betaGroups]",
241
+ "in": "query",
242
+ "schema": {
243
+ "type": "string"
244
+ }
245
+ },
246
+ {
247
+ "name": "fields[betaTesters]",
248
+ "in": "query",
249
+ "schema": {
250
+ "type": "string"
251
+ }
252
+ }
253
+ ],
254
+ "responses": {
255
+ "200": {
256
+ "description": "JSON:API response",
257
+ "content": {
258
+ "application/json": {
259
+ "schema": {
260
+ "$ref": "#/components/schemas/ListResponse"
261
+ }
262
+ }
263
+ }
264
+ },
265
+ "400": {
266
+ "description": "JSON:API error",
267
+ "content": {
268
+ "application/json": {
269
+ "schema": {
270
+ "$ref": "#/components/schemas/ErrorResponse"
271
+ }
272
+ }
273
+ }
274
+ },
275
+ "401": {
276
+ "description": "JSON:API error",
277
+ "content": {
278
+ "application/json": {
279
+ "schema": {
280
+ "$ref": "#/components/schemas/ErrorResponse"
281
+ }
282
+ }
283
+ }
284
+ },
285
+ "403": {
286
+ "description": "JSON:API error",
287
+ "content": {
288
+ "application/json": {
289
+ "schema": {
290
+ "$ref": "#/components/schemas/ErrorResponse"
291
+ }
292
+ }
293
+ }
294
+ },
295
+ "404": {
296
+ "description": "JSON:API error",
297
+ "content": {
298
+ "application/json": {
299
+ "schema": {
300
+ "$ref": "#/components/schemas/ErrorResponse"
301
+ }
302
+ }
303
+ }
304
+ },
305
+ "409": {
306
+ "description": "JSON:API error",
307
+ "content": {
308
+ "application/json": {
309
+ "schema": {
310
+ "$ref": "#/components/schemas/ErrorResponse"
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "422": {
316
+ "description": "JSON:API error",
317
+ "content": {
318
+ "application/json": {
319
+ "schema": {
320
+ "$ref": "#/components/schemas/ErrorResponse"
321
+ }
322
+ }
323
+ }
324
+ },
325
+ "429": {
326
+ "description": "JSON:API error",
327
+ "content": {
328
+ "application/json": {
329
+ "schema": {
330
+ "$ref": "#/components/schemas/ErrorResponse"
331
+ }
332
+ }
333
+ }
334
+ }
335
+ }
336
+ }
337
+ },
338
+ "/v1/userInvitations": {
339
+ "get": {
340
+ "operationId": "ListInvitations",
341
+ "parameters": [
342
+ {
343
+ "name": "limit",
344
+ "in": "query",
345
+ "schema": {
346
+ "type": "integer",
347
+ "minimum": 1,
348
+ "maximum": 200,
349
+ "default": 50
350
+ }
351
+ },
352
+ {
353
+ "name": "cursor",
354
+ "in": "query",
355
+ "schema": {
356
+ "type": "string"
357
+ }
358
+ },
359
+ {
360
+ "name": "filter[app]",
361
+ "in": "query",
362
+ "schema": {
363
+ "type": "string"
364
+ }
365
+ },
366
+ {
367
+ "name": "filter[name]",
368
+ "in": "query",
369
+ "schema": {
370
+ "type": "string"
371
+ }
372
+ },
373
+ {
374
+ "name": "filter[email]",
375
+ "in": "query",
376
+ "schema": {
377
+ "type": "string"
378
+ }
379
+ },
380
+ {
381
+ "name": "fields[apps]",
382
+ "in": "query",
383
+ "schema": {
384
+ "type": "string"
385
+ }
386
+ },
387
+ {
388
+ "name": "fields[users]",
389
+ "in": "query",
390
+ "schema": {
391
+ "type": "string"
392
+ }
393
+ },
394
+ {
395
+ "name": "fields[userInvitations]",
396
+ "in": "query",
397
+ "schema": {
398
+ "type": "string"
399
+ }
400
+ },
401
+ {
402
+ "name": "fields[betaGroups]",
403
+ "in": "query",
404
+ "schema": {
405
+ "type": "string"
406
+ }
407
+ },
408
+ {
409
+ "name": "fields[betaTesters]",
410
+ "in": "query",
411
+ "schema": {
412
+ "type": "string"
413
+ }
414
+ }
415
+ ],
416
+ "responses": {
417
+ "200": {
418
+ "description": "JSON:API response",
419
+ "content": {
420
+ "application/json": {
421
+ "schema": {
422
+ "$ref": "#/components/schemas/ListResponse"
423
+ }
424
+ }
425
+ }
426
+ },
427
+ "400": {
428
+ "description": "JSON:API error",
429
+ "content": {
430
+ "application/json": {
431
+ "schema": {
432
+ "$ref": "#/components/schemas/ErrorResponse"
433
+ }
434
+ }
435
+ }
436
+ },
437
+ "401": {
438
+ "description": "JSON:API error",
439
+ "content": {
440
+ "application/json": {
441
+ "schema": {
442
+ "$ref": "#/components/schemas/ErrorResponse"
443
+ }
444
+ }
445
+ }
446
+ },
447
+ "403": {
448
+ "description": "JSON:API error",
449
+ "content": {
450
+ "application/json": {
451
+ "schema": {
452
+ "$ref": "#/components/schemas/ErrorResponse"
453
+ }
454
+ }
455
+ }
456
+ },
457
+ "404": {
458
+ "description": "JSON:API error",
459
+ "content": {
460
+ "application/json": {
461
+ "schema": {
462
+ "$ref": "#/components/schemas/ErrorResponse"
463
+ }
464
+ }
465
+ }
466
+ },
467
+ "409": {
468
+ "description": "JSON:API error",
469
+ "content": {
470
+ "application/json": {
471
+ "schema": {
472
+ "$ref": "#/components/schemas/ErrorResponse"
473
+ }
474
+ }
475
+ }
476
+ },
477
+ "422": {
478
+ "description": "JSON:API error",
479
+ "content": {
480
+ "application/json": {
481
+ "schema": {
482
+ "$ref": "#/components/schemas/ErrorResponse"
483
+ }
484
+ }
485
+ }
486
+ },
487
+ "429": {
488
+ "description": "JSON:API error",
489
+ "content": {
490
+ "application/json": {
491
+ "schema": {
492
+ "$ref": "#/components/schemas/ErrorResponse"
493
+ }
494
+ }
495
+ }
496
+ }
497
+ }
498
+ },
499
+ "post": {
500
+ "operationId": "CreateInvitation",
501
+ "x-mockingbird": {
502
+ "parity": {
503
+ "safe": false
504
+ }
505
+ },
506
+ "parameters": [],
507
+ "responses": {
508
+ "201": {
509
+ "description": "JSON:API response",
510
+ "content": {
511
+ "application/json": {
512
+ "schema": {
513
+ "$ref": "#/components/schemas/ResourceResponse"
514
+ }
515
+ }
516
+ }
517
+ },
518
+ "400": {
519
+ "description": "JSON:API error",
520
+ "content": {
521
+ "application/json": {
522
+ "schema": {
523
+ "$ref": "#/components/schemas/ErrorResponse"
524
+ }
525
+ }
526
+ }
527
+ },
528
+ "401": {
529
+ "description": "JSON:API error",
530
+ "content": {
531
+ "application/json": {
532
+ "schema": {
533
+ "$ref": "#/components/schemas/ErrorResponse"
534
+ }
535
+ }
536
+ }
537
+ },
538
+ "403": {
539
+ "description": "JSON:API error",
540
+ "content": {
541
+ "application/json": {
542
+ "schema": {
543
+ "$ref": "#/components/schemas/ErrorResponse"
544
+ }
545
+ }
546
+ }
547
+ },
548
+ "404": {
549
+ "description": "JSON:API error",
550
+ "content": {
551
+ "application/json": {
552
+ "schema": {
553
+ "$ref": "#/components/schemas/ErrorResponse"
554
+ }
555
+ }
556
+ }
557
+ },
558
+ "409": {
559
+ "description": "JSON:API error",
560
+ "content": {
561
+ "application/json": {
562
+ "schema": {
563
+ "$ref": "#/components/schemas/ErrorResponse"
564
+ }
565
+ }
566
+ }
567
+ },
568
+ "422": {
569
+ "description": "JSON:API error",
570
+ "content": {
571
+ "application/json": {
572
+ "schema": {
573
+ "$ref": "#/components/schemas/ErrorResponse"
574
+ }
575
+ }
576
+ }
577
+ },
578
+ "429": {
579
+ "description": "JSON:API error",
580
+ "content": {
581
+ "application/json": {
582
+ "schema": {
583
+ "$ref": "#/components/schemas/ErrorResponse"
584
+ }
585
+ }
586
+ }
587
+ }
588
+ },
589
+ "requestBody": {
590
+ "required": true,
591
+ "content": {
592
+ "application/json": {
593
+ "schema": {
594
+ "$ref": "#/components/schemas/UserInvitationCreateRequest"
595
+ }
596
+ }
597
+ }
598
+ }
599
+ }
600
+ },
601
+ "/v1/betaGroups": {
602
+ "get": {
603
+ "operationId": "ListGroups",
604
+ "parameters": [
605
+ {
606
+ "name": "limit",
607
+ "in": "query",
608
+ "schema": {
609
+ "type": "integer",
610
+ "minimum": 1,
611
+ "maximum": 200,
612
+ "default": 50
613
+ }
614
+ },
615
+ {
616
+ "name": "cursor",
617
+ "in": "query",
618
+ "schema": {
619
+ "type": "string"
620
+ }
621
+ },
622
+ {
623
+ "name": "filter[app]",
624
+ "in": "query",
625
+ "schema": {
626
+ "type": "string"
627
+ }
628
+ },
629
+ {
630
+ "name": "filter[name]",
631
+ "in": "query",
632
+ "schema": {
633
+ "type": "string"
634
+ }
635
+ },
636
+ {
637
+ "name": "filter[email]",
638
+ "in": "query",
639
+ "schema": {
640
+ "type": "string"
641
+ }
642
+ },
643
+ {
644
+ "name": "fields[apps]",
645
+ "in": "query",
646
+ "schema": {
647
+ "type": "string"
648
+ }
649
+ },
650
+ {
651
+ "name": "fields[users]",
652
+ "in": "query",
653
+ "schema": {
654
+ "type": "string"
655
+ }
656
+ },
657
+ {
658
+ "name": "fields[userInvitations]",
659
+ "in": "query",
660
+ "schema": {
661
+ "type": "string"
662
+ }
663
+ },
664
+ {
665
+ "name": "fields[betaGroups]",
666
+ "in": "query",
667
+ "schema": {
668
+ "type": "string"
669
+ }
670
+ },
671
+ {
672
+ "name": "fields[betaTesters]",
673
+ "in": "query",
674
+ "schema": {
675
+ "type": "string"
676
+ }
677
+ }
678
+ ],
679
+ "responses": {
680
+ "200": {
681
+ "description": "JSON:API response",
682
+ "content": {
683
+ "application/json": {
684
+ "schema": {
685
+ "$ref": "#/components/schemas/ListResponse"
686
+ }
687
+ }
688
+ }
689
+ },
690
+ "400": {
691
+ "description": "JSON:API error",
692
+ "content": {
693
+ "application/json": {
694
+ "schema": {
695
+ "$ref": "#/components/schemas/ErrorResponse"
696
+ }
697
+ }
698
+ }
699
+ },
700
+ "401": {
701
+ "description": "JSON:API error",
702
+ "content": {
703
+ "application/json": {
704
+ "schema": {
705
+ "$ref": "#/components/schemas/ErrorResponse"
706
+ }
707
+ }
708
+ }
709
+ },
710
+ "403": {
711
+ "description": "JSON:API error",
712
+ "content": {
713
+ "application/json": {
714
+ "schema": {
715
+ "$ref": "#/components/schemas/ErrorResponse"
716
+ }
717
+ }
718
+ }
719
+ },
720
+ "404": {
721
+ "description": "JSON:API error",
722
+ "content": {
723
+ "application/json": {
724
+ "schema": {
725
+ "$ref": "#/components/schemas/ErrorResponse"
726
+ }
727
+ }
728
+ }
729
+ },
730
+ "409": {
731
+ "description": "JSON:API error",
732
+ "content": {
733
+ "application/json": {
734
+ "schema": {
735
+ "$ref": "#/components/schemas/ErrorResponse"
736
+ }
737
+ }
738
+ }
739
+ },
740
+ "422": {
741
+ "description": "JSON:API error",
742
+ "content": {
743
+ "application/json": {
744
+ "schema": {
745
+ "$ref": "#/components/schemas/ErrorResponse"
746
+ }
747
+ }
748
+ }
749
+ },
750
+ "429": {
751
+ "description": "JSON:API error",
752
+ "content": {
753
+ "application/json": {
754
+ "schema": {
755
+ "$ref": "#/components/schemas/ErrorResponse"
756
+ }
757
+ }
758
+ }
759
+ }
760
+ }
761
+ },
762
+ "post": {
763
+ "operationId": "CreateGroup",
764
+ "x-mockingbird": {
765
+ "parity": {
766
+ "safe": false
767
+ }
768
+ },
769
+ "parameters": [],
770
+ "responses": {
771
+ "201": {
772
+ "description": "JSON:API response",
773
+ "content": {
774
+ "application/json": {
775
+ "schema": {
776
+ "$ref": "#/components/schemas/ResourceResponse"
777
+ }
778
+ }
779
+ }
780
+ },
781
+ "400": {
782
+ "description": "JSON:API error",
783
+ "content": {
784
+ "application/json": {
785
+ "schema": {
786
+ "$ref": "#/components/schemas/ErrorResponse"
787
+ }
788
+ }
789
+ }
790
+ },
791
+ "401": {
792
+ "description": "JSON:API error",
793
+ "content": {
794
+ "application/json": {
795
+ "schema": {
796
+ "$ref": "#/components/schemas/ErrorResponse"
797
+ }
798
+ }
799
+ }
800
+ },
801
+ "403": {
802
+ "description": "JSON:API error",
803
+ "content": {
804
+ "application/json": {
805
+ "schema": {
806
+ "$ref": "#/components/schemas/ErrorResponse"
807
+ }
808
+ }
809
+ }
810
+ },
811
+ "404": {
812
+ "description": "JSON:API error",
813
+ "content": {
814
+ "application/json": {
815
+ "schema": {
816
+ "$ref": "#/components/schemas/ErrorResponse"
817
+ }
818
+ }
819
+ }
820
+ },
821
+ "409": {
822
+ "description": "JSON:API error",
823
+ "content": {
824
+ "application/json": {
825
+ "schema": {
826
+ "$ref": "#/components/schemas/ErrorResponse"
827
+ }
828
+ }
829
+ }
830
+ },
831
+ "422": {
832
+ "description": "JSON:API error",
833
+ "content": {
834
+ "application/json": {
835
+ "schema": {
836
+ "$ref": "#/components/schemas/ErrorResponse"
837
+ }
838
+ }
839
+ }
840
+ },
841
+ "429": {
842
+ "description": "JSON:API error",
843
+ "content": {
844
+ "application/json": {
845
+ "schema": {
846
+ "$ref": "#/components/schemas/ErrorResponse"
847
+ }
848
+ }
849
+ }
850
+ }
851
+ },
852
+ "requestBody": {
853
+ "required": true,
854
+ "content": {
855
+ "application/json": {
856
+ "schema": {
857
+ "$ref": "#/components/schemas/BetaGroupCreateRequest"
858
+ }
859
+ }
860
+ }
861
+ }
862
+ }
863
+ },
864
+ "/v1/betaTesters": {
865
+ "get": {
866
+ "operationId": "ListTesters",
867
+ "parameters": [
868
+ {
869
+ "name": "limit",
870
+ "in": "query",
871
+ "schema": {
872
+ "type": "integer",
873
+ "minimum": 1,
874
+ "maximum": 200,
875
+ "default": 50
876
+ }
877
+ },
878
+ {
879
+ "name": "cursor",
880
+ "in": "query",
881
+ "schema": {
882
+ "type": "string"
883
+ }
884
+ },
885
+ {
886
+ "name": "filter[app]",
887
+ "in": "query",
888
+ "schema": {
889
+ "type": "string"
890
+ }
891
+ },
892
+ {
893
+ "name": "filter[name]",
894
+ "in": "query",
895
+ "schema": {
896
+ "type": "string"
897
+ }
898
+ },
899
+ {
900
+ "name": "filter[email]",
901
+ "in": "query",
902
+ "schema": {
903
+ "type": "string"
904
+ }
905
+ },
906
+ {
907
+ "name": "fields[apps]",
908
+ "in": "query",
909
+ "schema": {
910
+ "type": "string"
911
+ }
912
+ },
913
+ {
914
+ "name": "fields[users]",
915
+ "in": "query",
916
+ "schema": {
917
+ "type": "string"
918
+ }
919
+ },
920
+ {
921
+ "name": "fields[userInvitations]",
922
+ "in": "query",
923
+ "schema": {
924
+ "type": "string"
925
+ }
926
+ },
927
+ {
928
+ "name": "fields[betaGroups]",
929
+ "in": "query",
930
+ "schema": {
931
+ "type": "string"
932
+ }
933
+ },
934
+ {
935
+ "name": "fields[betaTesters]",
936
+ "in": "query",
937
+ "schema": {
938
+ "type": "string"
939
+ }
940
+ }
941
+ ],
942
+ "responses": {
943
+ "200": {
944
+ "description": "JSON:API response",
945
+ "content": {
946
+ "application/json": {
947
+ "schema": {
948
+ "$ref": "#/components/schemas/ListResponse"
949
+ }
950
+ }
951
+ }
952
+ },
953
+ "400": {
954
+ "description": "JSON:API error",
955
+ "content": {
956
+ "application/json": {
957
+ "schema": {
958
+ "$ref": "#/components/schemas/ErrorResponse"
959
+ }
960
+ }
961
+ }
962
+ },
963
+ "401": {
964
+ "description": "JSON:API error",
965
+ "content": {
966
+ "application/json": {
967
+ "schema": {
968
+ "$ref": "#/components/schemas/ErrorResponse"
969
+ }
970
+ }
971
+ }
972
+ },
973
+ "403": {
974
+ "description": "JSON:API error",
975
+ "content": {
976
+ "application/json": {
977
+ "schema": {
978
+ "$ref": "#/components/schemas/ErrorResponse"
979
+ }
980
+ }
981
+ }
982
+ },
983
+ "404": {
984
+ "description": "JSON:API error",
985
+ "content": {
986
+ "application/json": {
987
+ "schema": {
988
+ "$ref": "#/components/schemas/ErrorResponse"
989
+ }
990
+ }
991
+ }
992
+ },
993
+ "409": {
994
+ "description": "JSON:API error",
995
+ "content": {
996
+ "application/json": {
997
+ "schema": {
998
+ "$ref": "#/components/schemas/ErrorResponse"
999
+ }
1000
+ }
1001
+ }
1002
+ },
1003
+ "422": {
1004
+ "description": "JSON:API error",
1005
+ "content": {
1006
+ "application/json": {
1007
+ "schema": {
1008
+ "$ref": "#/components/schemas/ErrorResponse"
1009
+ }
1010
+ }
1011
+ }
1012
+ },
1013
+ "429": {
1014
+ "description": "JSON:API error",
1015
+ "content": {
1016
+ "application/json": {
1017
+ "schema": {
1018
+ "$ref": "#/components/schemas/ErrorResponse"
1019
+ }
1020
+ }
1021
+ }
1022
+ }
1023
+ }
1024
+ },
1025
+ "post": {
1026
+ "operationId": "CreateTester",
1027
+ "x-mockingbird": {
1028
+ "parity": {
1029
+ "safe": false
1030
+ }
1031
+ },
1032
+ "parameters": [],
1033
+ "responses": {
1034
+ "201": {
1035
+ "description": "JSON:API response",
1036
+ "content": {
1037
+ "application/json": {
1038
+ "schema": {
1039
+ "$ref": "#/components/schemas/ResourceResponse"
1040
+ }
1041
+ }
1042
+ }
1043
+ },
1044
+ "400": {
1045
+ "description": "JSON:API error",
1046
+ "content": {
1047
+ "application/json": {
1048
+ "schema": {
1049
+ "$ref": "#/components/schemas/ErrorResponse"
1050
+ }
1051
+ }
1052
+ }
1053
+ },
1054
+ "401": {
1055
+ "description": "JSON:API error",
1056
+ "content": {
1057
+ "application/json": {
1058
+ "schema": {
1059
+ "$ref": "#/components/schemas/ErrorResponse"
1060
+ }
1061
+ }
1062
+ }
1063
+ },
1064
+ "403": {
1065
+ "description": "JSON:API error",
1066
+ "content": {
1067
+ "application/json": {
1068
+ "schema": {
1069
+ "$ref": "#/components/schemas/ErrorResponse"
1070
+ }
1071
+ }
1072
+ }
1073
+ },
1074
+ "404": {
1075
+ "description": "JSON:API error",
1076
+ "content": {
1077
+ "application/json": {
1078
+ "schema": {
1079
+ "$ref": "#/components/schemas/ErrorResponse"
1080
+ }
1081
+ }
1082
+ }
1083
+ },
1084
+ "409": {
1085
+ "description": "JSON:API error",
1086
+ "content": {
1087
+ "application/json": {
1088
+ "schema": {
1089
+ "$ref": "#/components/schemas/ErrorResponse"
1090
+ }
1091
+ }
1092
+ }
1093
+ },
1094
+ "422": {
1095
+ "description": "JSON:API error",
1096
+ "content": {
1097
+ "application/json": {
1098
+ "schema": {
1099
+ "$ref": "#/components/schemas/ErrorResponse"
1100
+ }
1101
+ }
1102
+ }
1103
+ },
1104
+ "429": {
1105
+ "description": "JSON:API error",
1106
+ "content": {
1107
+ "application/json": {
1108
+ "schema": {
1109
+ "$ref": "#/components/schemas/ErrorResponse"
1110
+ }
1111
+ }
1112
+ }
1113
+ }
1114
+ },
1115
+ "requestBody": {
1116
+ "required": true,
1117
+ "content": {
1118
+ "application/json": {
1119
+ "schema": {
1120
+ "$ref": "#/components/schemas/BetaTesterCreateRequest"
1121
+ }
1122
+ }
1123
+ }
1124
+ }
1125
+ }
1126
+ },
1127
+ "/v1/betaGroups/{id}/betaTesters": {
1128
+ "get": {
1129
+ "operationId": "ListGroupTesters",
1130
+ "parameters": [
1131
+ {
1132
+ "name": "id",
1133
+ "in": "path",
1134
+ "required": true,
1135
+ "schema": {
1136
+ "type": "string"
1137
+ }
1138
+ },
1139
+ {
1140
+ "name": "limit",
1141
+ "in": "query",
1142
+ "schema": {
1143
+ "type": "integer",
1144
+ "minimum": 1,
1145
+ "maximum": 200,
1146
+ "default": 50
1147
+ }
1148
+ },
1149
+ {
1150
+ "name": "cursor",
1151
+ "in": "query",
1152
+ "schema": {
1153
+ "type": "string"
1154
+ }
1155
+ },
1156
+ {
1157
+ "name": "filter[app]",
1158
+ "in": "query",
1159
+ "schema": {
1160
+ "type": "string"
1161
+ }
1162
+ },
1163
+ {
1164
+ "name": "filter[name]",
1165
+ "in": "query",
1166
+ "schema": {
1167
+ "type": "string"
1168
+ }
1169
+ },
1170
+ {
1171
+ "name": "filter[email]",
1172
+ "in": "query",
1173
+ "schema": {
1174
+ "type": "string"
1175
+ }
1176
+ },
1177
+ {
1178
+ "name": "fields[apps]",
1179
+ "in": "query",
1180
+ "schema": {
1181
+ "type": "string"
1182
+ }
1183
+ },
1184
+ {
1185
+ "name": "fields[users]",
1186
+ "in": "query",
1187
+ "schema": {
1188
+ "type": "string"
1189
+ }
1190
+ },
1191
+ {
1192
+ "name": "fields[userInvitations]",
1193
+ "in": "query",
1194
+ "schema": {
1195
+ "type": "string"
1196
+ }
1197
+ },
1198
+ {
1199
+ "name": "fields[betaGroups]",
1200
+ "in": "query",
1201
+ "schema": {
1202
+ "type": "string"
1203
+ }
1204
+ },
1205
+ {
1206
+ "name": "fields[betaTesters]",
1207
+ "in": "query",
1208
+ "schema": {
1209
+ "type": "string"
1210
+ }
1211
+ }
1212
+ ],
1213
+ "responses": {
1214
+ "200": {
1215
+ "description": "JSON:API response",
1216
+ "content": {
1217
+ "application/json": {
1218
+ "schema": {
1219
+ "$ref": "#/components/schemas/ListResponse"
1220
+ }
1221
+ }
1222
+ }
1223
+ },
1224
+ "400": {
1225
+ "description": "JSON:API error",
1226
+ "content": {
1227
+ "application/json": {
1228
+ "schema": {
1229
+ "$ref": "#/components/schemas/ErrorResponse"
1230
+ }
1231
+ }
1232
+ }
1233
+ },
1234
+ "401": {
1235
+ "description": "JSON:API error",
1236
+ "content": {
1237
+ "application/json": {
1238
+ "schema": {
1239
+ "$ref": "#/components/schemas/ErrorResponse"
1240
+ }
1241
+ }
1242
+ }
1243
+ },
1244
+ "403": {
1245
+ "description": "JSON:API error",
1246
+ "content": {
1247
+ "application/json": {
1248
+ "schema": {
1249
+ "$ref": "#/components/schemas/ErrorResponse"
1250
+ }
1251
+ }
1252
+ }
1253
+ },
1254
+ "404": {
1255
+ "description": "JSON:API error",
1256
+ "content": {
1257
+ "application/json": {
1258
+ "schema": {
1259
+ "$ref": "#/components/schemas/ErrorResponse"
1260
+ }
1261
+ }
1262
+ }
1263
+ },
1264
+ "409": {
1265
+ "description": "JSON:API error",
1266
+ "content": {
1267
+ "application/json": {
1268
+ "schema": {
1269
+ "$ref": "#/components/schemas/ErrorResponse"
1270
+ }
1271
+ }
1272
+ }
1273
+ },
1274
+ "422": {
1275
+ "description": "JSON:API error",
1276
+ "content": {
1277
+ "application/json": {
1278
+ "schema": {
1279
+ "$ref": "#/components/schemas/ErrorResponse"
1280
+ }
1281
+ }
1282
+ }
1283
+ },
1284
+ "429": {
1285
+ "description": "JSON:API error",
1286
+ "content": {
1287
+ "application/json": {
1288
+ "schema": {
1289
+ "$ref": "#/components/schemas/ErrorResponse"
1290
+ }
1291
+ }
1292
+ }
1293
+ }
1294
+ }
1295
+ }
1296
+ },
1297
+ "/v1/betaGroups/{id}/relationships/betaTesters": {
1298
+ "post": {
1299
+ "operationId": "AddGroupTesters",
1300
+ "x-mockingbird": {
1301
+ "parity": {
1302
+ "safe": false
1303
+ }
1304
+ },
1305
+ "parameters": [
1306
+ {
1307
+ "name": "id",
1308
+ "in": "path",
1309
+ "required": true,
1310
+ "schema": {
1311
+ "type": "string"
1312
+ }
1313
+ }
1314
+ ],
1315
+ "responses": {
1316
+ "204": {
1317
+ "description": "No Content"
1318
+ },
1319
+ "400": {
1320
+ "description": "JSON:API error",
1321
+ "content": {
1322
+ "application/json": {
1323
+ "schema": {
1324
+ "$ref": "#/components/schemas/ErrorResponse"
1325
+ }
1326
+ }
1327
+ }
1328
+ },
1329
+ "401": {
1330
+ "description": "JSON:API error",
1331
+ "content": {
1332
+ "application/json": {
1333
+ "schema": {
1334
+ "$ref": "#/components/schemas/ErrorResponse"
1335
+ }
1336
+ }
1337
+ }
1338
+ },
1339
+ "403": {
1340
+ "description": "JSON:API error",
1341
+ "content": {
1342
+ "application/json": {
1343
+ "schema": {
1344
+ "$ref": "#/components/schemas/ErrorResponse"
1345
+ }
1346
+ }
1347
+ }
1348
+ },
1349
+ "404": {
1350
+ "description": "JSON:API error",
1351
+ "content": {
1352
+ "application/json": {
1353
+ "schema": {
1354
+ "$ref": "#/components/schemas/ErrorResponse"
1355
+ }
1356
+ }
1357
+ }
1358
+ },
1359
+ "409": {
1360
+ "description": "JSON:API error",
1361
+ "content": {
1362
+ "application/json": {
1363
+ "schema": {
1364
+ "$ref": "#/components/schemas/ErrorResponse"
1365
+ }
1366
+ }
1367
+ }
1368
+ },
1369
+ "422": {
1370
+ "description": "JSON:API error",
1371
+ "content": {
1372
+ "application/json": {
1373
+ "schema": {
1374
+ "$ref": "#/components/schemas/ErrorResponse"
1375
+ }
1376
+ }
1377
+ }
1378
+ },
1379
+ "429": {
1380
+ "description": "JSON:API error",
1381
+ "content": {
1382
+ "application/json": {
1383
+ "schema": {
1384
+ "$ref": "#/components/schemas/ErrorResponse"
1385
+ }
1386
+ }
1387
+ }
1388
+ }
1389
+ },
1390
+ "requestBody": {
1391
+ "required": true,
1392
+ "content": {
1393
+ "application/json": {
1394
+ "schema": {
1395
+ "$ref": "#/components/schemas/BetaGroupBetaTestersLinkagesRequest"
1396
+ }
1397
+ }
1398
+ }
1399
+ }
1400
+ },
1401
+ "delete": {
1402
+ "operationId": "RemoveGroupTesters",
1403
+ "x-mockingbird": {
1404
+ "parity": {
1405
+ "safe": false
1406
+ }
1407
+ },
1408
+ "parameters": [
1409
+ {
1410
+ "name": "id",
1411
+ "in": "path",
1412
+ "required": true,
1413
+ "schema": {
1414
+ "type": "string"
1415
+ }
1416
+ }
1417
+ ],
1418
+ "responses": {
1419
+ "204": {
1420
+ "description": "No Content"
1421
+ },
1422
+ "400": {
1423
+ "description": "JSON:API error",
1424
+ "content": {
1425
+ "application/json": {
1426
+ "schema": {
1427
+ "$ref": "#/components/schemas/ErrorResponse"
1428
+ }
1429
+ }
1430
+ }
1431
+ },
1432
+ "401": {
1433
+ "description": "JSON:API error",
1434
+ "content": {
1435
+ "application/json": {
1436
+ "schema": {
1437
+ "$ref": "#/components/schemas/ErrorResponse"
1438
+ }
1439
+ }
1440
+ }
1441
+ },
1442
+ "403": {
1443
+ "description": "JSON:API error",
1444
+ "content": {
1445
+ "application/json": {
1446
+ "schema": {
1447
+ "$ref": "#/components/schemas/ErrorResponse"
1448
+ }
1449
+ }
1450
+ }
1451
+ },
1452
+ "404": {
1453
+ "description": "JSON:API error",
1454
+ "content": {
1455
+ "application/json": {
1456
+ "schema": {
1457
+ "$ref": "#/components/schemas/ErrorResponse"
1458
+ }
1459
+ }
1460
+ }
1461
+ },
1462
+ "409": {
1463
+ "description": "JSON:API error",
1464
+ "content": {
1465
+ "application/json": {
1466
+ "schema": {
1467
+ "$ref": "#/components/schemas/ErrorResponse"
1468
+ }
1469
+ }
1470
+ }
1471
+ },
1472
+ "422": {
1473
+ "description": "JSON:API error",
1474
+ "content": {
1475
+ "application/json": {
1476
+ "schema": {
1477
+ "$ref": "#/components/schemas/ErrorResponse"
1478
+ }
1479
+ }
1480
+ }
1481
+ },
1482
+ "429": {
1483
+ "description": "JSON:API error",
1484
+ "content": {
1485
+ "application/json": {
1486
+ "schema": {
1487
+ "$ref": "#/components/schemas/ErrorResponse"
1488
+ }
1489
+ }
1490
+ }
1491
+ }
1492
+ },
1493
+ "requestBody": {
1494
+ "required": true,
1495
+ "content": {
1496
+ "application/json": {
1497
+ "schema": {
1498
+ "$ref": "#/components/schemas/BetaGroupBetaTestersLinkagesRequest"
1499
+ }
1500
+ }
1501
+ }
1502
+ }
1503
+ }
1504
+ },
1505
+ "/v1/users/{id}/relationships/visibleApps": {
1506
+ "post": {
1507
+ "operationId": "AddVisibleApps",
1508
+ "x-mockingbird": {
1509
+ "parity": {
1510
+ "safe": false
1511
+ }
1512
+ },
1513
+ "parameters": [
1514
+ {
1515
+ "name": "id",
1516
+ "in": "path",
1517
+ "required": true,
1518
+ "schema": {
1519
+ "type": "string"
1520
+ }
1521
+ }
1522
+ ],
1523
+ "responses": {
1524
+ "204": {
1525
+ "description": "No Content"
1526
+ },
1527
+ "400": {
1528
+ "description": "JSON:API error",
1529
+ "content": {
1530
+ "application/json": {
1531
+ "schema": {
1532
+ "$ref": "#/components/schemas/ErrorResponse"
1533
+ }
1534
+ }
1535
+ }
1536
+ },
1537
+ "401": {
1538
+ "description": "JSON:API error",
1539
+ "content": {
1540
+ "application/json": {
1541
+ "schema": {
1542
+ "$ref": "#/components/schemas/ErrorResponse"
1543
+ }
1544
+ }
1545
+ }
1546
+ },
1547
+ "403": {
1548
+ "description": "JSON:API error",
1549
+ "content": {
1550
+ "application/json": {
1551
+ "schema": {
1552
+ "$ref": "#/components/schemas/ErrorResponse"
1553
+ }
1554
+ }
1555
+ }
1556
+ },
1557
+ "404": {
1558
+ "description": "JSON:API error",
1559
+ "content": {
1560
+ "application/json": {
1561
+ "schema": {
1562
+ "$ref": "#/components/schemas/ErrorResponse"
1563
+ }
1564
+ }
1565
+ }
1566
+ },
1567
+ "409": {
1568
+ "description": "JSON:API error",
1569
+ "content": {
1570
+ "application/json": {
1571
+ "schema": {
1572
+ "$ref": "#/components/schemas/ErrorResponse"
1573
+ }
1574
+ }
1575
+ }
1576
+ },
1577
+ "422": {
1578
+ "description": "JSON:API error",
1579
+ "content": {
1580
+ "application/json": {
1581
+ "schema": {
1582
+ "$ref": "#/components/schemas/ErrorResponse"
1583
+ }
1584
+ }
1585
+ }
1586
+ },
1587
+ "429": {
1588
+ "description": "JSON:API error",
1589
+ "content": {
1590
+ "application/json": {
1591
+ "schema": {
1592
+ "$ref": "#/components/schemas/ErrorResponse"
1593
+ }
1594
+ }
1595
+ }
1596
+ }
1597
+ },
1598
+ "requestBody": {
1599
+ "required": true,
1600
+ "content": {
1601
+ "application/json": {
1602
+ "schema": {
1603
+ "$ref": "#/components/schemas/UserVisibleAppsLinkagesRequest"
1604
+ }
1605
+ }
1606
+ }
1607
+ }
1608
+ }
1609
+ },
1610
+ "/v1/users/{id}": {
1611
+ "delete": {
1612
+ "operationId": "DeleteUser",
1613
+ "x-mockingbird": {
1614
+ "parity": {
1615
+ "safe": false
1616
+ }
1617
+ },
1618
+ "parameters": [
1619
+ {
1620
+ "name": "id",
1621
+ "in": "path",
1622
+ "required": true,
1623
+ "schema": {
1624
+ "type": "string"
1625
+ }
1626
+ }
1627
+ ],
1628
+ "responses": {
1629
+ "204": {
1630
+ "description": "No Content"
1631
+ },
1632
+ "400": {
1633
+ "description": "JSON:API error",
1634
+ "content": {
1635
+ "application/json": {
1636
+ "schema": {
1637
+ "$ref": "#/components/schemas/ErrorResponse"
1638
+ }
1639
+ }
1640
+ }
1641
+ },
1642
+ "401": {
1643
+ "description": "JSON:API error",
1644
+ "content": {
1645
+ "application/json": {
1646
+ "schema": {
1647
+ "$ref": "#/components/schemas/ErrorResponse"
1648
+ }
1649
+ }
1650
+ }
1651
+ },
1652
+ "403": {
1653
+ "description": "JSON:API error",
1654
+ "content": {
1655
+ "application/json": {
1656
+ "schema": {
1657
+ "$ref": "#/components/schemas/ErrorResponse"
1658
+ }
1659
+ }
1660
+ }
1661
+ },
1662
+ "404": {
1663
+ "description": "JSON:API error",
1664
+ "content": {
1665
+ "application/json": {
1666
+ "schema": {
1667
+ "$ref": "#/components/schemas/ErrorResponse"
1668
+ }
1669
+ }
1670
+ }
1671
+ },
1672
+ "409": {
1673
+ "description": "JSON:API error",
1674
+ "content": {
1675
+ "application/json": {
1676
+ "schema": {
1677
+ "$ref": "#/components/schemas/ErrorResponse"
1678
+ }
1679
+ }
1680
+ }
1681
+ },
1682
+ "422": {
1683
+ "description": "JSON:API error",
1684
+ "content": {
1685
+ "application/json": {
1686
+ "schema": {
1687
+ "$ref": "#/components/schemas/ErrorResponse"
1688
+ }
1689
+ }
1690
+ }
1691
+ },
1692
+ "429": {
1693
+ "description": "JSON:API error",
1694
+ "content": {
1695
+ "application/json": {
1696
+ "schema": {
1697
+ "$ref": "#/components/schemas/ErrorResponse"
1698
+ }
1699
+ }
1700
+ }
1701
+ }
1702
+ }
1703
+ }
1704
+ },
1705
+ "/v1/userInvitations/{id}": {
1706
+ "delete": {
1707
+ "operationId": "DeleteInvitation",
1708
+ "x-mockingbird": {
1709
+ "parity": {
1710
+ "safe": false
1711
+ }
1712
+ },
1713
+ "parameters": [
1714
+ {
1715
+ "name": "id",
1716
+ "in": "path",
1717
+ "required": true,
1718
+ "schema": {
1719
+ "type": "string"
1720
+ }
1721
+ }
1722
+ ],
1723
+ "responses": {
1724
+ "204": {
1725
+ "description": "No Content"
1726
+ },
1727
+ "400": {
1728
+ "description": "JSON:API error",
1729
+ "content": {
1730
+ "application/json": {
1731
+ "schema": {
1732
+ "$ref": "#/components/schemas/ErrorResponse"
1733
+ }
1734
+ }
1735
+ }
1736
+ },
1737
+ "401": {
1738
+ "description": "JSON:API error",
1739
+ "content": {
1740
+ "application/json": {
1741
+ "schema": {
1742
+ "$ref": "#/components/schemas/ErrorResponse"
1743
+ }
1744
+ }
1745
+ }
1746
+ },
1747
+ "403": {
1748
+ "description": "JSON:API error",
1749
+ "content": {
1750
+ "application/json": {
1751
+ "schema": {
1752
+ "$ref": "#/components/schemas/ErrorResponse"
1753
+ }
1754
+ }
1755
+ }
1756
+ },
1757
+ "404": {
1758
+ "description": "JSON:API error",
1759
+ "content": {
1760
+ "application/json": {
1761
+ "schema": {
1762
+ "$ref": "#/components/schemas/ErrorResponse"
1763
+ }
1764
+ }
1765
+ }
1766
+ },
1767
+ "409": {
1768
+ "description": "JSON:API error",
1769
+ "content": {
1770
+ "application/json": {
1771
+ "schema": {
1772
+ "$ref": "#/components/schemas/ErrorResponse"
1773
+ }
1774
+ }
1775
+ }
1776
+ },
1777
+ "422": {
1778
+ "description": "JSON:API error",
1779
+ "content": {
1780
+ "application/json": {
1781
+ "schema": {
1782
+ "$ref": "#/components/schemas/ErrorResponse"
1783
+ }
1784
+ }
1785
+ }
1786
+ },
1787
+ "429": {
1788
+ "description": "JSON:API error",
1789
+ "content": {
1790
+ "application/json": {
1791
+ "schema": {
1792
+ "$ref": "#/components/schemas/ErrorResponse"
1793
+ }
1794
+ }
1795
+ }
1796
+ }
1797
+ }
1798
+ }
1799
+ }
1800
+ },
1801
+ "components": {
1802
+ "schemas": {
1803
+ "BetaGroupCreateRequest": {
1804
+ "type": "object",
1805
+ "title": "BetaGroupCreateRequest",
1806
+ "properties": {
1807
+ "data": {
1808
+ "type": "object",
1809
+ "properties": {
1810
+ "type": {
1811
+ "type": "string",
1812
+ "enum": [
1813
+ "betaGroups"
1814
+ ]
1815
+ },
1816
+ "attributes": {
1817
+ "type": "object",
1818
+ "properties": {
1819
+ "name": {
1820
+ "type": "string"
1821
+ },
1822
+ "isInternalGroup": {
1823
+ "type": "boolean",
1824
+ "nullable": true
1825
+ },
1826
+ "hasAccessToAllBuilds": {
1827
+ "type": "boolean",
1828
+ "nullable": true
1829
+ },
1830
+ "publicLinkEnabled": {
1831
+ "type": "boolean",
1832
+ "nullable": true
1833
+ },
1834
+ "publicLinkLimitEnabled": {
1835
+ "type": "boolean",
1836
+ "nullable": true
1837
+ },
1838
+ "publicLinkLimit": {
1839
+ "type": "integer",
1840
+ "nullable": true
1841
+ },
1842
+ "feedbackEnabled": {
1843
+ "type": "boolean",
1844
+ "nullable": true
1845
+ }
1846
+ },
1847
+ "required": [
1848
+ "name"
1849
+ ]
1850
+ },
1851
+ "relationships": {
1852
+ "type": "object",
1853
+ "properties": {
1854
+ "app": {
1855
+ "type": "object",
1856
+ "properties": {
1857
+ "data": {
1858
+ "type": "object",
1859
+ "properties": {
1860
+ "type": {
1861
+ "type": "string",
1862
+ "enum": [
1863
+ "apps"
1864
+ ]
1865
+ },
1866
+ "id": {
1867
+ "type": "string"
1868
+ }
1869
+ },
1870
+ "required": [
1871
+ "id",
1872
+ "type"
1873
+ ]
1874
+ }
1875
+ },
1876
+ "required": [
1877
+ "data"
1878
+ ]
1879
+ },
1880
+ "builds": {
1881
+ "type": "object",
1882
+ "properties": {
1883
+ "data": {
1884
+ "type": "array",
1885
+ "items": {
1886
+ "type": "object",
1887
+ "properties": {
1888
+ "type": {
1889
+ "type": "string",
1890
+ "enum": [
1891
+ "builds"
1892
+ ]
1893
+ },
1894
+ "id": {
1895
+ "type": "string"
1896
+ }
1897
+ },
1898
+ "required": [
1899
+ "id",
1900
+ "type"
1901
+ ]
1902
+ }
1903
+ }
1904
+ }
1905
+ },
1906
+ "betaTesters": {
1907
+ "type": "object",
1908
+ "properties": {
1909
+ "data": {
1910
+ "type": "array",
1911
+ "items": {
1912
+ "type": "object",
1913
+ "properties": {
1914
+ "type": {
1915
+ "type": "string",
1916
+ "enum": [
1917
+ "betaTesters"
1918
+ ]
1919
+ },
1920
+ "id": {
1921
+ "type": "string"
1922
+ }
1923
+ },
1924
+ "required": [
1925
+ "id",
1926
+ "type"
1927
+ ]
1928
+ }
1929
+ }
1930
+ }
1931
+ }
1932
+ },
1933
+ "required": [
1934
+ "app"
1935
+ ]
1936
+ }
1937
+ },
1938
+ "required": [
1939
+ "relationships",
1940
+ "attributes",
1941
+ "type"
1942
+ ]
1943
+ }
1944
+ },
1945
+ "required": [
1946
+ "data"
1947
+ ]
1948
+ },
1949
+ "BetaTesterCreateRequest": {
1950
+ "type": "object",
1951
+ "title": "BetaTesterCreateRequest",
1952
+ "properties": {
1953
+ "data": {
1954
+ "type": "object",
1955
+ "properties": {
1956
+ "type": {
1957
+ "type": "string",
1958
+ "enum": [
1959
+ "betaTesters"
1960
+ ]
1961
+ },
1962
+ "attributes": {
1963
+ "type": "object",
1964
+ "properties": {
1965
+ "firstName": {
1966
+ "type": "string",
1967
+ "nullable": true
1968
+ },
1969
+ "lastName": {
1970
+ "type": "string",
1971
+ "nullable": true
1972
+ },
1973
+ "email": {
1974
+ "type": "string",
1975
+ "format": "email"
1976
+ }
1977
+ },
1978
+ "required": [
1979
+ "email"
1980
+ ]
1981
+ },
1982
+ "relationships": {
1983
+ "type": "object",
1984
+ "properties": {
1985
+ "betaGroups": {
1986
+ "type": "object",
1987
+ "properties": {
1988
+ "data": {
1989
+ "type": "array",
1990
+ "items": {
1991
+ "type": "object",
1992
+ "properties": {
1993
+ "type": {
1994
+ "type": "string",
1995
+ "enum": [
1996
+ "betaGroups"
1997
+ ]
1998
+ },
1999
+ "id": {
2000
+ "type": "string"
2001
+ }
2002
+ },
2003
+ "required": [
2004
+ "id",
2005
+ "type"
2006
+ ]
2007
+ }
2008
+ }
2009
+ }
2010
+ },
2011
+ "builds": {
2012
+ "type": "object",
2013
+ "properties": {
2014
+ "data": {
2015
+ "type": "array",
2016
+ "items": {
2017
+ "type": "object",
2018
+ "properties": {
2019
+ "type": {
2020
+ "type": "string",
2021
+ "enum": [
2022
+ "builds"
2023
+ ]
2024
+ },
2025
+ "id": {
2026
+ "type": "string"
2027
+ }
2028
+ },
2029
+ "required": [
2030
+ "id",
2031
+ "type"
2032
+ ]
2033
+ }
2034
+ }
2035
+ }
2036
+ }
2037
+ }
2038
+ }
2039
+ },
2040
+ "required": [
2041
+ "attributes",
2042
+ "type"
2043
+ ]
2044
+ }
2045
+ },
2046
+ "required": [
2047
+ "data"
2048
+ ]
2049
+ },
2050
+ "UserInvitationCreateRequest": {
2051
+ "type": "object",
2052
+ "title": "UserInvitationCreateRequest",
2053
+ "properties": {
2054
+ "data": {
2055
+ "type": "object",
2056
+ "properties": {
2057
+ "type": {
2058
+ "type": "string",
2059
+ "enum": [
2060
+ "userInvitations"
2061
+ ]
2062
+ },
2063
+ "attributes": {
2064
+ "type": "object",
2065
+ "properties": {
2066
+ "email": {
2067
+ "type": "string",
2068
+ "format": "email"
2069
+ },
2070
+ "firstName": {
2071
+ "type": "string"
2072
+ },
2073
+ "lastName": {
2074
+ "type": "string"
2075
+ },
2076
+ "roles": {
2077
+ "type": "array",
2078
+ "items": {
2079
+ "$ref": "#/components/schemas/UserRole"
2080
+ }
2081
+ },
2082
+ "allAppsVisible": {
2083
+ "type": "boolean",
2084
+ "nullable": true
2085
+ },
2086
+ "provisioningAllowed": {
2087
+ "type": "boolean",
2088
+ "nullable": true
2089
+ }
2090
+ },
2091
+ "required": [
2092
+ "firstName",
2093
+ "lastName",
2094
+ "roles",
2095
+ "email"
2096
+ ]
2097
+ },
2098
+ "relationships": {
2099
+ "type": "object",
2100
+ "properties": {
2101
+ "visibleApps": {
2102
+ "type": "object",
2103
+ "properties": {
2104
+ "data": {
2105
+ "type": "array",
2106
+ "items": {
2107
+ "type": "object",
2108
+ "properties": {
2109
+ "type": {
2110
+ "type": "string",
2111
+ "enum": [
2112
+ "apps"
2113
+ ]
2114
+ },
2115
+ "id": {
2116
+ "type": "string"
2117
+ }
2118
+ },
2119
+ "required": [
2120
+ "id",
2121
+ "type"
2122
+ ]
2123
+ }
2124
+ }
2125
+ }
2126
+ }
2127
+ }
2128
+ }
2129
+ },
2130
+ "required": [
2131
+ "attributes",
2132
+ "type"
2133
+ ]
2134
+ }
2135
+ },
2136
+ "required": [
2137
+ "data"
2138
+ ]
2139
+ },
2140
+ "BetaGroupBetaTestersLinkagesRequest": {
2141
+ "type": "object",
2142
+ "properties": {
2143
+ "data": {
2144
+ "type": "array",
2145
+ "items": {
2146
+ "type": "object",
2147
+ "properties": {
2148
+ "type": {
2149
+ "type": "string",
2150
+ "enum": [
2151
+ "betaTesters"
2152
+ ]
2153
+ },
2154
+ "id": {
2155
+ "type": "string"
2156
+ }
2157
+ },
2158
+ "required": [
2159
+ "id",
2160
+ "type"
2161
+ ]
2162
+ }
2163
+ }
2164
+ },
2165
+ "required": [
2166
+ "data"
2167
+ ]
2168
+ },
2169
+ "UserVisibleAppsLinkagesRequest": {
2170
+ "type": "object",
2171
+ "properties": {
2172
+ "data": {
2173
+ "type": "array",
2174
+ "items": {
2175
+ "type": "object",
2176
+ "properties": {
2177
+ "type": {
2178
+ "type": "string",
2179
+ "enum": [
2180
+ "apps"
2181
+ ]
2182
+ },
2183
+ "id": {
2184
+ "type": "string"
2185
+ }
2186
+ },
2187
+ "required": [
2188
+ "id",
2189
+ "type"
2190
+ ]
2191
+ }
2192
+ }
2193
+ },
2194
+ "required": [
2195
+ "data"
2196
+ ]
2197
+ },
2198
+ "UserRole": {
2199
+ "type": "string",
2200
+ "enum": [
2201
+ "ADMIN",
2202
+ "FINANCE",
2203
+ "ACCOUNT_HOLDER",
2204
+ "SALES",
2205
+ "MARKETING",
2206
+ "APP_MANAGER",
2207
+ "DEVELOPER",
2208
+ "ACCESS_TO_REPORTS",
2209
+ "CUSTOMER_SUPPORT",
2210
+ "CREATE_APPS",
2211
+ "CLOUD_MANAGED_DEVELOPER_ID",
2212
+ "CLOUD_MANAGED_APP_DISTRIBUTION",
2213
+ "GENERATE_INDIVIDUAL_KEYS"
2214
+ ]
2215
+ },
2216
+ "ErrorSourcePointer": {
2217
+ "type": "object",
2218
+ "title": "JsonPointer",
2219
+ "properties": {
2220
+ "pointer": {
2221
+ "type": "string"
2222
+ }
2223
+ },
2224
+ "required": [
2225
+ "pointer"
2226
+ ]
2227
+ },
2228
+ "ErrorSourceParameter": {
2229
+ "type": "object",
2230
+ "title": "Parameter",
2231
+ "properties": {
2232
+ "parameter": {
2233
+ "type": "string"
2234
+ }
2235
+ },
2236
+ "required": [
2237
+ "parameter"
2238
+ ]
2239
+ },
2240
+ "ErrorLinks": {
2241
+ "type": "object",
2242
+ "properties": {
2243
+ "about": {
2244
+ "type": "string",
2245
+ "format": "uri-reference"
2246
+ },
2247
+ "associated": {
2248
+ "oneOf": [
2249
+ {
2250
+ "type": "string",
2251
+ "format": "uri-reference"
2252
+ },
2253
+ {
2254
+ "type": "object",
2255
+ "properties": {
2256
+ "href": {
2257
+ "type": "string",
2258
+ "format": "uri-reference"
2259
+ },
2260
+ "meta": {
2261
+ "type": "object",
2262
+ "properties": {
2263
+ "source": {
2264
+ "type": "string"
2265
+ }
2266
+ }
2267
+ }
2268
+ }
2269
+ }
2270
+ ]
2271
+ }
2272
+ }
2273
+ },
2274
+ "ErrorResponse": {
2275
+ "type": "object",
2276
+ "properties": {
2277
+ "errors": {
2278
+ "type": "array",
2279
+ "items": {
2280
+ "type": "object",
2281
+ "properties": {
2282
+ "id": {
2283
+ "type": "string"
2284
+ },
2285
+ "status": {
2286
+ "type": "string"
2287
+ },
2288
+ "code": {
2289
+ "type": "string"
2290
+ },
2291
+ "title": {
2292
+ "type": "string"
2293
+ },
2294
+ "detail": {
2295
+ "type": "string"
2296
+ },
2297
+ "source": {
2298
+ "oneOf": [
2299
+ {
2300
+ "$ref": "#/components/schemas/ErrorSourcePointer"
2301
+ },
2302
+ {
2303
+ "$ref": "#/components/schemas/ErrorSourceParameter"
2304
+ }
2305
+ ]
2306
+ },
2307
+ "links": {
2308
+ "$ref": "#/components/schemas/ErrorLinks"
2309
+ },
2310
+ "meta": {
2311
+ "type": "object",
2312
+ "additionalProperties": {}
2313
+ }
2314
+ },
2315
+ "required": [
2316
+ "code",
2317
+ "detail",
2318
+ "status",
2319
+ "title"
2320
+ ]
2321
+ }
2322
+ }
2323
+ }
2324
+ },
2325
+ "Resource": {
2326
+ "type": "object",
2327
+ "properties": {
2328
+ "type": {
2329
+ "type": "string"
2330
+ },
2331
+ "id": {
2332
+ "type": "string",
2333
+ "x-mockingbird-resource": {
2334
+ "type": "resource",
2335
+ "identity": true
2336
+ }
2337
+ },
2338
+ "attributes": {
2339
+ "type": "object",
2340
+ "additionalProperties": true
2341
+ },
2342
+ "relationships": {
2343
+ "type": "object",
2344
+ "additionalProperties": true
2345
+ }
2346
+ },
2347
+ "required": [
2348
+ "type",
2349
+ "id"
2350
+ ]
2351
+ },
2352
+ "ResourceResponse": {
2353
+ "type": "object",
2354
+ "properties": {
2355
+ "data": {
2356
+ "$ref": "#/components/schemas/Resource"
2357
+ },
2358
+ "links": {
2359
+ "type": "object",
2360
+ "properties": {
2361
+ "self": {
2362
+ "type": "string"
2363
+ }
2364
+ },
2365
+ "required": [
2366
+ "self"
2367
+ ]
2368
+ }
2369
+ },
2370
+ "required": [
2371
+ "data"
2372
+ ]
2373
+ },
2374
+ "ListResponse": {
2375
+ "type": "object",
2376
+ "properties": {
2377
+ "data": {
2378
+ "type": "array",
2379
+ "items": {
2380
+ "$ref": "#/components/schemas/Resource"
2381
+ }
2382
+ },
2383
+ "links": {
2384
+ "type": "object",
2385
+ "properties": {
2386
+ "self": {
2387
+ "type": "string"
2388
+ },
2389
+ "next": {
2390
+ "type": [
2391
+ "string",
2392
+ "null"
2393
+ ]
2394
+ }
2395
+ },
2396
+ "required": [
2397
+ "self"
2398
+ ]
2399
+ },
2400
+ "meta": {
2401
+ "type": "object"
2402
+ }
2403
+ },
2404
+ "required": [
2405
+ "data",
2406
+ "links"
2407
+ ]
2408
+ }
2409
+ },
2410
+ "securitySchemes": {
2411
+ "bearer": {
2412
+ "type": "http",
2413
+ "scheme": "bearer",
2414
+ "bearerFormat": "JWT"
2415
+ }
2416
+ }
2417
+ },
2418
+ "security": [
2419
+ {
2420
+ "bearer": []
2421
+ }
2422
+ ]
2423
+ }