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

{
    "data": {
        "type": "samples",
        "id": "DRS071940",
        "attributes": {
            "biosample": "SAMD00128373",
            "longitude": 130.5,
            "sample-metadata": [
                {
                    "key": "project name",
                    "value": "Population-based study on tongue microbiota composition of Japanese elderly adults",
                    "unit": null
                },
                {
                    "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": "2016-01-01",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "human oral cavity",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "tongue",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "tongue",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9606",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "33.6",
                    "unit": null
                }
            ],
            "latitude": 33.6,
            "accession": "DRS071940",
            "analysis-completed": null,
            "collection-date": "2016-01-01",
            "geo-loc-name": null,
            "sample-desc": "16S amplicon analysis of tongue microbiota of a Japanese community-dwelling elderly adult HY71832205",
            "environment-biome": "human oral cavity",
            "environment-feature": "tongue",
            "environment-material": "tongue",
            "sample-name": "SAMD00128373",
            "sample-alias": "SAMD00128373",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2020-06-16T23:37:46"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human:Digestive system:Oral:tongue dorsum"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Oral:tongue%20dorsum?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS071940/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005528",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005528?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS071940/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS071940?format=api"
        }
    }
}