clarified api gen/use requirements
This commit is contained in:
parent
daa51f9740
commit
216f579399
@ -5,9 +5,16 @@ description: Gitea Widget Configuration
|
|||||||
|
|
||||||
Learn more about [Gitea](https://gitea.com).
|
Learn more about [Gitea](https://gitea.com).
|
||||||
|
|
||||||
API token requires `notifications`, `repository` and `issue` 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.
|
||||||
|
|
||||||
Allowed fields: `["notifications", "issues", "pulls"]`.
|
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"]
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
widget:
|
widget:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user