Hello,

What is an appropriate galaxy URL to use to obtain bed and fasta index files? I have tried below:

myGalaxy.org:port/dataset/get_metadata_file?hda_id=[fasta_dataset_id]&metadata_name=fasta.fai {for fasta index}

and 

myGalaxy.org:port/dataset/get_metadata_file?hda_id=[bed_dataset_id]&metadata_name=bed.idx {for bed index}

While looking through metadata for both bed and fasta file at:

myGalaxy.org:port/api/histories/[history_id]/contents/[api_id]

I realized that it lacks a meta_files list. Is there a way to populate this list for bed and fasta files as well? 

Example: For bam files this list populates as bam_index and hence I use metadata_name=bam_index and an appropriate bai file downloads.

Thank you

Asma