Add custom file title

Remove redundant API_SPEC_TEXT

Update paste.html formatting style

Fix bugs

Fix typo

Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
This commit is contained in:
Joe Ma 2022-10-15 13:56:31 +08:00
parent 3562fe2d24
commit 1bf8f08ee6
No known key found for this signature in database
GPG key ID: 7A0ECF5F5EDC587F
5 changed files with 80 additions and 105 deletions

View file

@ -119,6 +119,7 @@ Add `?qr=1` to enable QR code generation for paste link.
|`read-limit`|The maximum access count|
|`qrcode`|Toggle QR code generation|
|`paste-type`|Set paste type|
|`title`|File's title|
#### For raw request,
@ -129,6 +130,7 @@ Add `?qr=1` to enable QR code generation for paste link.
|`x-pass`|Paste's password|
|`x-read-limit`|The maximum access count|
|`x-paste-type`|Set paste type|
|`x-qr`|Toggle QR code generation|
The request body contains the upload content.
@ -139,7 +141,7 @@ The request body contains the upload content.
|`paste`|Normal paste content|
|`link`|URL link to be redirected|
### GET /\<uuid\>/\<option\> (Not implemented)
### GET /\<uuid\>/\<option\>
Fetch the paste (code) in rendered HTML with syntax highlighting
Add `?qr=1` to enable QR code generation for paste link.