mirror of
https://github.com/Dangoware/confetti-box.git
synced 2025-04-19 07:12:58 -05:00
Minor tweaks to the API docs
This commit is contained in:
parent
24253020f4
commit
a2148d4227
1 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@ pub fn api_info(settings: &State<Settings>) -> Markup {
|
|||
|
||||
hr;
|
||||
h2 { code {"/f/<mmid>"} }
|
||||
pre { r#"GET mmid=MMID -> Redirect"# }
|
||||
pre { r#"GET mmid=MMID -> Redirect or File"# }
|
||||
p {
|
||||
"By default issues a redirect to the full URL for a file. This
|
||||
behavior can be modified by appending " code{"?noredir"} " to
|
||||
|
@ -100,7 +100,7 @@ pub fn api_info(settings: &State<Settings>) -> Markup {
|
|||
|
||||
hr;
|
||||
h2 { code {"/f/<mmid>/<filename>"} }
|
||||
pre { r#"GET mmid=MMID -> Redirect"# }
|
||||
pre { r#"GET mmid=MMID filename=String -> File"# }
|
||||
p {
|
||||
"Returns the contents of the file corresponding to the
|
||||
requested MMID, but with the corresponding filename so as
|
||||
|
|
Loading…
Reference in a new issue