Mount /_synapse/admin/v1/users/{userId}/media admin API on media workers only (#10628)

Co-authored-by: Patrick Cloke <patrickc@matrix.org>
This commit is contained in:
Andrew Morgan 2021-08-18 13:25:12 +01:00 committed by GitHub
parent eea2873595
commit 3692f7fd33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 173 additions and 165 deletions

View file

@ -123,6 +123,12 @@ for more information and examples.
We plan to remove support for these settings in October 2021.
## `/_synapse/admin/v1/users/{userId}/media` must be handled by media workers
The [media repository worker documentation](https://matrix-org.github.io/synapse/latest/workers.html#synapseappmedia_repository)
has been updated to reflect that calls to `/_synapse/admin/v1/users/{userId}/media`
must now be handled by media repository workers. This is due to the new `DELETE` method
of this endpoint modifying the media store.
# Upgrading to v1.39.0