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

{
    "data": {
        "type": "samples",
        "id": "SRS2299998",
        "attributes": {
            "longitude": -87.5011,
            "biosample": "SAMN07259169",
            "latitude": 20.2103,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-87.50107",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Mexico: Tulum",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2016-01-23",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "aquifer",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "anchialine cave",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "water",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "20.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "20.21026",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2017-11-08",
                    "unit": null
                }
            ],
            "accession": "SRS2299998",
            "analysis-completed": "2019-04-06",
            "collection-date": "2016-01-23",
            "geo-loc-name": "Mexico: Tulum",
            "sample-desc": "water",
            "environment-biome": "aquifer",
            "environment-feature": "anchialine cave",
            "environment-material": "water",
            "sample-name": "M21",
            "sample-alias": "M21",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-04-06T20:40:31"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Freshwater:Groundwater"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Freshwater:Groundwater?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2299998/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00004484",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004484?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2299998/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2299998?format=api"
        }
    }
}