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

{
    "data": {
        "type": "samples",
        "id": "ERS1242476",
        "attributes": {
            "latitude": 49.473,
            "longitude": -57.981,
            "biosample": "SAMEA4071366",
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-57.981",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "GAZ:Canada;Canada",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "aquatic biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "alkaline habitat",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "ENVO:sediment",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "sediment",
                    "unit": null
                },
                {
                    "key": "altitude",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "414.0",
                    "unit": null
                },
                {
                    "key": "pH",
                    "value": "10.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "49.473",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 2000",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000011",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2016-07-08",
                    "unit": null
                }
            ],
            "accession": "ERS1242476",
            "analysis-completed": "2019-02-22",
            "collection-date": null,
            "geo-loc-name": "GAZ:Canada;Canada",
            "sample-desc": "TLE.calcite.on.serp carbonate deposit from alkaline spring",
            "environment-biome": "aquatic biome",
            "environment-feature": "alkaline habitat",
            "environment-material": "ENVO:sediment",
            "sample-name": "qiita_sid_713:713.TL10.44",
            "sample-alias": "qiita_sid_713:713.TL10.44",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-02-22T17:26:06"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine:Oceanic:Sediment"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Oceanic:Sediment?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1242476/runs?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1242476/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003810",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003810?format=api"
                        }
                    }
                ]
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1242476?format=api"
        }
    }
}