From e3b83479a3a3690ce7294281d3c5f55dbecbf19e Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Mon, 15 Dec 2014 13:59:01 +0000 Subject: [PATCH] Return a mxc URI rather than a token from _matrix/media/v1/upload --- drafts/media_repository.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drafts/media_repository.rst b/drafts/media_repository.rst index 7019f31a..3bb2df64 100644 --- a/drafts/media_repository.rst +++ b/drafts/media_repository.rst @@ -17,9 +17,9 @@ the download:: <= HTTP/1.1 200 OK Content-Type: application/json - { "token": } + { "content-uri": "mxc:///" } - => GET /_matrix/media/v1/download// HTTP/1.1 + => GET /_matrix/media/v1/download// HTTP/1.1 <= HTTP/1.1 200 OK Content-Type: