diff options
author | Andy Doan <andy.doan@linaro.org> | 2014-09-04 17:18:23 -0500 |
---|---|---|
committer | Andy Doan <andy.doan@linaro.org> | 2014-09-17 14:23:51 -0500 |
commit | 0bdb00d0551e7f0c2850097f54f9c633befb0ab8 (patch) | |
tree | e02e966044216264704282bf247176153c1ee3a4 /urls.py | |
parent | fb2e01c1cf500c8f52add181ed807b8fa15cf456 (diff) |
apiv2: create api to publish files
Change-Id: Ieaf1ffff87734fcc4b8c585e631a5304ec686e9a
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -56,6 +56,9 @@ urlpatterns = patterns( url(r'^api/v2/token/(?P<token>.*)$', 'license_protected_downloads.api.v2.token'), + url(r'^api/v2/publish/(?P<path>.*)$', + 'license_protected_downloads.api.v2.publish'), + # Catch-all. We always return a file (or try to) if it exists. # This handler does that. url(r'(?P<path>.*)', 'license_protected_downloads.views.file_server'), |