Skip to content

Commit b863a4e

Browse files
Added clarifications regarding GET user quota admin api
1 parent e7006d0 commit b863a4e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/admin.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,8 @@ Only repository administrators can use these endpoints.
313313

314314
URL: `GET /_matrix/media/unstable/admin/users/quota?access_token=your_access_token`
315315

316+
This endpoint queries the database for per-user quota entries set via the admin API. It will NOT retrieve the user's quota values if there is a glob entry in the config file that matches the user id. To query the quota values that currently take effect for the given user, you must use the media limits `/config` endpoint as specified in https://github.com/matrix-org/matrix-spec-proposals/pull/4034
317+
316318
You may specify one or more `?user_id=@alice:example.org` query parameters. Note that encoding the values may be required (not shown here). Users that are unknown to the media repo will not be returned.
317319

318320
The response for querying a user's quota:

0 commit comments

Comments
 (0)