Rename large_upload endpoint path

Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
This commit is contained in:
Joe Ma 2025-07-29 20:12:39 +08:00
parent f90633bce3
commit c18f08a4cb
No known key found for this signature in database
GPG key ID: 7A0ECF5F5EDC587F
6 changed files with 17 additions and 13 deletions

View file

@ -172,7 +172,7 @@ Delete paste by uuid. *If the password is set, this request requires additional
Update paste setting. *If the password is set, this request requires additional `x-pass` header*
### POST /v2/large_upload/create
### POST /api/large_upload/create
Generate the presigned URL for upload large paste to the given S3 endpoint `LARGE_ENDPOINT` using HTTP `PUT` request.
@ -189,11 +189,11 @@ Generate the presigned URL for upload large paste to the given S3 endpoint `LARG
The `file-size` and `file-sha256sum` field is required.
### POST /v2/large_upload/complete/\<uuid\>
### POST /api/large_upload/complete/\<uuid\>
Finialize the paste created from `/v2/large_upload/create`.
Finialize the paste created from `/api/large_upload/create`.
### GET /v2/large_upload/\<uuid\>
### GET /api/large_upload/\<uuid\>
Generate the presigned URL for upload large paste to the given S3 endpoint `LARGE_DOWNLOAD_ENDPOINT` using HTTP `GET` request.