Get metadata about a biosample
GET
/biosamples/{id}
const url = 'https://your-candig-domain/genomics/htsget/v1/biosamples/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://your-candig-domain/genomics/htsget/v1/biosamples/exampleGet MoH-relevant genomic information about an biosample
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: path
A submitter_sample_id from the MoHCCN schema
Responses
Section titled “Responses”Success
Media typeapplication/json
object
biosample_id
MoH submitter_sample_id from a Sample Registration associated with a specimen.
string
program
MoH program ID
string
experiments
An array of associated ExperimentDrsObjects derived from the biosample.
Array<string>
runs
An array of associated RunDrsObjects that describe raw reads derived from biosample.
Array<string>
analyses
An array of associated AnalysisDrsObjects based on the biosample.
Array<string>
Examplegenerated
{ "biosample_id": "example", "program": "example", "experiments": [ "example" ], "runs": [ "example" ], "analyses": [ "example" ]}