diff options
Diffstat (limited to 'support/doc/api/openapi.yaml')
-rw-r--r-- | support/doc/api/openapi.yaml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index 6dd51ec7c..4f9bca729 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -972,6 +972,14 @@ paths: | |||
972 | application/json: | 972 | application/json: |
973 | schema: | 973 | schema: |
974 | $ref: '#/components/schemas/Avatar' | 974 | $ref: '#/components/schemas/Avatar' |
975 | '413': | ||
976 | description: image file too large | ||
977 | headers: | ||
978 | X-File-Maximum-Size: | ||
979 | schema: | ||
980 | type: string | ||
981 | format: Nginx size | ||
982 | description: Maximum file size for the avatar | ||
975 | requestBody: | 983 | requestBody: |
976 | content: | 984 | content: |
977 | multipart/form-data: | 985 | multipart/form-data: |
@@ -1308,6 +1316,14 @@ paths: | |||
1308 | description: user video quota is exceeded with this video | 1316 | description: user video quota is exceeded with this video |
1309 | '408': | 1317 | '408': |
1310 | description: upload has timed out | 1318 | description: upload has timed out |
1319 | '413': | ||
1320 | description: video file too large | ||
1321 | headers: | ||
1322 | X-File-Maximum-Size: | ||
1323 | schema: | ||
1324 | type: string | ||
1325 | format: Nginx size | ||
1326 | description: Maximum file size for the video | ||
1311 | '422': | 1327 | '422': |
1312 | description: invalid input file | 1328 | description: invalid input file |
1313 | requestBody: | 1329 | requestBody: |