View source
default (d09ebd05f54d)
  • Contributors
    1. Loading...
Author Commit Message Date Builds
250+ commits behind default.
John Chilton
Introduce method ready_name_for_slug. This is my interpretation of a request from Jeremy Goecks (https://bitbucket.org/galaxy/galaxy-central/pull-request/314/history-import-export-via-api/diff#comment-1141619). Pulled code out of create_item_slug placed in util for reused in other operations - such as creating a history export. Update history export to use this. Slugs mapped names to a signficantly more restricted character set so hi…
John Chilton
Implement history import via API.
John Chilton
Implement history exporting via API. Two new routes one that can be PUT against to poll for download_url and one to fetch a completed download via a GET. Includes simple test case. This doesn't cleanly map to REST to my mind so I have hobbled together this approach, happy for further input. Good reading: https://restful-api-design.readthedocs.org/en/latest/methods.html#asynchronous-requests http://stackoverflow.com/questions/4099869/is-it-wrong-to-return-202-accepted-in-response-to-http-get
John Chilton
Add new API decorator for raw downloads.
John Chilton
Refactor history import functionality into ImportsHistoryMixin... ... for reuse in API.
John Chilton
Refactor history export functionality into ExportsHistoryMixin... ... for reuse in API.
John Chilton
Move some history export logic out of controller into model... For reuse by API.