Skip to content

Commit

Permalink
Add cloud storage api mapper.
Browse files Browse the repository at this point in the history
  • Loading branch information
VJalili committed Feb 27, 2018
1 parent 0198df5 commit bdc98d5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/galaxy/webapps/galaxy/buildapp.py
Expand Up @@ -226,6 +226,14 @@ def populate_api_routes(webapp, app):
path_prefix='/api/histories/{history_id}/contents/{history_content_id}')
webapp.mapper.connect('/api/histories/published', action='published', controller="histories", conditions=dict(method=["GET"]))
webapp.mapper.connect('/api/histories/shared_with_me', action='shared_with_me', controller="histories")

webapp.mapper.resource('cloud_storage', 'cloud_storage', path_prefix='/api')
webapp.mapper.connect('cloud_storage_download',
'/api/cloud_storage/download',
controller='cloud_storage',
action='download',
conditions=dict(method=["POST"]))

_add_item_tags_controller(webapp,
name_prefix="history_",
path_prefix='/api/histories/{history_id}')
Expand Down

0 comments on commit bdc98d5

Please sign in to comment.