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

{
    "data": {
        "type": "samples",
        "id": "SRS1268045",
        "attributes": {
            "latitude": 38.6375,
            "longitude": -90.2651,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-90.2651",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA: Saint Louis, MO",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2011-05-26",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "human gut",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "NICU",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "stool",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9606",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "38.6375",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "NextSeq 500",
                    "unit": null
                },
                {
                    "key": "host sex",
                    "value": "male",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Homo sapiens",
                    "unit": null
                }
            ],
            "biosample": "SAMN04436821",
            "accession": "SRS1268045",
            "analysis-completed": "2018-06-14",
            "collection-date": "2011-05-26",
            "geo-loc-name": "USA: Saint Louis, MO",
            "sample-desc": "This sample has been submitted by pda|mollykrisann@gmail.com on 2016-01-29; human gut metagenome",
            "environment-biome": "human gut",
            "environment-feature": "NICU",
            "environment-material": "stool",
            "sample-name": "8-A1",
            "sample-alias": "8-A1",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2022-01-17T18:22:33"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human:Digestive system:Large intestine:Fecal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Large%20intestine:Fecal?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1268045/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00002425",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002425?format=api"
                        }
                    },
                    {
                        "type": "studies",
                        "id": "MGYS00005860",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005860?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1268045/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1268045?format=api"
        }
    }
}