aboutsummaryrefslogtreecommitdiff
path: root/app/flatpages/help/api.md
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2020-06-03 18:22:23 +0100
committerrubenwardy <rw@rubenwardy.com>2020-06-03 18:22:23 +0100
commit749e7c6cd04216abf727985805064510e85999f3 (patch)
tree05604820cb25b224a17a881e51070335f7eace32 /app/flatpages/help/api.md
parent4d2908743114f72210ef66d1013ba8fb388a7239 (diff)
downloadcheatdb-749e7c6cd04216abf727985805064510e85999f3.tar.xz
Add Package Config help page
Diffstat (limited to 'app/flatpages/help/api.md')
-rw-r--r--app/flatpages/help/api.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/flatpages/help/api.md b/app/flatpages/help/api.md
index c8f0f59..b032b5d 100644
--- a/app/flatpages/help/api.md
+++ b/app/flatpages/help/api.md
@@ -9,7 +9,7 @@ Authentication is done using Bearer tokens:
You can use the `/api/whoami` to check authentication.
-Tokens can be attained by visiting "API Tokens" on your profile page.
+Tokens can be attained by visiting [Profile > "API Tokens"](/user/tokens/).
## Endpoints
@@ -33,16 +33,15 @@ Tokens can be attained by visiting "API Tokens" on your profile page.
* Requires authentication.
* `title`: human-readable name of the release.
* `method`: Release-creation method, only `git` is supported.
- * `min_protocol`: (Optional) minimum Minetest protocol version. See [Minetest](#minetest).
- * `min_protocol`: (Optional) maximum Minetest protocol version. See [Minetest](#minetest).
* If `git` release-creation method:
* `ref` - git reference, eg: `master`.
+ * You can set min and max Minetest Versions [using the content's .conf file](/help/package_config/).
### Topics
* GET `/api/topics/` - Supports [Package Queries](#package-queries), and the following two options:
- * `show_added` - Show topics which exist as packages, default true.
+ * `show_added` - Show topics which exist as packages, default true.
* `show_discarded` - Show topics which have been marked as outdated, default false.
### Minetest