aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/api
Commit message (Collapse)AuthorAgeFilesLines
* Bumped to version v3.3.0v3.3.0Chocobozzz2021-07-201-1/+1
|
* Bumped to version v3.3.0-rc.1v3.3.0-rc.1Chocobozzz2021-07-051-1/+1
|
* Support short uuid for GET video/playlistChocobozzz2021-06-291-1/+16
|
* Add downloadEnabled boolean to PUT videofrankstrater2021-06-251-1/+4
|
* Add ability to search playlistsChocobozzz2021-06-251-0/+41
|
* add video upload types, add doc middleware to more routesRigel Kent2021-06-061-8/+35
|
* add invalid_token error to openapi specRigel Kent2021-06-041-0/+6
|
* refactor error code values for URI compatibilityRigel Kent2021-06-021-7/+31
|
* refactor deprecated body-parser usageRigel Kent2021-06-021-0/+2
|
* refactor API errors to standard error formatRigel Kent2021-06-021-14/+21
|
* Bumped to version v3.2.1Chocobozzz2021-06-011-1/+1
|
* Fix openapi doc for resumable uploadChocobozzz2021-05-271-2/+2
|
* Instance homepage support (#4007)Chocobozzz2021-05-271-0/+51
| | | | | | | | | | | | | | | | | * Prepare homepage parsers * Add ability to update instance hompage * Add ability to set homepage as landing page * Add homepage preview in admin * Dynamically update left menu for homepage * Inject home content in homepage * Add videos list and channel miniature custom markup * Remove unused elements in markup service
* Merge branch 'release/3.2.0' into developChocobozzz2021-05-271-1/+1
|\
| * Bumped to version v3.2.0v3.2.0Chocobozzz2021-05-271-1/+1
| |
* | Fix broken openapi schemaChocobozzz2021-05-271-5/+5
| |
* | add operationId to common operationsRigel Kent2021-05-261-14/+34
| |
* | fix typo in operationId in openapi specRigel Kent2021-05-241-7/+111
| |
* | add code examples for login in openapi specRigel Kent2021-05-141-6/+31
| |
* | paginate response for abuse list in openapi specRigel Kent2021-05-131-3/+9
| | | | | | | | closes #4094
* | modify response for adding abuse in openapi specRigel Kent2021-05-131-1/+11
| | | | | | | | closes #4093
* | modify return code for adding/removing blocked servers in openapi specRigel Kent2021-05-131-2/+2
| | | | | | | | closes #4095
* | add accept/reject routes for server followers in openapi specRigel Kent2021-05-131-40/+126
| |
* | fix route prefix for blocklist routes in openapi specRigel Kent2021-05-131-4/+8
| | | | | | | | closes #4091
* | fix route prefix for video redundancy routes in openapi specRigel Kent2021-05-131-3/+3
| | | | | | | | closes #4090
* | more faithful error description in openapi specRigel Kent2021-05-131-8/+26
| |
* | add login/logout routes in openapi specRigel Kent2021-05-121-19/+213
| |
* | add cors section in openapi specRigel Kent2021-05-121-6/+21
| |
* | fix video playlistId/videoId for video playlists in openapi specRigel Kent2021-05-121-21/+42
| | | | | | | | closes #4081
* | add response content for createVideoChannel endpoint in openapi specRigel Kent2021-05-121-11/+27
| | | | | | | | closes #4077
* | add rating field for video like endpoint in openapi specRigel Kent2021-05-111-0/+11
| | | | | | | | closes #4080
* | add missing user update me fields in openapi specRigel Kent2021-05-111-23/+51
| |
* | add missing video comment fields in openapi specRigel Kent2021-05-111-9/+25
| | | | | | | | closes #4079
* | factorized upload and import post fields in openapi specRigel Kent2021-05-111-70/+38
|/ | | | closes #4075
* Bumped to version v3.2.0-rc.1v3.2.0-rc.1Chocobozzz2021-05-111-1/+1
|
* added descriptions for video files/import fields in openapi specRigel Kent2021-05-111-13/+39
|
* explicit error formatting variant in openapi specRigel Kent2021-05-111-3/+16
|
* provide more schema examples in openapi specRigel Kent2021-05-111-172/+205
|
* refactor subscriptions response from list to totalDataList in openapi specRigel Kent2021-05-101-20/+20
| | | | closes #4067
* refactor abuses response list to totalDataList in openapi specRigel Kent2021-05-101-7/+21
| | | | closes #4066
* specify operationId in openapi spec and factorize videoconstant idsRigel Kent2021-05-101-52/+92
|
* specify getUserId variant in openapi specRigel Kent2021-05-101-45/+77
| | | | closes #4062
* secify username patterns for user create/register in openapi specRigel Kent2021-05-101-0/+2
| | | | closes #4061
* fix imports list response in openapi specRigel Kent2021-05-101-1/+11
| | | | closes #4063
* fix response in openapi spec for quota and video ratingsRigel Kent2021-05-101-6/+20
| | | | | closes #4064 closes #4065
* Resumable video uploads (#3933)kontrollanten2021-05-101-99/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP: resumable video uploads relates to #324 * fix review comments * video upload: error handling * fix audio upload * fixes after self review * Update server/controllers/api/videos/index.ts Co-authored-by: Rigel Kent <par@rigelk.eu> * Update server/middlewares/validators/videos/videos.ts Co-authored-by: Rigel Kent <par@rigelk.eu> * Update server/controllers/api/videos/index.ts Co-authored-by: Rigel Kent <par@rigelk.eu> * update after code review * refactor upload route - restore multipart upload route - move resumable to dedicated upload-resumable route - move checks to middleware - do not leak internal fs structure in response * fix yarn.lock upon rebase * factorize addVideo for reuse in both endpoints * add resumable upload API to openapi spec * add initial test and test helper for resumable upload * typings for videoAddResumable middleware * avoid including aws and google packages via node-uploadx, by only including uploadx/core * rename ex-isAudioBg to more explicit name mentioning it is a preview file for audio * add video-upload-tmp-folder-cleaner job * stronger typing of video upload middleware * reduce dependency to @uploadx/core * add audio upload test * refactor resumable uploads cleanup from job to scheduler * refactor resumable uploads scheduler to compare to last execution time * make resumable upload validator to always cleanup on failure * move legacy upload request building outside of uploadVideo test helper * filter upload-resumable middlewares down to POST, PUT, DELETE also begin to type metadata * merge add duration functions * stronger typings and documentation for uploadx behaviour, move init validator up * refactor(client/video-edit): options > uploadxOptions * refactor(client/video-edit): remove obsolete else * scheduler/remove-dangling-resum: rename tag * refactor(server/video): add UploadVideoFiles type * refactor(mw/validators): restructure eslint disable * refactor(mw/validators/videos): rename import * refactor(client/vid-upload): rename html elem id * refactor(sched/remove-dangl): move fn to method * refactor(mw/async): add method typing * refactor(mw/vali/video): double quote > single * refactor(server/upload-resum): express use > all * proper http methud enum server/middlewares/async.ts * properly type http methods * factorize common video upload validation steps * add check for maximum partially uploaded file size * fix audioBg use * fix extname(filename) in addVideo * document parameters for uploadx's resumable protocol * clear META files in scheduler * last audio refactor before cramming preview in the initial POST form data * refactor as mulitpart/form-data initial post request this allows preview/thumbnail uploads alongside the initial request, and cleans up the upload form * Add more tests for resumable uploads * Refactor remove dangling resumable uploads * Prepare changelog * Add more resumable upload tests * Remove user quota check for resumable uploads * Fix upload error handler * Update nginx template for upload-resumable * Cleanup comment * Remove unused express methods * Prefer to use got instead of raw http * Don't retry on error 500 Co-authored-by: Rigel Kent <par@rigelk.eu> Co-authored-by: Rigel Kent <sendmemail@rigelk.eu> Co-authored-by: Chocobozzz <me@florianbigard.com>
* relax guarantee on openapi rate limit doc accuracyRigel Kent2021-05-071-2/+4
|
* add subscriptions feed api to openapi specRigel Kent2021-05-071-14/+89
|
* add rate limit table to openapi specRigel Kent2021-05-071-16/+35
|
* add examples and descriptions to some video fields in openapi specRigel Kent2021-05-041-0/+19
|