Minor tweaks to the API docs

This commit is contained in:
G2-Games 2024-10-28 02:57:33 -05:00
parent 24253020f4
commit a2148d4227

View file

@ -85,7 +85,7 @@ pub fn api_info(settings: &State<Settings>) -> Markup {
hr; hr;
h2 { code {"/f/<mmid>"} } h2 { code {"/f/<mmid>"} }
pre { r#"GET mmid=MMID -> Redirect"# } pre { r#"GET mmid=MMID -> Redirect or File"# }
p { p {
"By default issues a redirect to the full URL for a file. This "By default issues a redirect to the full URL for a file. This
behavior can be modified by appending " code{"?noredir"} " to behavior can be modified by appending " code{"?noredir"} " to
@ -100,7 +100,7 @@ pub fn api_info(settings: &State<Settings>) -> Markup {
hr; hr;
h2 { code {"/f/<mmid>/<filename>"} } h2 { code {"/f/<mmid>/<filename>"} }
pre { r#"GET mmid=MMID -> Redirect"# } pre { r#"GET mmid=MMID filename=String -> File"# }
p { p {
"Returns the contents of the file corresponding to the "Returns the contents of the file corresponding to the
requested MMID, but with the corresponding filename so as requested MMID, but with the corresponding filename so as