Forgejo API
GET/admin/quota/groups/{quotagroup}

Get quota group information

Retrieves a quota group and the rules associated with it. Use quotagroup to identify the group whose name and rule assignments you need to inspect.

1 parameter
quotagroupstringrequired
The name or identifier of the quota group to retrieve.

4 status codes
200Returns a quota group object containing its name and associated rules, including each rule's limit, name, and subjects.
namestringoptional
Name of the group
rulesarray<object>optional
Rules associated with the group
400Returned when `quotagroup` is invalid.
messagestringoptional
urlstringoptional
403Returned when the authenticated user is not permitted to view the quota group.
messagestringoptional
urlstringoptional
404Returned when no quota group matches `quotagroup`.
errorsarray<string>optional
messagestringoptional
urlstringoptional

Error handling

A 400 is returned when quotagroup is invalid. A 403 is returned when the authenticated user lacks permission to view quota groups, and a 404 is returned when no quota group matches quotagroup.