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

{
    "data": {
        "type": "samples",
        "id": "SRS936701",
        "attributes": {
            "latitude": 51.882,
            "longitude": -8.5107,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-8.5107",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Ireland: Cork",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2009-10-15",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Human gut",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Human gut",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Human gut",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9606",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "51.882",
                    "unit": null
                },
                {
                    "key": "host sex",
                    "value": "female",
                    "unit": null
                }
            ],
            "biosample": "SAMN03610998",
            "accession": "SRS936701",
            "analysis-completed": null,
            "collection-date": "2009-10-15",
            "geo-loc-name": null,
            "sample-desc": "This sample has been submitted by University College Cork on 2015-05-15; human gut metagenome",
            "environment-biome": "Human gut",
            "environment-feature": "Human gut",
            "environment-material": "Human gut",
            "sample-name": "EM244_T0",
            "sample-alias": "EM244_T0",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2020-04-29T01:57:02"
        },
        "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/SRS936701/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005211",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005211?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS936701/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS936701?format=api"
        }
    }
}