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

{
    "data": {
        "type": "samples",
        "id": "ERS808393",
        "attributes": {
            "longitude": 31.3941,
            "biosample": "SAMEA3501244",
            "latitude": 30.2288,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Diazotrophs in desert ecosystems",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2009-10",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "454 Pyrosequencing",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "98504",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX Titanium",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "GSC MIxS plant associated (ERC000020)",
                    "unit": null
                },
                {
                    "key": "plant-associated environmental package",
                    "value": "plant-associated",
                    "unit": null
                }
            ],
            "accession": "ERS808393",
            "analysis-completed": "2017-01-16",
            "collection-date": null,
            "geo-loc-name": "Egypt",
            "sample-desc": "Mc2",
            "environment-biome": "Desert Agriculture",
            "environment-feature": "Rhizosphere",
            "environment-material": "Root",
            "sample-name": "Mc2",
            "sample-alias": "Mc2",
            "host-tax-id": 29274,
            "species": "Lycopersicon",
            "last-update": "2017-01-16T09:58:13"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Plants:Rhizosphere"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants:Rhizosphere?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS808393/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001419",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001419?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS808393/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS808393?format=api"
        }
    }
}