aboutsummaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorAndy Doan <andy.doan@linaro.org>2015-08-03 11:42:40 -0500
committerAndy Doan <andy.doan@linaro.org>2015-08-24 12:53:39 -0500
commit231df005bc3a4f62636bf24ea9954792043d0c84 (patch)
tree77d91ca423aaa31f4c583d95c171851512459842 /urls.py
parentb2fae238aea6f6bf5dafeabdcf8504107477daa2 (diff)
s3: publish api support
The apiv3 takes advantage of the fact that S3 can generate temporary URLs that our API client (linaro-cp) can upload files through. It should help reduce the load on our l-l-p server. Change-Id: Ibd3c11b7151392c5db7f107c8a6dcd4acb10a6c1
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/urls.py b/urls.py
index dfd14c9..14d818f 100644
--- a/urls.py
+++ b/urls.py
@@ -67,6 +67,8 @@ urlpatterns = patterns(
url(r'^api/v3/token/(?P<token>.*)$',
'license_protected_downloads.api.v3.token'),
+ url(r'^api/v3/publish/(?P<path>.*)$',
+ 'license_protected_downloads.api.v3.publish'),
# Catch-all. We always return a file (or try to) if it exists.
# This handler does that.