Forgejo API
GET/admin/quota/rules

List available quota rules

Lists the quota rules available to administrators. Use this operation to inspect each rule's limit, name, and affected subjects before assigning rules to quota groups.

2 status codes
200Returns an array of quota rule objects containing each rule's limit, name, and affected subjects.
limitintegeroptional
The limit set by the rule
namestringoptional
Name of the rule (only shown to admins)
subjectsarray<string>optional
Subjects the rule affects
403Returned when the authenticated user is not permitted to list quota rules.
messagestringoptional
urlstringoptional

Error handling

A 403 is returned when the authenticated user does not have the admin permission required to list quota rules.