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

{
    "data": {
        "type": "samples",
        "id": "ERS664170",
        "attributes": {
            "latitude": -15.1625,
            "longitude": -54.0586,
            "biosample": "SAMEA3268193",
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Amazon soil 16S rDNA amplicons 1",
                    "unit": null
                },
                {
                    "key": "geographic location (depth)",
                    "value": "1",
                    "unit": "m"
                },
                {
                    "key": "collection date",
                    "value": "2010-04-11T09:00:00",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Pyrosequencing",
                    "unit": null
                },
                {
                    "key": "geographic location (elevation)",
                    "value": "30",
                    "unit": "m"
                },
                {
                    "key": "NCBI sample classification",
                    "value": "77133",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX Titanium",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "GSC MIxS soil (ERC000022)",
                    "unit": null
                },
                {
                    "key": "soil environmental package",
                    "value": "soil",
                    "unit": null
                }
            ],
            "accession": "ERS664170",
            "analysis-completed": "2016-12-14",
            "collection-date": null,
            "geo-loc-name": "Brazil",
            "sample-desc": "Replicate ''A'' from deforested site 1",
            "environment-biome": "Amazon tropical rainforest",
            "environment-feature": "forest",
            "environment-material": "soil",
            "sample-name": "deforestation",
            "sample-alias": "ADI.A",
            "host-tax-id": null,
            "species": null,
            "last-update": "2016-12-14T17:01:47"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Terrestrial:Soil:Tropical rainforest"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil:Tropical%20rainforest?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS664170/runs?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS664170/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001352",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001352?format=api"
                        }
                    }
                ]
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS664170?format=api"
        }
    }
}