List all DRS Experiment objects matching an array of submitter_sample_ids. Only authorized for site admins and authzed services.
POST
/experiments
const url = 'https://raw.githubusercontent.com/ga4gh/drs/v1/experiments';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"program_ids":["example"],"submitter_sample_ids":["example"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://raw.githubusercontent.com/ga4gh/drs/v1/experiments \ --header 'Content-Type: application/json' \ --data '{ "program_ids": [ "example" ], "submitter_sample_ids": [ "example" ] }'Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”List of submitter sample ids requested
Media type application/json
object
program_ids
Array<string>
submitter_sample_ids
Array<string>
Example generated
{ "program_ids": [ "example" ], "submitter_sample_ids": [ "example" ]}Responses
Section titled “ Responses ”The DrsObjects were found successfully
Media type application/json
Array
Any of:
object
experiment_id
MoH submitter_sample_id from a Sample Registration associated with a specimen.
string
program
MoH program ID
string
genomes
An array of associated AnalysisDrsObjects that describe reads, e.g. fastqs.
Array<string>
transcriptomes
An array of associated AnalysisDrsObjects that describe transcriptome data.
Array<string>
variants
An array of associated AnalysisDataDrsObjects that describe variant files.
Array<string>
reads
An array of associated AnalysisDataDrsObjects that describe read files, e.g. bams.
Array<string>
Example generated
[ { "experiment_id": "example", "program": "example", "genomes": [ "example" ], "transcriptomes": [ "example" ], "variants": [ "example" ], "reads": [ "example" ] }]