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

{
    "data": {
        "type": "samples",
        "id": "SRS2810366",
        "attributes": {
            "latitude": 42.28,
            "longitude": -83.73,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-83.73",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA: Ann Arbor",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2015-10-01",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "feces",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "feces",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "feces",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9606",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "42.28",
                    "unit": null
                }
            ],
            "biosample": "SAMN08298796",
            "accession": "SRS2810366",
            "analysis-completed": null,
            "collection-date": "2015-10-01",
            "geo-loc-name": null,
            "sample-desc": "16S rRNA gene sequences from human feces",
            "environment-biome": "feces",
            "environment-feature": "feces",
            "environment-material": "feces",
            "sample-name": "U089_7",
            "sample-alias": "U089_7",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2019-12-24T21:32:25"
        },
        "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/SRS2810366/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005259",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005259?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2810366/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2810366?format=api"
        }
    }
}