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

{
    "data": {
        "type": "samples",
        "id": "ERS212677",
        "attributes": {
            "latitude": 47.367,
            "longitude": 8.55,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Smoking Cessation Trial",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "8.550",
                    "unit": "DD"
                },
                {
                    "key": "collection date",
                    "value": "2009-2010",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "human",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "city",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "ethanol pbs",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "human-gut",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Pyrosequencing",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "47.367",
                    "unit": "DD"
                },
                {
                    "key": "NCBI sample classification",
                    "value": "749906",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX Titanium",
                    "unit": null
                }
            ],
            "biosample": "SAMEA1713587",
            "accession": "ERS212677",
            "analysis-completed": "2013-09-02",
            "collection-date": null,
            "geo-loc-name": "Switzerland",
            "sample-desc": "Human gut metagenome, stool sample",
            "environment-biome": "host-associated biome",
            "environment-feature": "host-associated habitat",
            "environment-material": "faeces",
            "sample-name": "Stool sample",
            "sample-alias": "Stool sample",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2015-08-13T15:30:54"
        },
        "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/ERS212677/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000319",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000319?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS212677/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS212677?format=api"
        }
    }
}