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

{
    "data": {
        "type": "samples",
        "id": "SRS10620512",
        "attributes": {
            "latitude": -17.82,
            "longitude": 31.04,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "31.04",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Zimbabwe: Harare",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2017-11-10",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "human",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "respiratory tract",
                    "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": "-17.82",
                    "unit": null
                },
                {
                    "key": "host sex",
                    "value": "male",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Homo sapiens",
                    "unit": null
                }
            ],
            "biosample": "SAMN22250765",
            "accession": "SRS10620512",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "human sputum metagenome",
            "environment-biome": "human",
            "environment-feature": "respiratory tract",
            "environment-material": "sputum",
            "sample-name": "BSP0236",
            "sample-alias": "BSP0236",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2023-09-03T00:58:40"
        },
        "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/SRS10620512/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006389",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006389?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS10620512/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS10620512?format=api"
        }
    }
}