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

{
    "data": {
        "type": "samples",
        "id": "SRS950147",
        "attributes": {
            "longitude": null,
            "biosample": "SAMN03754240",
            "latitude": null,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "13.7563 N 100.5018 E",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Thailand",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2013",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Human oral cavity",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "mouth",
                    "unit": null
                },
                {
                    "key": "sample material processing",
                    "value": "GenElute DNA extraction",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "447426",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS",
                    "unit": null
                },
                {
                    "key": "sample_title",
                    "value": "125S",
                    "unit": null
                },
                {
                    "key": "host age",
                    "value": "41",
                    "unit": null
                },
                {
                    "key": "host body product",
                    "value": "saliva",
                    "unit": null
                },
                {
                    "key": "host sex",
                    "value": "female",
                    "unit": null
                },
                {
                    "key": "host",
                    "value": "Homo sapiens",
                    "unit": null
                },
                {
                    "key": "organism",
                    "value": "human oral metagenome",
                    "unit": null
                }
            ],
            "accession": "SRS950147",
            "analysis-completed": "2015-12-09",
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "saliva HIV positive",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "125S",
            "sample-alias": "PQ125S_TAGATCCTCGAT.AGAGTTTGATYMTGGCTCAG",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2015-12-09T10:47:15"
        },
        "relationships": {
            "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"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS950147/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000583",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000583?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS950147/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS950147?format=api"
        }
    }
}