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

{
    "data": {
        "type": "samples",
        "id": "ERS608506",
        "attributes": {
            "latitude": 47.8015,
            "longitude": 13.0429,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "13.04292",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Austria",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2013-01-01/2013-12-31",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "human gut",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "human-associated habitat",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "faeces",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "human-gut",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "47.80151",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 2000",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Homo sapiens",
                    "unit": null
                }
            ],
            "biosample": "SAMEA3136655",
            "accession": "ERS608506",
            "analysis-completed": "2018-06-19",
            "collection-date": "2013-01-01",
            "geo-loc-name": "Austria",
            "sample-desc": "Stool sample from controls",
            "environment-biome": "human gut",
            "environment-feature": "human-associated habitat",
            "environment-material": "faeces",
            "sample-name": "530163",
            "sample-alias": "530163",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2018-06-19T10:54:35"
        },
        "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/ERS608506/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00002430",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002430?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS608506/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS608506?format=api"
        }
    }
}