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

{
    "data": {
        "type": "samples",
        "id": "SRS519509",
        "attributes": {
            "longitude": null,
            "biosample": "SAMN02485983",
            "latitude": null,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "miens-specimen",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Chengdu, China",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2011-12-03",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "oral",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "human-oral",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX+",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Homo sapiens",
                    "unit": null
                }
            ],
            "accession": "SRS519509",
            "analysis-completed": "2018-02-16",
            "collection-date": "2011-12-03",
            "geo-loc-name": "Chengdu, China",
            "sample-desc": "Keywords: GSC:MIxS;MIMARKS:4.0",
            "environment-biome": "oral",
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "H03",
            "sample-alias": "H03",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2018-02-16T08:45:39"
        },
        "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/SRS519509/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00002248",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002248?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS519509/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS519509?format=api"
        }
    }
}