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

{
    "data": {
        "type": "samples",
        "id": "SRS675025",
        "attributes": {
            "latitude": 40.73,
            "longitude": 116.56,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "116.56",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "China: Beijing",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2012-12-06",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "human",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "human-associated habitat",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "supragingival plaque",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "40.73",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX Titanium",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Homo sapiens",
                    "unit": null
                }
            ],
            "biosample": "SAMN02951127",
            "accession": "SRS675025",
            "analysis-completed": "2018-02-27",
            "collection-date": "2012-12-06",
            "geo-loc-name": "China: Beijing",
            "sample-desc": "ICPIF2G01.sff",
            "environment-biome": "human",
            "environment-feature": "human-associated habitat",
            "environment-material": "supragingival plaque",
            "sample-name": "ICPIF2G01.sff",
            "sample-alias": "ICPIF2G01.sff",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2018-02-27T14:24:06"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human:Digestive system:Oral:Supragingival plaque"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Oral:Supragingival%20plaque?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS675025/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00002262",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002262?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS675025/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS675025?format=api"
        }
    }
}