owncloud / owncloud/ocis

docs: document new rate limit on exportPersonalData endpoint (#12519)

Open
#12,523 3 comments 0 reactions 1 assignee Claimed by @2403905 View on GitHub
documentation
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

PR #12519 (merged 2026-07-08) added a rate limit to the Graph `POST /graph/v1.0/users/{userID}/exportPersonalData` endpoint: 5 requests per minute, keyed per user (via endpoint-path keying, since the userID is part of the path). Requests over the limit now receive `429 Too Many Requests`.

This is a user/admin-visible API behavior change and should be reflected in:
- API/Graph endpoint documentation for `exportPersonalData` (mention the 5 req/min limit and the `429` response).
- Any admin-facing docs listing rate limits enforced by oCIS services, if such a page exists.

No new env var/config option was introduced (the limit is currently hardcoded: `exportPersonalDataLimit = 5`, `exportPersonalDataWindow = time.Minute` in `services/graph/pkg/service/v0/service.go`) — worth noting in the docs that it isn't currently operator-configurable.

Opened automatically per the PR-merged documentation-completeness check.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.