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

{
    "data": {
        "type": "samples",
        "id": "DRS024076",
        "attributes": {
            "latitude": 33.6,
            "longitude": 130.5,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "130.5",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Japan",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2007-01-01/2007-12-31",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "human oral cavity",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "saliva",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "saliva",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "33.6",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Ion Torrent PGM",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Homo sapiens",
                    "unit": null
                }
            ],
            "biosample": "SAMD00037653",
            "accession": "DRS024076",
            "analysis-completed": "2018-04-26",
            "collection-date": "2007-01-01",
            "geo-loc-name": "Japan",
            "sample-desc": "Salivary microbiome of a Japanese adult HY81923135",
            "environment-biome": "human oral cavity",
            "environment-feature": "saliva",
            "environment-material": "saliva",
            "sample-name": "Salivary microbiome of a Japanese adult HY81923135",
            "sample-alias": "SAMD00037653",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2018-04-26T09:04:12"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human:Digestive system:Oral:Saliva"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Oral:Saliva?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS024076/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00002355",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002355?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS024076/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS024076?format=api"
        }
    }
}