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

{
    "data": {
        "type": "samples",
        "id": "DRS028718",
        "attributes": {
            "biosample": "SAMD00033850",
            "sample-metadata": [
                {
                    "key": "project name",
                    "value": "Amplicon metagenomics of Nothofagus solandri roots",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "169.261",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "New Zealand:the Queenstown Lakes District",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2014-01-01",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "forest",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "woodland",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "plant",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "28952",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "-44.433",
                    "unit": null
                }
            ],
            "latitude": -44.433,
            "longitude": 169.261,
            "accession": "DRS028718",
            "analysis-completed": null,
            "collection-date": "2014-01-01",
            "geo-loc-name": null,
            "sample-desc": "Root samples collected in a Nothofagus forest in the Queenstown Lakes District, New Zealand.",
            "environment-biome": "forest",
            "environment-feature": "woodland",
            "environment-material": "plant",
            "sample-name": "SAMD00033850",
            "sample-alias": "SAMD00033850",
            "host-tax-id": 28952,
            "species": null,
            "last-update": "2019-12-19T18:50:10"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Plants"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS028718/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005268",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005268?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS028718/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS028718?format=api"
        }
    }
}