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
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?