GET /metagenomics/api/v1/samples/SRS5780969?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "data": {
        "type": "samples",
        "id": "SRS5780969",
        "attributes": {
            "biosample": "SAMN13511892",
            "longitude": -83.728,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-83.728",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA: Ann Arbor, Michigan",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2013",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "human microbiome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "lower respiratory system",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "sputum",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "MIGS/MIMS/MIMARKS.human-associated;MIMARKS.survey",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "42.283",
                    "unit": null
                },
                {
                    "key": "host genotype",
                    "value": "delF508 heterozygous",
                    "unit": null
                },
                {
                    "key": "host sex",
                    "value": "male",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Homo sapiens",
                    "unit": null
                }
            ],
            "latitude": 42.283,
            "accession": "SRS5780969",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Expectorated sputum collected during clinical care for cystic fibrosis.",
            "environment-biome": "human microbiome",
            "environment-feature": "lower respiratory system",
            "environment-material": "sputum",
            "sample-name": "SP4608",
            "sample-alias": "SP4608",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2023-09-01T21:31:31"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human:Respiratory system:Pulmonary system:Sputum"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Respiratory%20system:Pulmonary%20system:Sputum?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS5780969/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006336",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006336?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS5780969/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS5780969?format=api"
        }
    }
}