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

{
    "data": {
        "type": "samples",
        "id": "ERS2599835",
        "attributes": {
            "latitude": 51.6023,
            "longitude": -1.1107,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-1.110692",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "United Kingdom",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2015-01-01/2015-12-31",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "snail microbiome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "gut",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "gut",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "host-associated",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "51.602345",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                }
            ],
            "biosample": "SAMEA4779890",
            "accession": "ERS2599835",
            "analysis-completed": "2018-07-23",
            "collection-date": "2015-01-01",
            "geo-loc-name": "United Kingdom",
            "sample-desc": "Chironomid30",
            "environment-biome": "snail microbiome",
            "environment-feature": "gut",
            "environment-material": "gut",
            "sample-name": "Chironomid30",
            "sample-alias": "Chironomid30",
            "host-tax-id": 6523,
            "species": "Lymnaea stagnalis",
            "last-update": "2018-07-23T15:23:53"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mollusca:Digestive system"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mollusca:Digestive%20system?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2599835/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00002589",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002589?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2599835/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2599835?format=api"
        }
    }
}