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

{
    "data": {
        "type": "samples",
        "id": "ERS1478540",
        "attributes": {
            "latitude": 38.635,
            "longitude": -90.263,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "mimarks-survey",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Prior dietary practices and connections to a human gut microbial metacommunity alter responses to diet interventions",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-90.263",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2008-01-01",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "human-associated habitat",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "mammalia-associated habitat",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "feces",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "host-associated",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "38.635",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000013",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2016-12-22",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Homo sapiens",
                    "unit": null
                }
            ],
            "biosample": "SAMEA30319168",
            "accession": "ERS1478540",
            "analysis-completed": "2018-11-25",
            "collection-date": "2008-01-01",
            "geo-loc-name": "USA",
            "sample-desc": "gut bacterial 16S V4",
            "environment-biome": "human-associated habitat",
            "environment-feature": "mammalia-associated habitat",
            "environment-material": "feces",
            "sample-name": "14.Hum.CRON9.hfec.Sample",
            "sample-alias": "14.Hum.CRON9.hfec.Sample",
            "host-tax-id": null,
            "species": null,
            "last-update": "2018-11-25T23:01:22"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Animal:Digestive system:Fecal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Animal:Digestive%20system:Fecal?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1478540/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003505",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003505?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1478540/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1478540?format=api"
        }
    }
}