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

{
    "data": {
        "type": "samples",
        "id": "ERS1563791",
        "attributes": {
            "latitude": 32.0263,
            "longitude": 77.3473,
            "biosample": "SAMEA94257418",
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "77.347305",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "India",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2012-06-12",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Aquatic biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Geographical feature",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Water",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "water",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "1760.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "32.026333",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina Genome Analyzer II",
                    "unit": null
                }
            ],
            "accession": "ERS1563791",
            "analysis-completed": "2018-04-11",
            "collection-date": "2012-06-12",
            "geo-loc-name": "India",
            "sample-desc": "Water sample collected from a geothermal spring located in Manikaran, Himachal Pradesh, India.",
            "environment-biome": "Aquatic biome",
            "environment-feature": "Geographical feature",
            "environment-material": "Water",
            "sample-name": "MNW1",
            "sample-alias": "MNW1",
            "host-tax-id": null,
            "species": null,
            "last-update": "2018-04-11T17:41:39"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Thermal springs:Near-boiling (>90C)"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Thermal%20springs:Near-boiling%20(%3E90C)?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1563791/runs?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1563791/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00002312",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002312?format=api"
                        }
                    }
                ]
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1563791?format=api"
        }
    }
}