diff --git a/swh/web/ui/templates/includes/apidoc-header.html b/swh/web/ui/templates/includes/apidoc-header.html --- a/swh/web/ui/templates/includes/apidoc-header.html +++ b/swh/web/ui/templates/includes/apidoc-header.html @@ -25,7 +25,7 @@
curl -i -H 'Accept: application/yaml' https://archive.softwareheritage.org/api/1/stat/counters/
Some API endpoints can be used with with local parameters. The url then needs to be adapted accordingly.
+Some API endpoints can be used with local parameters. The url then needs to be adapted accordingly.
For example:
https://archive.softwareheritage.org/api/1/<endpoint-name>?<field0>=<value0>&<field1>=<value1>
where:
diff --git a/swh/web/ui/templates/includes/apidoc-header.md b/swh/web/ui/templates/includes/apidoc-header.md --- a/swh/web/ui/templates/includes/apidoc-header.md +++ b/swh/web/ui/templates/includes/apidoc-header.md @@ -62,7 +62,7 @@ ### Parameters -Some API endpoints can be used with with local parameters. The url +Some API endpoints can be used with local parameters. The url then needs to be adapted accordingly. For example: