summaryrefslogtreecommitdiff
path: root/server/src/leap
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/leap')
-rw-r--r--server/src/leap/soledad/server/url_mapper.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/leap/soledad/server/url_mapper.py b/server/src/leap/soledad/server/url_mapper.py
index d4961c92..b50a81cd 100644
--- a/server/src/leap/soledad/server/url_mapper.py
+++ b/server/src/leap/soledad/server/url_mapper.py
@@ -58,6 +58,7 @@ class URLMapper(object):
/shared-db/doc/{any_id} | GET, PUT, DELETE
/user-{uuid}/sync-from/{source} | GET, PUT, POST
/blobs/{uuid}/{blob_id} | GET, PUT, POST
+ /blobs/{uuid} | GET
"""
# auth info for global resource
self._connect('/', ['GET'])
@@ -73,3 +74,4 @@ class URLMapper(object):
['GET', 'PUT', 'POST'])
# auth info for blobs resource
self._connect('/blobs/{uuid}/{blob_id}', ['GET', 'PUT'])
+ self._connect('/blobs/{uuid}', ['GET'])