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

{
    "data": {
        "type": "samples",
        "id": "ERS1532254",
        "attributes": {
            "biosample": "SAMEA70604668",
            "longitude": -2.1705,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "mimarks-survey",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Disentangling facilitation drivers: The role of soil microorganisms. (Retama-gap)",
                    "unit": null
                },
                {
                    "key": "geographic location (depth)",
                    "value": "0.1",
                    "unit": "m"
                },
                {
                    "key": "collection date",
                    "value": "2012-04",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Pyrosequencing",
                    "unit": null
                },
                {
                    "key": "geographic location (elevation)",
                    "value": "630",
                    "unit": "m"
                },
                {
                    "key": "NCBI sample classification",
                    "value": "410658",
                    "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
                }
            ],
            "latitude": 37.0297,
            "accession": "ERS1532254",
            "analysis-completed": "2017-02-10",
            "collection-date": null,
            "geo-loc-name": "Spain",
            "sample-desc": "Soil collected in microcosms with gap soil  placed in gap microhabitat. This sterile soil was  initially inoculated with sterile gap soil",
            "environment-biome": "Semiarid",
            "environment-feature": "Dry valley",
            "environment-material": "Soil",
            "sample-name": "Sterile gap soil placed in gap microhabitat",
            "sample-alias": "R6",
            "host-tax-id": null,
            "species": null,
            "last-update": "2017-02-10T13:10:41"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Terrestrial:Soil:Desert"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil:Desert?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1532254/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001448",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001448?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1532254/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1532254?format=api"
        }
    }
}