mirror of
https://github.com/rikkaneko/paste.git
synced 2025-08-07 14:35:34 +01:00
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:
parent
3562fe2d24
commit
1bf8f08ee6
5 changed files with 80 additions and 105 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue