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

{
    "data": {
        "type": "samples",
        "id": "ERS1669940",
        "attributes": {
            "longitude": -3.618,
            "biosample": "SAMEA103980772",
            "latitude": 37.1402,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "mimarks-survey",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-3.617972",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Spain",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2013-02-01/2013-02-28",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "enviromental system",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "microbial feature",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "microbial",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "host-associated",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "454 FLX",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "37.140167",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX Titanium",
                    "unit": null
                }
            ],
            "accession": "ERS1669940",
            "analysis-completed": "2017-04-25",
            "collection-date": "2013-02-01",
            "geo-loc-name": "Spain",
            "sample-desc": "rumen microbiome in goats",
            "environment-biome": "enviromental system",
            "environment-feature": "microbial feature",
            "environment-material": "microbial",
            "sample-name": "23.NATd14",
            "sample-alias": "23.NATd14",
            "host-tax-id": 9925,
            "species": "Capra hircus",
            "last-update": "2017-04-25T08:46:52"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mammals:Digestive system:Stomach:Rumen"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system:Stomach:Rumen?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1669940/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001706",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001706?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1669940/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1669940?format=api"
        }
    }
}