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

{
    "data": {
        "type": "samples",
        "id": "SRS2175890",
        "attributes": {
            "biosample": "SAMN06927144",
            "longitude": -0.05,
            "latitude": 51.3,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-0.05",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "United Kingdom:London",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2016-01-01/2016-12-31",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "human-associated",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "mouth",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "dental plaque",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "51.3",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Homo sapiens",
                    "unit": null
                }
            ],
            "accession": "SRS2175890",
            "analysis-completed": "2018-03-01",
            "collection-date": "2016-01-01",
            "geo-loc-name": "United Kingdom:London",
            "sample-desc": "S27 patient before treatment with base gum",
            "environment-biome": "human-associated",
            "environment-feature": "mouth",
            "environment-material": "dental plaque",
            "sample-name": "S27_V2_CAACTCATCGTA.AGAGTTTGATYMTGGCTCAG",
            "sample-alias": "S27_V2_CAACTCATCGTA.AGAGTTTGATYMTGGCTCAG",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2018-03-01T09:10:18"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2175890/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00002275",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002275?format=api"
                        }
                    }
                ]
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human:Digestive system:Oral"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Oral?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2175890/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2175890?format=api"
        }
    }
}