Skip to content
Snippets Groups Projects
Commit 34bee21f authored by Kevin S. Hahn's avatar Kevin S. Hahn
Browse files

readds api/download, without filename, route

- needed for batch downloads
parent 03636254
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,7 @@ import collections_
routes = [
webapp2.Route(r'/api', core.Core),
webapp2_extras.routes.PathPrefixRoute(r'/api', [
webapp2.Route(r'/download', core.Core, handler_method='download', methods=['GET', 'POST'], name='download'),
webapp2.Route(r'/download/<fn>', core.Core, handler_method='download', methods=['GET', 'POST'], name='download'),
webapp2.Route(r'/sites', core.Core, handler_method='sites', methods=['GET']),
webapp2.Route(r'/search', core.Core, handler_method='search', methods=['GET', 'POST']),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment