From e0cab916223b695039a637bf58709282880500b0 Mon Sep 17 00:00:00 2001 From: zmweske Date: Thu, 25 Apr 2024 11:38:56 -0500 Subject: [PATCH] clarified api gen/use requirements --- docs/widgets/services/gitea.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/widgets/services/gitea.md b/docs/widgets/services/gitea.md index bf75aa69b..2fe9aea95 100644 --- a/docs/widgets/services/gitea.md +++ b/docs/widgets/services/gitea.md @@ -5,7 +5,14 @@ description: Gitea Widget Configuration Learn more about [Gitea](https://gitea.com). -API token requires `notifications` and `repository` permissions. See the [gitea documentation](https://docs.gitea.com/development/api-usage#generating-and-listing-api-tokens) for details on generating tokens. +API tokens can be generated on the `User Settings` -> `Applications` page and require `notifications` and `repository` permissions. + +There is currently a limit (20) to how many issues are received in the API call, but this can be increased by adding the following in the Gitea app.ini file. + +```ini +[ui] +ISSUE_PAGING_NUM = 99 +``` Allowed fields: ["notifications", "issues", "pulls"]