@ogcio/building-blocks-sdk 0.0.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 (106) hide show
  1. package/.husky/commit-msg +1 -0
  2. package/.husky/pre-push +1 -0
  3. package/.nvmrc +1 -0
  4. package/.vscode/settings.json +20 -0
  5. package/biome.jsonc +45 -0
  6. package/commitlint.config.js +6 -0
  7. package/dist/client/auth/index.d.ts +4 -0
  8. package/dist/client/auth/index.d.ts.map +1 -0
  9. package/dist/client/auth/index.js +83 -0
  10. package/dist/client/auth/index.js.map +1 -0
  11. package/dist/client/base-client.d.ts +18 -0
  12. package/dist/client/base-client.d.ts.map +1 -0
  13. package/dist/client/base-client.js +71 -0
  14. package/dist/client/base-client.js.map +1 -0
  15. package/dist/client/clients/messaging/index.d.ts +2407 -0
  16. package/dist/client/clients/messaging/index.d.ts.map +1 -0
  17. package/dist/client/clients/messaging/index.js +430 -0
  18. package/dist/client/clients/messaging/index.js.map +1 -0
  19. package/dist/client/clients/messaging/schema.d.ts +3823 -0
  20. package/dist/client/clients/messaging/schema.d.ts.map +1 -0
  21. package/dist/client/clients/messaging/schema.js +2 -0
  22. package/dist/client/clients/messaging/schema.js.map +1 -0
  23. package/dist/client/clients/payments/index.d.ts +2294 -0
  24. package/dist/client/clients/payments/index.d.ts.map +1 -0
  25. package/dist/client/clients/payments/index.js +217 -0
  26. package/dist/client/clients/payments/index.js.map +1 -0
  27. package/dist/client/clients/payments/schema.d.ts +2534 -0
  28. package/dist/client/clients/payments/schema.d.ts.map +1 -0
  29. package/dist/client/clients/payments/schema.js +2 -0
  30. package/dist/client/clients/payments/schema.js.map +1 -0
  31. package/dist/client/clients/profile/index.d.ts +1364 -0
  32. package/dist/client/clients/profile/index.d.ts.map +1 -0
  33. package/dist/client/clients/profile/index.js +102 -0
  34. package/dist/client/clients/profile/index.js.map +1 -0
  35. package/dist/client/clients/profile/schema.d.ts +1429 -0
  36. package/dist/client/clients/profile/schema.d.ts.map +1 -0
  37. package/dist/client/clients/profile/schema.js +2 -0
  38. package/dist/client/clients/profile/schema.js.map +1 -0
  39. package/dist/client/clients/scheduler/index.d.ts +14 -0
  40. package/dist/client/clients/scheduler/index.d.ts.map +1 -0
  41. package/dist/client/clients/scheduler/index.js +14 -0
  42. package/dist/client/clients/scheduler/index.js.map +1 -0
  43. package/dist/client/clients/scheduler/schema.d.ts +114 -0
  44. package/dist/client/clients/scheduler/schema.d.ts.map +1 -0
  45. package/dist/client/clients/scheduler/schema.js +2 -0
  46. package/dist/client/clients/scheduler/schema.js.map +1 -0
  47. package/dist/client/clients/upload/index.d.ts +390 -0
  48. package/dist/client/clients/upload/index.d.ts.map +1 -0
  49. package/dist/client/clients/upload/index.js +93 -0
  50. package/dist/client/clients/upload/index.js.map +1 -0
  51. package/dist/client/clients/upload/schema.d.ts +564 -0
  52. package/dist/client/clients/upload/schema.d.ts.map +1 -0
  53. package/dist/client/clients/upload/schema.js +2 -0
  54. package/dist/client/clients/upload/schema.js.map +1 -0
  55. package/dist/client/utils/client-utils.d.ts +15 -0
  56. package/dist/client/utils/client-utils.d.ts.map +1 -0
  57. package/dist/client/utils/client-utils.js +14 -0
  58. package/dist/client/utils/client-utils.js.map +1 -0
  59. package/dist/clients-configurations/clients-configuration.json +92 -0
  60. package/dist/clients-configurations/read-configuration-file.d.ts +22 -0
  61. package/dist/clients-configurations/read-configuration-file.d.ts.map +1 -0
  62. package/dist/clients-configurations/read-configuration-file.js +47 -0
  63. package/dist/clients-configurations/read-configuration-file.js.map +1 -0
  64. package/dist/index.d.ts +6 -0
  65. package/dist/index.d.ts.map +1 -0
  66. package/dist/index.js +33 -0
  67. package/dist/index.js.map +1 -0
  68. package/dist/types/index.d.ts +63 -0
  69. package/dist/types/index.d.ts.map +1 -0
  70. package/dist/types/index.js +6 -0
  71. package/dist/types/index.js.map +1 -0
  72. package/dist/utils/get-absolute-path.d.ts +3 -0
  73. package/dist/utils/get-absolute-path.d.ts.map +1 -0
  74. package/dist/utils/get-absolute-path.js +8 -0
  75. package/dist/utils/get-absolute-path.js.map +1 -0
  76. package/package.json +44 -0
  77. package/src/cli/cli-utils.ts +25 -0
  78. package/src/cli/index.ts +13 -0
  79. package/src/cli/outdated-clients-command.ts +148 -0
  80. package/src/cli/update-clients-command.ts +298 -0
  81. package/src/client/auth/index.ts +131 -0
  82. package/src/client/base-client.ts +97 -0
  83. package/src/client/clients/messaging/index.ts +683 -0
  84. package/src/client/clients/messaging/open-api-definition.json +8394 -0
  85. package/src/client/clients/messaging/schema.ts +3822 -0
  86. package/src/client/clients/payments/index.ts +349 -0
  87. package/src/client/clients/payments/open-api-definition.json +6094 -0
  88. package/src/client/clients/payments/schema.ts +2533 -0
  89. package/src/client/clients/profile/index.ts +182 -0
  90. package/src/client/clients/profile/open-api-definition.json +2876 -0
  91. package/src/client/clients/profile/schema.ts +1428 -0
  92. package/src/client/clients/scheduler/index.ts +28 -0
  93. package/src/client/clients/scheduler/open-api-definition.json +120 -0
  94. package/src/client/clients/scheduler/schema.ts +113 -0
  95. package/src/client/clients/upload/index.ts +129 -0
  96. package/src/client/clients/upload/open-api-definition.json +985 -0
  97. package/src/client/clients/upload/schema.ts +563 -0
  98. package/src/client/utils/client-utils.ts +50 -0
  99. package/src/clients-configurations/clients-configuration.json +92 -0
  100. package/src/clients-configurations/read-configuration-file.ts +68 -0
  101. package/src/index.ts +43 -0
  102. package/src/logto-node.d.ts +12 -0
  103. package/src/types/index.ts +82 -0
  104. package/src/utils/get-absolute-path.ts +10 -0
  105. package/tsconfig.json +18 -0
  106. package/tsconfig.prod.json +4 -0
@@ -0,0 +1,985 @@
1
+ {
2
+ "openapi": "3.0.3",
3
+ "info": {
4
+ "title": "OGCIO File Upload API",
5
+ "description": "API for OGCIO file upload service",
6
+ "version": "0.1.0"
7
+ },
8
+ "components": {
9
+ "schemas": {}
10
+ },
11
+ "paths": {
12
+ "/api/v1/files/": {
13
+ "post": {
14
+ "tags": [
15
+ "Files"
16
+ ],
17
+ "requestBody": {
18
+ "content": {
19
+ "multipart/form-data": {
20
+ "schema": {
21
+ "anyOf": [
22
+ {},
23
+ {}
24
+ ]
25
+ }
26
+ }
27
+ }
28
+ },
29
+ "responses": {
30
+ "201": {
31
+ "description": "Default Response",
32
+ "content": {
33
+ "application/json": {
34
+ "schema": {
35
+ "type": "object",
36
+ "properties": {
37
+ "data": {
38
+ "type": "object",
39
+ "properties": {
40
+ "id": {
41
+ "type": "string"
42
+ }
43
+ },
44
+ "required": [
45
+ "id"
46
+ ]
47
+ }
48
+ },
49
+ "required": [
50
+ "data"
51
+ ]
52
+ }
53
+ }
54
+ }
55
+ },
56
+ "4XX": {
57
+ "description": "Default Response",
58
+ "content": {
59
+ "application/json": {
60
+ "schema": {
61
+ "type": "object",
62
+ "properties": {
63
+ "code": {
64
+ "type": "string"
65
+ },
66
+ "detail": {
67
+ "type": "string"
68
+ },
69
+ "requestId": {
70
+ "type": "string"
71
+ },
72
+ "name": {
73
+ "type": "string"
74
+ },
75
+ "validation": {},
76
+ "validationContext": {
77
+ "type": "string"
78
+ }
79
+ },
80
+ "required": [
81
+ "code",
82
+ "detail",
83
+ "requestId",
84
+ "name"
85
+ ]
86
+ }
87
+ }
88
+ }
89
+ },
90
+ "5XX": {
91
+ "description": "Default Response",
92
+ "content": {
93
+ "application/json": {
94
+ "schema": {
95
+ "type": "object",
96
+ "properties": {
97
+ "code": {
98
+ "type": "string"
99
+ },
100
+ "detail": {
101
+ "type": "string"
102
+ },
103
+ "requestId": {
104
+ "type": "string"
105
+ },
106
+ "name": {
107
+ "type": "string"
108
+ },
109
+ "validation": {},
110
+ "validationContext": {
111
+ "type": "string"
112
+ }
113
+ },
114
+ "required": [
115
+ "code",
116
+ "detail",
117
+ "requestId",
118
+ "name"
119
+ ]
120
+ }
121
+ }
122
+ }
123
+ }
124
+ }
125
+ }
126
+ },
127
+ "/api/v1/files/{id}": {
128
+ "get": {
129
+ "tags": [
130
+ "Files"
131
+ ],
132
+ "parameters": [
133
+ {
134
+ "schema": {
135
+ "type": "string"
136
+ },
137
+ "in": "path",
138
+ "name": "id",
139
+ "required": true
140
+ }
141
+ ],
142
+ "responses": {
143
+ "200": {
144
+ "description": "Default Response",
145
+ "content": {
146
+ "application/json": {
147
+ "schema": {
148
+ "type": "string"
149
+ }
150
+ }
151
+ }
152
+ },
153
+ "4XX": {
154
+ "description": "Default Response",
155
+ "content": {
156
+ "application/json": {
157
+ "schema": {
158
+ "type": "object",
159
+ "properties": {
160
+ "code": {
161
+ "type": "string"
162
+ },
163
+ "detail": {
164
+ "type": "string"
165
+ },
166
+ "requestId": {
167
+ "type": "string"
168
+ },
169
+ "name": {
170
+ "type": "string"
171
+ },
172
+ "validation": {},
173
+ "validationContext": {
174
+ "type": "string"
175
+ }
176
+ },
177
+ "required": [
178
+ "code",
179
+ "detail",
180
+ "requestId",
181
+ "name"
182
+ ]
183
+ }
184
+ }
185
+ }
186
+ },
187
+ "5XX": {
188
+ "description": "Default Response",
189
+ "content": {
190
+ "application/json": {
191
+ "schema": {
192
+ "type": "object",
193
+ "properties": {
194
+ "code": {
195
+ "type": "string"
196
+ },
197
+ "detail": {
198
+ "type": "string"
199
+ },
200
+ "requestId": {
201
+ "type": "string"
202
+ },
203
+ "name": {
204
+ "type": "string"
205
+ },
206
+ "validation": {},
207
+ "validationContext": {
208
+ "type": "string"
209
+ }
210
+ },
211
+ "required": [
212
+ "code",
213
+ "detail",
214
+ "requestId",
215
+ "name"
216
+ ]
217
+ }
218
+ }
219
+ }
220
+ }
221
+ }
222
+ }
223
+ },
224
+ "/api/v1/metadata/": {
225
+ "get": {
226
+ "tags": [
227
+ "Metadata"
228
+ ],
229
+ "parameters": [
230
+ {
231
+ "schema": {
232
+ "type": "string"
233
+ },
234
+ "in": "query",
235
+ "name": "userId",
236
+ "required": false
237
+ },
238
+ {
239
+ "schema": {
240
+ "type": "string"
241
+ },
242
+ "in": "query",
243
+ "name": "organizationId",
244
+ "required": false
245
+ }
246
+ ],
247
+ "responses": {
248
+ "200": {
249
+ "description": "Default Response",
250
+ "content": {
251
+ "application/json": {
252
+ "schema": {
253
+ "type": "object",
254
+ "properties": {
255
+ "data": {
256
+ "type": "array",
257
+ "items": {
258
+ "type": "object",
259
+ "properties": {
260
+ "fileName": {
261
+ "type": "string"
262
+ },
263
+ "id": {
264
+ "type": "string"
265
+ },
266
+ "key": {
267
+ "type": "string"
268
+ },
269
+ "ownerId": {
270
+ "type": "string"
271
+ },
272
+ "fileSize": {
273
+ "type": "number"
274
+ },
275
+ "mimeType": {
276
+ "type": "string"
277
+ },
278
+ "createdAt": {
279
+ "type": "string"
280
+ },
281
+ "lastScan": {
282
+ "type": "string"
283
+ },
284
+ "deleted": {
285
+ "default": false,
286
+ "type": "boolean"
287
+ },
288
+ "infected": {
289
+ "type": "boolean"
290
+ },
291
+ "infectionDescription": {
292
+ "type": "string"
293
+ },
294
+ "antivirusDbVersion": {
295
+ "type": "string"
296
+ },
297
+ "expiresAt": {
298
+ "type": "string"
299
+ }
300
+ },
301
+ "required": [
302
+ "fileName",
303
+ "key",
304
+ "ownerId",
305
+ "fileSize",
306
+ "mimeType",
307
+ "createdAt",
308
+ "lastScan",
309
+ "infected"
310
+ ]
311
+ }
312
+ }
313
+ },
314
+ "required": [
315
+ "data"
316
+ ]
317
+ }
318
+ }
319
+ }
320
+ },
321
+ "4XX": {
322
+ "description": "Default Response",
323
+ "content": {
324
+ "application/json": {
325
+ "schema": {
326
+ "type": "object",
327
+ "properties": {
328
+ "code": {
329
+ "type": "string"
330
+ },
331
+ "detail": {
332
+ "type": "string"
333
+ },
334
+ "requestId": {
335
+ "type": "string"
336
+ },
337
+ "name": {
338
+ "type": "string"
339
+ },
340
+ "validation": {},
341
+ "validationContext": {
342
+ "type": "string"
343
+ }
344
+ },
345
+ "required": [
346
+ "code",
347
+ "detail",
348
+ "requestId",
349
+ "name"
350
+ ]
351
+ }
352
+ }
353
+ }
354
+ },
355
+ "5XX": {
356
+ "description": "Default Response",
357
+ "content": {
358
+ "application/json": {
359
+ "schema": {
360
+ "type": "object",
361
+ "properties": {
362
+ "code": {
363
+ "type": "string"
364
+ },
365
+ "detail": {
366
+ "type": "string"
367
+ },
368
+ "requestId": {
369
+ "type": "string"
370
+ },
371
+ "name": {
372
+ "type": "string"
373
+ },
374
+ "validation": {},
375
+ "validationContext": {
376
+ "type": "string"
377
+ }
378
+ },
379
+ "required": [
380
+ "code",
381
+ "detail",
382
+ "requestId",
383
+ "name"
384
+ ]
385
+ }
386
+ }
387
+ }
388
+ }
389
+ }
390
+ },
391
+ "delete": {
392
+ "tags": [
393
+ "Metadata"
394
+ ],
395
+ "requestBody": {
396
+ "content": {
397
+ "application/json": {
398
+ "schema": {
399
+ "type": "object",
400
+ "properties": {
401
+ "fileId": {
402
+ "type": "string"
403
+ }
404
+ },
405
+ "required": [
406
+ "fileId"
407
+ ]
408
+ }
409
+ }
410
+ },
411
+ "required": true
412
+ },
413
+ "responses": {
414
+ "200": {
415
+ "description": "Default Response",
416
+ "content": {
417
+ "application/json": {
418
+ "schema": {
419
+ "type": "object",
420
+ "properties": {
421
+ "data": {
422
+ "type": "object",
423
+ "properties": {
424
+ "id": {
425
+ "type": "string"
426
+ }
427
+ },
428
+ "required": [
429
+ "id"
430
+ ]
431
+ }
432
+ },
433
+ "required": [
434
+ "data"
435
+ ]
436
+ }
437
+ }
438
+ }
439
+ },
440
+ "4XX": {
441
+ "description": "Default Response",
442
+ "content": {
443
+ "application/json": {
444
+ "schema": {
445
+ "type": "object",
446
+ "properties": {
447
+ "code": {
448
+ "type": "string"
449
+ },
450
+ "detail": {
451
+ "type": "string"
452
+ },
453
+ "requestId": {
454
+ "type": "string"
455
+ },
456
+ "name": {
457
+ "type": "string"
458
+ },
459
+ "validation": {},
460
+ "validationContext": {
461
+ "type": "string"
462
+ }
463
+ },
464
+ "required": [
465
+ "code",
466
+ "detail",
467
+ "requestId",
468
+ "name"
469
+ ]
470
+ }
471
+ }
472
+ }
473
+ },
474
+ "5XX": {
475
+ "description": "Default Response",
476
+ "content": {
477
+ "application/json": {
478
+ "schema": {
479
+ "type": "object",
480
+ "properties": {
481
+ "code": {
482
+ "type": "string"
483
+ },
484
+ "detail": {
485
+ "type": "string"
486
+ },
487
+ "requestId": {
488
+ "type": "string"
489
+ },
490
+ "name": {
491
+ "type": "string"
492
+ },
493
+ "validation": {},
494
+ "validationContext": {
495
+ "type": "string"
496
+ }
497
+ },
498
+ "required": [
499
+ "code",
500
+ "detail",
501
+ "requestId",
502
+ "name"
503
+ ]
504
+ }
505
+ }
506
+ }
507
+ }
508
+ }
509
+ }
510
+ },
511
+ "/api/v1/metadata/{id}": {
512
+ "get": {
513
+ "tags": [
514
+ "Metadata"
515
+ ],
516
+ "parameters": [
517
+ {
518
+ "schema": {
519
+ "type": "string"
520
+ },
521
+ "in": "path",
522
+ "name": "id",
523
+ "required": true
524
+ }
525
+ ],
526
+ "responses": {
527
+ "200": {
528
+ "description": "Default Response",
529
+ "content": {
530
+ "application/json": {
531
+ "schema": {
532
+ "type": "object",
533
+ "properties": {
534
+ "data": {
535
+ "type": "object",
536
+ "properties": {
537
+ "fileName": {
538
+ "type": "string"
539
+ },
540
+ "id": {
541
+ "type": "string"
542
+ },
543
+ "key": {
544
+ "type": "string"
545
+ },
546
+ "ownerId": {
547
+ "type": "string"
548
+ },
549
+ "fileSize": {
550
+ "type": "number"
551
+ },
552
+ "mimeType": {
553
+ "type": "string"
554
+ },
555
+ "createdAt": {
556
+ "type": "string"
557
+ },
558
+ "lastScan": {
559
+ "type": "string"
560
+ },
561
+ "deleted": {
562
+ "default": false,
563
+ "type": "boolean"
564
+ },
565
+ "infected": {
566
+ "type": "boolean"
567
+ },
568
+ "infectionDescription": {
569
+ "type": "string"
570
+ },
571
+ "antivirusDbVersion": {
572
+ "type": "string"
573
+ },
574
+ "expiresAt": {
575
+ "type": "string"
576
+ }
577
+ },
578
+ "required": [
579
+ "fileName",
580
+ "key",
581
+ "ownerId",
582
+ "fileSize",
583
+ "mimeType",
584
+ "createdAt",
585
+ "lastScan",
586
+ "infected"
587
+ ]
588
+ }
589
+ },
590
+ "required": [
591
+ "data"
592
+ ]
593
+ }
594
+ }
595
+ }
596
+ },
597
+ "4XX": {
598
+ "description": "Default Response",
599
+ "content": {
600
+ "application/json": {
601
+ "schema": {
602
+ "type": "object",
603
+ "properties": {
604
+ "code": {
605
+ "type": "string"
606
+ },
607
+ "detail": {
608
+ "type": "string"
609
+ },
610
+ "requestId": {
611
+ "type": "string"
612
+ },
613
+ "name": {
614
+ "type": "string"
615
+ },
616
+ "validation": {},
617
+ "validationContext": {
618
+ "type": "string"
619
+ }
620
+ },
621
+ "required": [
622
+ "code",
623
+ "detail",
624
+ "requestId",
625
+ "name"
626
+ ]
627
+ }
628
+ }
629
+ }
630
+ },
631
+ "5XX": {
632
+ "description": "Default Response",
633
+ "content": {
634
+ "application/json": {
635
+ "schema": {
636
+ "type": "object",
637
+ "properties": {
638
+ "code": {
639
+ "type": "string"
640
+ },
641
+ "detail": {
642
+ "type": "string"
643
+ },
644
+ "requestId": {
645
+ "type": "string"
646
+ },
647
+ "name": {
648
+ "type": "string"
649
+ },
650
+ "validation": {},
651
+ "validationContext": {
652
+ "type": "string"
653
+ }
654
+ },
655
+ "required": [
656
+ "code",
657
+ "detail",
658
+ "requestId",
659
+ "name"
660
+ ]
661
+ }
662
+ }
663
+ }
664
+ }
665
+ }
666
+ }
667
+ },
668
+ "/api/v1/permissions/": {
669
+ "post": {
670
+ "tags": [
671
+ "Permissions"
672
+ ],
673
+ "requestBody": {
674
+ "content": {
675
+ "application/json": {
676
+ "schema": {
677
+ "type": "object",
678
+ "properties": {
679
+ "fileId": {
680
+ "type": "string"
681
+ },
682
+ "userId": {
683
+ "type": "string"
684
+ }
685
+ },
686
+ "required": [
687
+ "fileId",
688
+ "userId"
689
+ ]
690
+ }
691
+ }
692
+ },
693
+ "required": true
694
+ },
695
+ "responses": {
696
+ "201": {
697
+ "description": "Default Response",
698
+ "content": {
699
+ "application/json": {
700
+ "schema": {
701
+ "type": "object",
702
+ "properties": {
703
+ "data": {
704
+ "type": "object",
705
+ "properties": {
706
+ "fileId": {
707
+ "type": "string"
708
+ },
709
+ "userId": {
710
+ "type": "string"
711
+ }
712
+ },
713
+ "required": [
714
+ "fileId",
715
+ "userId"
716
+ ]
717
+ }
718
+ },
719
+ "required": [
720
+ "data"
721
+ ]
722
+ }
723
+ }
724
+ }
725
+ },
726
+ "4XX": {
727
+ "description": "Default Response",
728
+ "content": {
729
+ "application/json": {
730
+ "schema": {
731
+ "type": "object",
732
+ "properties": {
733
+ "code": {
734
+ "type": "string"
735
+ },
736
+ "detail": {
737
+ "type": "string"
738
+ },
739
+ "requestId": {
740
+ "type": "string"
741
+ },
742
+ "name": {
743
+ "type": "string"
744
+ },
745
+ "validation": {},
746
+ "validationContext": {
747
+ "type": "string"
748
+ }
749
+ },
750
+ "required": [
751
+ "code",
752
+ "detail",
753
+ "requestId",
754
+ "name"
755
+ ]
756
+ }
757
+ }
758
+ }
759
+ },
760
+ "5XX": {
761
+ "description": "Default Response",
762
+ "content": {
763
+ "application/json": {
764
+ "schema": {
765
+ "type": "object",
766
+ "properties": {
767
+ "code": {
768
+ "type": "string"
769
+ },
770
+ "detail": {
771
+ "type": "string"
772
+ },
773
+ "requestId": {
774
+ "type": "string"
775
+ },
776
+ "name": {
777
+ "type": "string"
778
+ },
779
+ "validation": {},
780
+ "validationContext": {
781
+ "type": "string"
782
+ }
783
+ },
784
+ "required": [
785
+ "code",
786
+ "detail",
787
+ "requestId",
788
+ "name"
789
+ ]
790
+ }
791
+ }
792
+ }
793
+ }
794
+ }
795
+ },
796
+ "delete": {
797
+ "tags": [
798
+ "Permissions"
799
+ ],
800
+ "requestBody": {
801
+ "content": {
802
+ "application/json": {
803
+ "schema": {
804
+ "type": "object",
805
+ "properties": {
806
+ "fileId": {
807
+ "type": "string"
808
+ },
809
+ "userId": {
810
+ "type": "string"
811
+ }
812
+ },
813
+ "required": [
814
+ "fileId",
815
+ "userId"
816
+ ]
817
+ }
818
+ }
819
+ },
820
+ "required": true
821
+ },
822
+ "responses": {
823
+ "4XX": {
824
+ "description": "Default Response",
825
+ "content": {
826
+ "application/json": {
827
+ "schema": {
828
+ "type": "object",
829
+ "properties": {
830
+ "code": {
831
+ "type": "string"
832
+ },
833
+ "detail": {
834
+ "type": "string"
835
+ },
836
+ "requestId": {
837
+ "type": "string"
838
+ },
839
+ "name": {
840
+ "type": "string"
841
+ },
842
+ "validation": {},
843
+ "validationContext": {
844
+ "type": "string"
845
+ }
846
+ },
847
+ "required": [
848
+ "code",
849
+ "detail",
850
+ "requestId",
851
+ "name"
852
+ ]
853
+ }
854
+ }
855
+ }
856
+ },
857
+ "5XX": {
858
+ "description": "Default Response",
859
+ "content": {
860
+ "application/json": {
861
+ "schema": {
862
+ "type": "object",
863
+ "properties": {
864
+ "code": {
865
+ "type": "string"
866
+ },
867
+ "detail": {
868
+ "type": "string"
869
+ },
870
+ "requestId": {
871
+ "type": "string"
872
+ },
873
+ "name": {
874
+ "type": "string"
875
+ },
876
+ "validation": {},
877
+ "validationContext": {
878
+ "type": "string"
879
+ }
880
+ },
881
+ "required": [
882
+ "code",
883
+ "detail",
884
+ "requestId",
885
+ "name"
886
+ ]
887
+ }
888
+ }
889
+ }
890
+ }
891
+ }
892
+ },
893
+ "get": {
894
+ "tags": [
895
+ "Permissions"
896
+ ],
897
+ "parameters": [
898
+ {
899
+ "schema": {
900
+ "type": "string"
901
+ },
902
+ "in": "query",
903
+ "name": "fileId",
904
+ "required": true
905
+ }
906
+ ],
907
+ "responses": {
908
+ "4XX": {
909
+ "description": "Default Response",
910
+ "content": {
911
+ "application/json": {
912
+ "schema": {
913
+ "type": "object",
914
+ "properties": {
915
+ "code": {
916
+ "type": "string"
917
+ },
918
+ "detail": {
919
+ "type": "string"
920
+ },
921
+ "requestId": {
922
+ "type": "string"
923
+ },
924
+ "name": {
925
+ "type": "string"
926
+ },
927
+ "validation": {},
928
+ "validationContext": {
929
+ "type": "string"
930
+ }
931
+ },
932
+ "required": [
933
+ "code",
934
+ "detail",
935
+ "requestId",
936
+ "name"
937
+ ]
938
+ }
939
+ }
940
+ }
941
+ },
942
+ "5XX": {
943
+ "description": "Default Response",
944
+ "content": {
945
+ "application/json": {
946
+ "schema": {
947
+ "type": "object",
948
+ "properties": {
949
+ "code": {
950
+ "type": "string"
951
+ },
952
+ "detail": {
953
+ "type": "string"
954
+ },
955
+ "requestId": {
956
+ "type": "string"
957
+ },
958
+ "name": {
959
+ "type": "string"
960
+ },
961
+ "validation": {},
962
+ "validationContext": {
963
+ "type": "string"
964
+ }
965
+ },
966
+ "required": [
967
+ "code",
968
+ "detail",
969
+ "requestId",
970
+ "name"
971
+ ]
972
+ }
973
+ }
974
+ }
975
+ }
976
+ }
977
+ }
978
+ }
979
+ },
980
+ "tags": [
981
+ {
982
+ "name": "FileUploadApi"
983
+ }
984
+ ]
985
+ }