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

{
    "data": {
        "type": "samples",
        "id": "ERS2158889",
        "attributes": {
            "biosample": "SAMEA104547605",
            "longitude": 76.7244,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "76.72444",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "India",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2011-01-01/2011-12-31",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "village",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "domestic water-storage tank",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "water",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "water",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "MiSeq",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "28.628334",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                }
            ],
            "latitude": 28.6283,
            "accession": "ERS2158889",
            "analysis-completed": "2018-01-29",
            "collection-date": "2011-01-01",
            "geo-loc-name": "India",
            "sample-desc": "Bacteria in domestic water-storage tanks in India",
            "environment-biome": "village",
            "environment-feature": "domestic water-storage tank",
            "environment-material": "water",
            "sample-name": "d17m6y12s11",
            "sample-alias": "d17m6y12s11",
            "host-tax-id": null,
            "species": null,
            "last-update": "2018-01-29T09:14:45"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Freshwater:Drinking water"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Freshwater:Drinking%20water?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2158889/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00002183",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002183?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2158889/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2158889?format=api"
        }
    }
}