From 548c2a7121710ecca53fa236611d3876e6646807 Mon Sep 17 00:00:00 2001 From: 0ko <0ko@noreply.codeberg.org> Date: Wed, 12 Feb 2025 13:20:47 +0000 Subject: [PATCH] chore(admin/quota): use redirect for swagger example, fix syntax error (#1074) * better to not wait before swaggerfile on v9 becomes outdated * unclosed bracket Reviewed-on: https://codeberg.org/forgejo/docs/pulls/1074 Reviewed-by: Gusted --- docs/admin/quota.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/admin/quota.md b/docs/admin/quota.md index 3fbc04ea..6c0cf38e 100644 --- a/docs/admin/quota.md +++ b/docs/admin/quota.md @@ -60,7 +60,7 @@ If you have more complex needs, you can use the API to configure quota rules. 1. With an admin account, create a new application token. -2. Make yourself familiar with the API endpoints by visiting the swagger documentation (e.g. by visiting `/api/swagger` ([online example](https://v9.next.forgejo.org/api/swagger#/admin)). +2. Make yourself familiar with the API endpoints by visiting the swagger documentation, e.g. by visiting `/api/swagger` ([online example](https://try.next.forgejo.org/api/swagger#/admin)). 3. Make yourself familiar with the available quota subjects from the [respective section in the config cheat sheet](../config-cheat-sheet/#quota-subjects-list). 4. Optionally, set up a local helper for interacting with the API: