Skip to content

fix(provisioning_api): cap group listings and throttle group creation - #63671

Closed
pringelmann wants to merge 1 commit into
masterfrom
fix/group-listing-pagination
Closed

fix(provisioning_api): cap group listings and throttle group creation#63671
pringelmann wants to merge 1 commit into
masterfrom
fix/group-listing-pagination

Conversation

@pringelmann

@pringelmann pringelmann commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary

The two group listing endpoints, /cloud/groups and /cloud/groups/details, returned every group on the instance when no limit was given. The details one is the expensive one, since it counts members per group. Both now default to 500, and requests can page through the rest with offset. Creating a group is rate limited to 50 per ten minutes, matching the other write endpoints here.

Warning

Clients that relied on getting everything back now get the first 500, with nothing in the response to say it was cut off.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI (tests mostly)

Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant