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

{
    "data": {
        "type": "samples",
        "id": "ERS2652914",
        "attributes": {
            "biosample": "SAMEA4833040",
            "longitude": -71.2836,
            "latitude": 46.7687,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-71.283646",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Canada",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2015-01-01/2015-12-31",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "digestive tract environment",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "microbial feature",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "fecal material",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "human-gut",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina HiSeq",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "46.76873",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 1000",
                    "unit": null
                }
            ],
            "accession": "ERS2652914",
            "analysis-completed": "2018-09-10",
            "collection-date": "2015-01-01",
            "geo-loc-name": "Canada",
            "sample-desc": "Patient 12 Day 0 Conditions: FOX-CO2",
            "environment-biome": "digestive tract environment",
            "environment-feature": "microbial feature",
            "environment-material": "fecal material",
            "sample-name": "Sample_P12J0-FOX-CO2",
            "sample-alias": "Sample_P12J0-FOX-CO2",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2018-09-10T08:43:09"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2652914/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00002961",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002961?format=api"
                        }
                    }
                ]
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human:Digestive system:Large intestine:Fecal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Large%20intestine:Fecal?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2652914/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2652914?format=api"
        }
    }
}