@ogcio/building-blocks-sdk 0.2.84 → 0.2.86
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/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +14 -0
- package/dist/client/clients/messaging/index.d.ts +8 -0
- package/dist/client/clients/messaging/index.d.ts.map +1 -1
- package/dist/client/clients/messaging/index.js +7 -1
- package/dist/client/clients/messaging/index.js.map +1 -1
- package/dist/client/clients/messaging/schema.d.ts +154 -0
- package/dist/client/clients/messaging/schema.d.ts.map +1 -1
- package/dist/client/clients/messaging/support.d.ts +125 -0
- package/dist/client/clients/messaging/support.d.ts.map +1 -0
- package/dist/client/clients/messaging/support.js +20 -0
- package/dist/client/clients/messaging/support.js.map +1 -0
- package/dist/client/clients/profile/citizen.d.ts.map +1 -1
- package/dist/client/clients/profile/index.d.ts +7 -79
- package/dist/client/clients/profile/index.d.ts.map +1 -1
- package/dist/client/clients/profile/index.js +13 -20
- package/dist/client/clients/profile/index.js.map +1 -1
- package/dist/client/clients/profile/organisation.d.ts.map +1 -1
- package/dist/client/clients/profile/schema.d.ts +1 -89
- package/dist/client/clients/profile/schema.d.ts.map +1 -1
- package/dist/client/clients/upload/index.d.ts +23 -0
- package/dist/client/clients/upload/index.d.ts.map +1 -1
- package/dist/client/clients/upload/index.js +26 -36
- package/dist/client/clients/upload/index.js.map +1 -1
- package/dist/client/clients/upload/schema.d.ts +321 -0
- package/dist/client/clients/upload/schema.d.ts.map +1 -1
- package/dist/client/clients/upload/shared.d.ts +47 -0
- package/dist/client/clients/upload/shared.d.ts.map +1 -0
- package/dist/client/clients/upload/shared.js +72 -0
- package/dist/client/clients/upload/shared.js.map +1 -0
- package/dist/client/clients/upload/support.d.ts +239 -0
- package/dist/client/clients/upload/support.d.ts.map +1 -0
- package/dist/client/clients/upload/support.js +73 -0
- package/dist/client/clients/upload/support.js.map +1 -0
- package/dist/client/utils/client-utils.d.ts +9 -0
- package/dist/client/utils/client-utils.d.ts.map +1 -1
- package/dist/client/utils/client-utils.js +43 -0
- package/dist/client/utils/client-utils.js.map +1 -1
- package/package.json +1 -1
- package/src/client/clients/messaging/index.ts +20 -1
- package/src/client/clients/messaging/open-api-definition.json +355 -0
- package/src/client/clients/messaging/schema.ts +154 -0
- package/src/client/clients/messaging/support.ts +27 -0
- package/src/client/clients/profile/index.ts +33 -35
- package/src/client/clients/profile/open-api-definition.json +3 -163
- package/src/client/clients/profile/schema.ts +1 -89
- package/src/client/clients/upload/index.ts +56 -37
- package/src/client/clients/upload/open-api-definition.json +621 -41
- package/src/client/clients/upload/schema.ts +321 -0
- package/src/client/clients/upload/shared.ts +122 -0
- package/src/client/clients/upload/support.ts +127 -0
- package/src/client/utils/client-utils.ts +59 -0
|
@@ -221,6 +221,236 @@
|
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
223
|
},
|
|
224
|
+
"/api/v1/support/files/": {
|
|
225
|
+
"post": {
|
|
226
|
+
"tags": [
|
|
227
|
+
"SupportFiles"
|
|
228
|
+
],
|
|
229
|
+
"requestBody": {
|
|
230
|
+
"content": {
|
|
231
|
+
"multipart/form-data": {
|
|
232
|
+
"schema": {
|
|
233
|
+
"anyOf": [
|
|
234
|
+
{},
|
|
235
|
+
{}
|
|
236
|
+
]
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
"responses": {
|
|
242
|
+
"201": {
|
|
243
|
+
"description": "Default Response",
|
|
244
|
+
"content": {
|
|
245
|
+
"application/json": {
|
|
246
|
+
"schema": {
|
|
247
|
+
"type": "object",
|
|
248
|
+
"required": [
|
|
249
|
+
"data"
|
|
250
|
+
],
|
|
251
|
+
"properties": {
|
|
252
|
+
"data": {
|
|
253
|
+
"type": "object",
|
|
254
|
+
"required": [
|
|
255
|
+
"id"
|
|
256
|
+
],
|
|
257
|
+
"properties": {
|
|
258
|
+
"id": {
|
|
259
|
+
"type": "string"
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
"4XX": {
|
|
269
|
+
"description": "Default Response",
|
|
270
|
+
"content": {
|
|
271
|
+
"application/json": {
|
|
272
|
+
"schema": {
|
|
273
|
+
"type": "object",
|
|
274
|
+
"required": [
|
|
275
|
+
"code",
|
|
276
|
+
"detail",
|
|
277
|
+
"requestId",
|
|
278
|
+
"name"
|
|
279
|
+
],
|
|
280
|
+
"properties": {
|
|
281
|
+
"code": {
|
|
282
|
+
"type": "string"
|
|
283
|
+
},
|
|
284
|
+
"detail": {
|
|
285
|
+
"type": "string"
|
|
286
|
+
},
|
|
287
|
+
"requestId": {
|
|
288
|
+
"type": "string"
|
|
289
|
+
},
|
|
290
|
+
"name": {
|
|
291
|
+
"type": "string"
|
|
292
|
+
},
|
|
293
|
+
"validation": {},
|
|
294
|
+
"validationContext": {
|
|
295
|
+
"type": "string"
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
"5XX": {
|
|
303
|
+
"description": "Default Response",
|
|
304
|
+
"content": {
|
|
305
|
+
"application/json": {
|
|
306
|
+
"schema": {
|
|
307
|
+
"type": "object",
|
|
308
|
+
"required": [
|
|
309
|
+
"code",
|
|
310
|
+
"detail",
|
|
311
|
+
"requestId",
|
|
312
|
+
"name"
|
|
313
|
+
],
|
|
314
|
+
"properties": {
|
|
315
|
+
"code": {
|
|
316
|
+
"type": "string"
|
|
317
|
+
},
|
|
318
|
+
"detail": {
|
|
319
|
+
"type": "string"
|
|
320
|
+
},
|
|
321
|
+
"requestId": {
|
|
322
|
+
"type": "string"
|
|
323
|
+
},
|
|
324
|
+
"name": {
|
|
325
|
+
"type": "string"
|
|
326
|
+
},
|
|
327
|
+
"validation": {},
|
|
328
|
+
"validationContext": {
|
|
329
|
+
"type": "string"
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"/api/v1/support/files/download-batch": {
|
|
340
|
+
"post": {
|
|
341
|
+
"tags": [
|
|
342
|
+
"SupportFiles"
|
|
343
|
+
],
|
|
344
|
+
"requestBody": {
|
|
345
|
+
"content": {
|
|
346
|
+
"application/json": {
|
|
347
|
+
"schema": {
|
|
348
|
+
"type": "object",
|
|
349
|
+
"required": [
|
|
350
|
+
"fileIds",
|
|
351
|
+
"userId"
|
|
352
|
+
],
|
|
353
|
+
"properties": {
|
|
354
|
+
"fileIds": {
|
|
355
|
+
"type": "array",
|
|
356
|
+
"items": {
|
|
357
|
+
"type": "string"
|
|
358
|
+
},
|
|
359
|
+
"minItems": 1,
|
|
360
|
+
"maxItems": 20
|
|
361
|
+
},
|
|
362
|
+
"userId": {
|
|
363
|
+
"type": "string"
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
"required": true
|
|
370
|
+
},
|
|
371
|
+
"responses": {
|
|
372
|
+
"200": {
|
|
373
|
+
"description": "Multipart mixed response containing requested files",
|
|
374
|
+
"content": {
|
|
375
|
+
"multipart/mixed": {
|
|
376
|
+
"schema": {
|
|
377
|
+
"type": "string",
|
|
378
|
+
"format": "binary"
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
"4XX": {
|
|
384
|
+
"description": "Default Response",
|
|
385
|
+
"content": {
|
|
386
|
+
"application/json": {
|
|
387
|
+
"schema": {
|
|
388
|
+
"type": "object",
|
|
389
|
+
"required": [
|
|
390
|
+
"code",
|
|
391
|
+
"detail",
|
|
392
|
+
"requestId",
|
|
393
|
+
"name"
|
|
394
|
+
],
|
|
395
|
+
"properties": {
|
|
396
|
+
"code": {
|
|
397
|
+
"type": "string"
|
|
398
|
+
},
|
|
399
|
+
"detail": {
|
|
400
|
+
"type": "string"
|
|
401
|
+
},
|
|
402
|
+
"requestId": {
|
|
403
|
+
"type": "string"
|
|
404
|
+
},
|
|
405
|
+
"name": {
|
|
406
|
+
"type": "string"
|
|
407
|
+
},
|
|
408
|
+
"validation": {},
|
|
409
|
+
"validationContext": {
|
|
410
|
+
"type": "string"
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
"5XX": {
|
|
418
|
+
"description": "Default Response",
|
|
419
|
+
"content": {
|
|
420
|
+
"application/json": {
|
|
421
|
+
"schema": {
|
|
422
|
+
"type": "object",
|
|
423
|
+
"required": [
|
|
424
|
+
"code",
|
|
425
|
+
"detail",
|
|
426
|
+
"requestId",
|
|
427
|
+
"name"
|
|
428
|
+
],
|
|
429
|
+
"properties": {
|
|
430
|
+
"code": {
|
|
431
|
+
"type": "string"
|
|
432
|
+
},
|
|
433
|
+
"detail": {
|
|
434
|
+
"type": "string"
|
|
435
|
+
},
|
|
436
|
+
"requestId": {
|
|
437
|
+
"type": "string"
|
|
438
|
+
},
|
|
439
|
+
"name": {
|
|
440
|
+
"type": "string"
|
|
441
|
+
},
|
|
442
|
+
"validation": {},
|
|
443
|
+
"validationContext": {
|
|
444
|
+
"type": "string"
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
},
|
|
224
454
|
"/api/v1/metadata/": {
|
|
225
455
|
"get": {
|
|
226
456
|
"tags": [
|
|
@@ -665,47 +895,217 @@
|
|
|
665
895
|
}
|
|
666
896
|
}
|
|
667
897
|
},
|
|
668
|
-
"/api/v1/
|
|
669
|
-
"
|
|
898
|
+
"/api/v1/support/metadata/": {
|
|
899
|
+
"get": {
|
|
670
900
|
"tags": [
|
|
671
|
-
"
|
|
901
|
+
"SupportMetadata"
|
|
672
902
|
],
|
|
673
|
-
"
|
|
674
|
-
|
|
675
|
-
"
|
|
676
|
-
"
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
"
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
"
|
|
704
|
-
|
|
705
|
-
"
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
903
|
+
"parameters": [
|
|
904
|
+
{
|
|
905
|
+
"schema": {
|
|
906
|
+
"type": "string"
|
|
907
|
+
},
|
|
908
|
+
"in": "query",
|
|
909
|
+
"name": "userId",
|
|
910
|
+
"required": false
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"schema": {
|
|
914
|
+
"type": "string"
|
|
915
|
+
},
|
|
916
|
+
"in": "query",
|
|
917
|
+
"name": "organizationId",
|
|
918
|
+
"required": false
|
|
919
|
+
}
|
|
920
|
+
],
|
|
921
|
+
"responses": {
|
|
922
|
+
"200": {
|
|
923
|
+
"description": "Default Response",
|
|
924
|
+
"content": {
|
|
925
|
+
"application/json": {
|
|
926
|
+
"schema": {
|
|
927
|
+
"type": "object",
|
|
928
|
+
"required": [
|
|
929
|
+
"data"
|
|
930
|
+
],
|
|
931
|
+
"properties": {
|
|
932
|
+
"data": {
|
|
933
|
+
"type": "array",
|
|
934
|
+
"items": {
|
|
935
|
+
"type": "object",
|
|
936
|
+
"required": [
|
|
937
|
+
"fileName",
|
|
938
|
+
"key",
|
|
939
|
+
"ownerId",
|
|
940
|
+
"fileSize",
|
|
941
|
+
"mimeType",
|
|
942
|
+
"createdAt",
|
|
943
|
+
"lastScan",
|
|
944
|
+
"infected"
|
|
945
|
+
],
|
|
946
|
+
"properties": {
|
|
947
|
+
"fileName": {
|
|
948
|
+
"type": "string"
|
|
949
|
+
},
|
|
950
|
+
"id": {
|
|
951
|
+
"type": "string"
|
|
952
|
+
},
|
|
953
|
+
"key": {
|
|
954
|
+
"type": "string"
|
|
955
|
+
},
|
|
956
|
+
"ownerId": {
|
|
957
|
+
"type": "string"
|
|
958
|
+
},
|
|
959
|
+
"fileSize": {
|
|
960
|
+
"type": "number"
|
|
961
|
+
},
|
|
962
|
+
"mimeType": {
|
|
963
|
+
"type": "string"
|
|
964
|
+
},
|
|
965
|
+
"createdAt": {
|
|
966
|
+
"type": "string"
|
|
967
|
+
},
|
|
968
|
+
"lastScan": {
|
|
969
|
+
"type": "string"
|
|
970
|
+
},
|
|
971
|
+
"deleted": {
|
|
972
|
+
"type": "boolean",
|
|
973
|
+
"default": false
|
|
974
|
+
},
|
|
975
|
+
"infected": {
|
|
976
|
+
"type": "boolean"
|
|
977
|
+
},
|
|
978
|
+
"infectionDescription": {
|
|
979
|
+
"type": "string"
|
|
980
|
+
},
|
|
981
|
+
"antivirusDbVersion": {
|
|
982
|
+
"type": "string"
|
|
983
|
+
},
|
|
984
|
+
"expiresAt": {
|
|
985
|
+
"type": "string"
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
},
|
|
995
|
+
"4XX": {
|
|
996
|
+
"description": "Default Response",
|
|
997
|
+
"content": {
|
|
998
|
+
"application/json": {
|
|
999
|
+
"schema": {
|
|
1000
|
+
"type": "object",
|
|
1001
|
+
"required": [
|
|
1002
|
+
"code",
|
|
1003
|
+
"detail",
|
|
1004
|
+
"requestId",
|
|
1005
|
+
"name"
|
|
1006
|
+
],
|
|
1007
|
+
"properties": {
|
|
1008
|
+
"code": {
|
|
1009
|
+
"type": "string"
|
|
1010
|
+
},
|
|
1011
|
+
"detail": {
|
|
1012
|
+
"type": "string"
|
|
1013
|
+
},
|
|
1014
|
+
"requestId": {
|
|
1015
|
+
"type": "string"
|
|
1016
|
+
},
|
|
1017
|
+
"name": {
|
|
1018
|
+
"type": "string"
|
|
1019
|
+
},
|
|
1020
|
+
"validation": {},
|
|
1021
|
+
"validationContext": {
|
|
1022
|
+
"type": "string"
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
1028
|
+
},
|
|
1029
|
+
"5XX": {
|
|
1030
|
+
"description": "Default Response",
|
|
1031
|
+
"content": {
|
|
1032
|
+
"application/json": {
|
|
1033
|
+
"schema": {
|
|
1034
|
+
"type": "object",
|
|
1035
|
+
"required": [
|
|
1036
|
+
"code",
|
|
1037
|
+
"detail",
|
|
1038
|
+
"requestId",
|
|
1039
|
+
"name"
|
|
1040
|
+
],
|
|
1041
|
+
"properties": {
|
|
1042
|
+
"code": {
|
|
1043
|
+
"type": "string"
|
|
1044
|
+
},
|
|
1045
|
+
"detail": {
|
|
1046
|
+
"type": "string"
|
|
1047
|
+
},
|
|
1048
|
+
"requestId": {
|
|
1049
|
+
"type": "string"
|
|
1050
|
+
},
|
|
1051
|
+
"name": {
|
|
1052
|
+
"type": "string"
|
|
1053
|
+
},
|
|
1054
|
+
"validation": {},
|
|
1055
|
+
"validationContext": {
|
|
1056
|
+
"type": "string"
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
}
|
|
1065
|
+
},
|
|
1066
|
+
"/api/v1/permissions/": {
|
|
1067
|
+
"post": {
|
|
1068
|
+
"tags": [
|
|
1069
|
+
"Permissions"
|
|
1070
|
+
],
|
|
1071
|
+
"requestBody": {
|
|
1072
|
+
"content": {
|
|
1073
|
+
"application/json": {
|
|
1074
|
+
"schema": {
|
|
1075
|
+
"anyOf": [
|
|
1076
|
+
{
|
|
1077
|
+
"type": "object",
|
|
1078
|
+
"required": [
|
|
1079
|
+
"fileId",
|
|
1080
|
+
"userId"
|
|
1081
|
+
],
|
|
1082
|
+
"properties": {
|
|
1083
|
+
"fileId": {
|
|
1084
|
+
"type": "string"
|
|
1085
|
+
},
|
|
1086
|
+
"userId": {
|
|
1087
|
+
"type": "string",
|
|
1088
|
+
"maxLength": 12
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
"type": "object",
|
|
1094
|
+
"required": [
|
|
1095
|
+
"fileId",
|
|
1096
|
+
"userIds"
|
|
1097
|
+
],
|
|
1098
|
+
"properties": {
|
|
1099
|
+
"fileId": {
|
|
1100
|
+
"type": "string"
|
|
1101
|
+
},
|
|
1102
|
+
"userIds": {
|
|
1103
|
+
"type": "array",
|
|
1104
|
+
"items": {
|
|
1105
|
+
"type": "string",
|
|
1106
|
+
"maxLength": 12
|
|
1107
|
+
},
|
|
1108
|
+
"minItems": 1
|
|
709
1109
|
}
|
|
710
1110
|
}
|
|
711
1111
|
}
|
|
@@ -738,7 +1138,8 @@
|
|
|
738
1138
|
"type": "string"
|
|
739
1139
|
},
|
|
740
1140
|
"userId": {
|
|
741
|
-
"type": "string"
|
|
1141
|
+
"type": "string",
|
|
1142
|
+
"maxLength": 12
|
|
742
1143
|
}
|
|
743
1144
|
}
|
|
744
1145
|
},
|
|
@@ -755,7 +1156,8 @@
|
|
|
755
1156
|
"userIds": {
|
|
756
1157
|
"type": "array",
|
|
757
1158
|
"items": {
|
|
758
|
-
"type": "string"
|
|
1159
|
+
"type": "string",
|
|
1160
|
+
"maxLength": 12
|
|
759
1161
|
},
|
|
760
1162
|
"minItems": 1
|
|
761
1163
|
}
|
|
@@ -1053,6 +1455,184 @@
|
|
|
1053
1455
|
}
|
|
1054
1456
|
}
|
|
1055
1457
|
}
|
|
1458
|
+
},
|
|
1459
|
+
"/api/v1/support/permissions/": {
|
|
1460
|
+
"post": {
|
|
1461
|
+
"tags": [
|
|
1462
|
+
"SupportPermissions"
|
|
1463
|
+
],
|
|
1464
|
+
"requestBody": {
|
|
1465
|
+
"content": {
|
|
1466
|
+
"application/json": {
|
|
1467
|
+
"schema": {
|
|
1468
|
+
"anyOf": [
|
|
1469
|
+
{
|
|
1470
|
+
"type": "object",
|
|
1471
|
+
"required": [
|
|
1472
|
+
"fileId",
|
|
1473
|
+
"userId"
|
|
1474
|
+
],
|
|
1475
|
+
"properties": {
|
|
1476
|
+
"fileId": {
|
|
1477
|
+
"type": "string"
|
|
1478
|
+
},
|
|
1479
|
+
"userId": {
|
|
1480
|
+
"type": "string",
|
|
1481
|
+
"maxLength": 12
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
},
|
|
1485
|
+
{
|
|
1486
|
+
"type": "object",
|
|
1487
|
+
"required": [
|
|
1488
|
+
"fileId",
|
|
1489
|
+
"userIds"
|
|
1490
|
+
],
|
|
1491
|
+
"properties": {
|
|
1492
|
+
"fileId": {
|
|
1493
|
+
"type": "string"
|
|
1494
|
+
},
|
|
1495
|
+
"userIds": {
|
|
1496
|
+
"type": "array",
|
|
1497
|
+
"items": {
|
|
1498
|
+
"type": "string",
|
|
1499
|
+
"maxLength": 12
|
|
1500
|
+
},
|
|
1501
|
+
"minItems": 1
|
|
1502
|
+
}
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
]
|
|
1506
|
+
}
|
|
1507
|
+
}
|
|
1508
|
+
}
|
|
1509
|
+
},
|
|
1510
|
+
"responses": {
|
|
1511
|
+
"201": {
|
|
1512
|
+
"description": "Default Response",
|
|
1513
|
+
"content": {
|
|
1514
|
+
"application/json": {
|
|
1515
|
+
"schema": {
|
|
1516
|
+
"type": "object",
|
|
1517
|
+
"required": [
|
|
1518
|
+
"data"
|
|
1519
|
+
],
|
|
1520
|
+
"properties": {
|
|
1521
|
+
"data": {
|
|
1522
|
+
"anyOf": [
|
|
1523
|
+
{
|
|
1524
|
+
"type": "object",
|
|
1525
|
+
"required": [
|
|
1526
|
+
"fileId",
|
|
1527
|
+
"userId"
|
|
1528
|
+
],
|
|
1529
|
+
"properties": {
|
|
1530
|
+
"fileId": {
|
|
1531
|
+
"type": "string"
|
|
1532
|
+
},
|
|
1533
|
+
"userId": {
|
|
1534
|
+
"type": "string",
|
|
1535
|
+
"maxLength": 12
|
|
1536
|
+
}
|
|
1537
|
+
}
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
"type": "object",
|
|
1541
|
+
"required": [
|
|
1542
|
+
"fileId",
|
|
1543
|
+
"userIds"
|
|
1544
|
+
],
|
|
1545
|
+
"properties": {
|
|
1546
|
+
"fileId": {
|
|
1547
|
+
"type": "string"
|
|
1548
|
+
},
|
|
1549
|
+
"userIds": {
|
|
1550
|
+
"type": "array",
|
|
1551
|
+
"items": {
|
|
1552
|
+
"type": "string",
|
|
1553
|
+
"maxLength": 12
|
|
1554
|
+
},
|
|
1555
|
+
"minItems": 1
|
|
1556
|
+
}
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1559
|
+
]
|
|
1560
|
+
}
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1563
|
+
}
|
|
1564
|
+
}
|
|
1565
|
+
},
|
|
1566
|
+
"4XX": {
|
|
1567
|
+
"description": "Default Response",
|
|
1568
|
+
"content": {
|
|
1569
|
+
"application/json": {
|
|
1570
|
+
"schema": {
|
|
1571
|
+
"type": "object",
|
|
1572
|
+
"required": [
|
|
1573
|
+
"code",
|
|
1574
|
+
"detail",
|
|
1575
|
+
"requestId",
|
|
1576
|
+
"name"
|
|
1577
|
+
],
|
|
1578
|
+
"properties": {
|
|
1579
|
+
"code": {
|
|
1580
|
+
"type": "string"
|
|
1581
|
+
},
|
|
1582
|
+
"detail": {
|
|
1583
|
+
"type": "string"
|
|
1584
|
+
},
|
|
1585
|
+
"requestId": {
|
|
1586
|
+
"type": "string"
|
|
1587
|
+
},
|
|
1588
|
+
"name": {
|
|
1589
|
+
"type": "string"
|
|
1590
|
+
},
|
|
1591
|
+
"validation": {},
|
|
1592
|
+
"validationContext": {
|
|
1593
|
+
"type": "string"
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
|
+
}
|
|
1597
|
+
}
|
|
1598
|
+
}
|
|
1599
|
+
},
|
|
1600
|
+
"5XX": {
|
|
1601
|
+
"description": "Default Response",
|
|
1602
|
+
"content": {
|
|
1603
|
+
"application/json": {
|
|
1604
|
+
"schema": {
|
|
1605
|
+
"type": "object",
|
|
1606
|
+
"required": [
|
|
1607
|
+
"code",
|
|
1608
|
+
"detail",
|
|
1609
|
+
"requestId",
|
|
1610
|
+
"name"
|
|
1611
|
+
],
|
|
1612
|
+
"properties": {
|
|
1613
|
+
"code": {
|
|
1614
|
+
"type": "string"
|
|
1615
|
+
},
|
|
1616
|
+
"detail": {
|
|
1617
|
+
"type": "string"
|
|
1618
|
+
},
|
|
1619
|
+
"requestId": {
|
|
1620
|
+
"type": "string"
|
|
1621
|
+
},
|
|
1622
|
+
"name": {
|
|
1623
|
+
"type": "string"
|
|
1624
|
+
},
|
|
1625
|
+
"validation": {},
|
|
1626
|
+
"validationContext": {
|
|
1627
|
+
"type": "string"
|
|
1628
|
+
}
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
}
|
|
1632
|
+
}
|
|
1633
|
+
}
|
|
1634
|
+
}
|
|
1635
|
+
}
|
|
1056
1636
|
}
|
|
1057
1637
|
},
|
|
1058
1638
|
"tags": [
|