summary refs log tree commit diff
path: root/synapse/api/urls.py
diff options
context:
space:
mode:
authorAaron R <aaron@raim.ist>2021-11-17 09:30:24 -0600
committerGitHub <noreply@github.com>2021-11-17 15:30:24 +0000
commitd993c3bb1e89f77d91af6302bfb118494c6f6664 (patch)
tree1c55d8261d4a1bc1b6b5bdcf11de452921ee3326 /synapse/api/urls.py
parentMerge branch 'master' into develop (diff)
downloadsynapse-d993c3bb1e89f77d91af6302bfb118494c6f6664.tar.xz
Add support for `/_matrix/media/v3` APIs (#11371)
* Add support for `/_matrix/media/v3` APIs

Signed-off-by: Aaron Raimist <aaron@raim.ist>

* Update `workers.md` to use v3 client and media APIs

Signed-off-by: Aaron Raimist <aaron@raim.ist>

* Add changelog

Signed-off-by: Aaron Raimist <aaron@raim.ist>
Diffstat (limited to 'synapse/api/urls.py')
-rw-r--r--synapse/api/urls.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/api/urls.py b/synapse/api/urls.py
index 4486b3bc7d..f9f9467dc1 100644
--- a/synapse/api/urls.py
+++ b/synapse/api/urls.py
@@ -30,7 +30,8 @@ FEDERATION_UNSTABLE_PREFIX = FEDERATION_PREFIX + "/unstable"
 STATIC_PREFIX = "/_matrix/static"
 WEB_CLIENT_PREFIX = "/_matrix/client"
 SERVER_KEY_V2_PREFIX = "/_matrix/key/v2"
-MEDIA_PREFIX = "/_matrix/media/r0"
+MEDIA_R0_PREFIX = "/_matrix/media/r0"
+MEDIA_V3_PREFIX = "/_matrix/media/v3"
 LEGACY_MEDIA_PREFIX = "/_matrix/media/v1"