1. galaxy
  2. galaxy-central
  3. Pull requests

Pull requests

#70 Declined
Repository
nuwan_ag
Branch
default
Repository
galaxy
Branch
default

Modified API to generate uniform json for HDAs both via api/datasets and api/histories/content

Author
  1. Nuwan Goonasekera
Reviewers
Description

The download_url and file_name attributes were included for HDAs when retrieving via api/histories/content but not when retrieving via api/datasets. These attributes have now been added to the generated json

Comments (1)

  1. Jeremy Goecks

    Thanks for the contribution; apologies for not getting back to you sooner.

    A couple requests:

    please rebase to resolve the hg conflicts; encode_ids is probably better placed into a controller mixin rather than the model because it's not operating on model attributes. Can you please move this function to a more appropriate place?