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

{
    "data": {
        "type": "samples",
        "id": "ERS2582364",
        "attributes": {
            "biosample": "SAMEA4762396",
            "longitude": 12.5704,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "12.570421",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Denmark",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2012-01-01/2012-12-31",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "feces",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "feces",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "feces",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "human-gut",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "454 GS-FLX Titanium pyrosequencing",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "55.695854",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX Titanium",
                    "unit": null
                }
            ],
            "latitude": 55.6959,
            "accession": "ERS2582364",
            "analysis-completed": "2018-06-29",
            "collection-date": "2012-01-01",
            "geo-loc-name": "Denmark",
            "sample-desc": "P29.w5",
            "environment-biome": "feces",
            "environment-feature": "feces",
            "environment-material": "feces",
            "sample-name": "P29.w5",
            "sample-alias": "Sample92",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2018-06-29T08:41:33"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human:Circulatory system:Blood"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Circulatory%20system:Blood?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2582364/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00002447",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002447?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2582364/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2582364?format=api"
        }
    }
}