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

{
    "data": {
        "type": "samples",
        "id": "ERS808869",
        "attributes": {
            "longitude": 78.6,
            "biosample": "SAMEA3501720",
            "latitude": 45.3,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "mimarks-survey",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "PRJEB10273",
                    "unit": null
                },
                {
                    "key": "geographic location (depth)",
                    "value": "0",
                    "unit": "m"
                },
                {
                    "key": "collection date",
                    "value": "2014-10",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Ion Torrent PGM",
                    "unit": null
                },
                {
                    "key": "geographic location (elevation)",
                    "value": "500",
                    "unit": "m"
                },
                {
                    "key": "NCBI sample classification",
                    "value": "410658",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Ion Torrent PGM",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "GSC MIxS soil (ERC000022)",
                    "unit": null
                },
                {
                    "key": "soil environmental package",
                    "value": "soil",
                    "unit": null
                }
            ],
            "accession": "ERS808869",
            "analysis-completed": "2016-12-15",
            "collection-date": null,
            "geo-loc-name": "Canada",
            "sample-desc": "HF upslope soil, rep 3",
            "environment-biome": "deciduous forest",
            "environment-feature": "upslope area",
            "environment-material": "soil",
            "sample-name": "HF upslope soil, rep 3",
            "sample-alias": "HF3a_s 16S",
            "host-tax-id": null,
            "species": null,
            "last-update": "2016-12-15T09:16:08"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Terrestrial:Soil:Forest soil"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil:Forest%20soil?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS808869/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001355",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001355?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS808869/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS808869?format=api"
        }
    }
}