0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2025-02-20 05:42:23 -05:00

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 <gusted@noreply.codeberg.org>
This commit is contained in:
0ko 2025-02-12 13:20:47 +00:00
parent c08b4c7734
commit 548c2a7121

View file

@ -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: