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

{
    "data": {
        "type": "samples",
        "id": "ERS1262308",
        "attributes": {
            "longitude": 18.2,
            "biosample": "SAMEA4350859",
            "latitude": 59.583,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "18.2",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "GAZ:Sweden;Sweden",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "marine benthic biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "contaminated sediment",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "marine sediment",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "sediment",
                    "unit": null
                },
                {
                    "key": "altitude",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "21.0",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "26.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "59.583",
                    "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-20",
                    "unit": null
                }
            ],
            "accession": "ERS1262308",
            "analysis-completed": "2019-02-26",
            "collection-date": null,
            "geo-loc-name": "GAZ:Sweden;Sweden",
            "sample-desc": "marine sediment metagenome",
            "environment-biome": "marine benthic biome",
            "environment-feature": "contaminated sediment",
            "environment-material": "marine sediment",
            "sample-name": "qiita_sid_1198:1198.SWE25.KBB2.SS5.5",
            "sample-alias": "qiita_sid_1198:1198.SWE25.KBB2.SS5.5",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-02-26T02:06:56"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine:Oil-contaminated sediment"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Oil-contaminated%20sediment?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1262308/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003866",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003866?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1262308/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1262308?format=api"
        }
    }
}