aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2019-01-09 20:53:43 +0100
committerGravatar Johannes Christ <[email protected]>2019-01-09 20:53:43 +0100
commitb23c262b8fd01310cc3a503d8e531d980d818d30 (patch)
treed13ba1af874d2d5917b77dc9d4d1d71827089c7d
parentUse proper test case name. (diff)
Document format query parameter.
-rw-r--r--api/views.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/api/views.py b/api/views.py
index 6a269618..75209c36 100644
--- a/api/views.py
+++ b/api/views.py
@@ -44,7 +44,9 @@ class RulesView(APIView):
Since some of the the rules require links, this view
gives you the option to return rules in either Markdown
- or HTML format by specifying the `format`.
+ or HTML format by specifying the `link_format` query parameter
+ as either `md` or `html`. Specifying a different value than
+ `md` or `html` will return 400.
## Authentication
Does not require any authentication nor permissions.