The WellKnownFile Download Service returns files. Examples include Agilent output files from the Human Brain Microarray product and RNA Sequencing output files from the Developing Human Developing Human Transcriptome product.
Prototype
http://api.brain-map.org/api/v2/well_known_file_download/[WellKnownFile.id]
Example
Download the Human Brain Microarray Atlas “raw” Agilent output files associated with Donor H0351.2001 and the DG Structure.
First, search for all WellKnownFiles associated with Donor H0351.2001 and the Structure DG:
http://api.brain-map.org/api/v2/data/query.xml?criteria= model::Sample,
rma::criteria,microarray_data_set(products[abbreviation$eq'HumanMA'],specimen(donor[name$eq'H0351.2001'])),structure[acronym$eq'DG'],
rma::include,microarray_slides(well_known_files)
Next, iterate through the WellKnownFile elements, building URLs by appending the WellKnownFile.download_link value to “http://api.brain-map.org”:
http://api.brain-map.org/api/v2/well_known_file_download/3486
Parameters
filename String WellKnownFile.id identifying the file to download.
Returns
The file represented by the specified WellKnownFile.id. Several file formats may be returned by this service.