From 11ef036174eb1d026c609c478343637a1980d39c Mon Sep 17 00:00:00 2001 From: Veloman Yunkan Date: Fri, 9 Dec 2022 15:57:07 +0400 Subject: [PATCH] Documented the /random endpoint --- docs/kiwix-serve.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/kiwix-serve.rst b/docs/kiwix-serve.rst index 99ad84b..66ec149 100644 --- a/docs/kiwix-serve.rst +++ b/docs/kiwix-serve.rst @@ -260,7 +260,16 @@ equal to ``/``, in which case that entry is returned). ``/random`` ----------- -Blablabla +**Usage:** + + ``/random?content=ZIMNAME`` + +Generates a HTTP redirect to a randomly selected article/page from the +specified ZIM file. + +**Parameters:** + + ``content``: name of the ZIM file. ``/raw``