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

{
    "data": {
        "type": "samples",
        "id": "ERS248501",
        "attributes": {
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Ontogeny of the microbiota in B. germanica",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2013-10",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "host-associated",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "16S amplicon pyrosequencing",
                    "unit": null
                },
                {
                    "key": "host common name",
                    "value": "Blattella germanica",
                    "unit": null
                },
                {
                    "key": "life stage",
                    "value": "n2 nymphal instar",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "1202446",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "GSC MIxS host associated (ERC000013)",
                    "unit": null
                }
            ],
            "longitude": 0.22,
            "latitude": 39.32,
            "biosample": "SAMEA2072964",
            "accession": "ERS248501",
            "analysis-completed": "2016-09-27",
            "collection-date": null,
            "geo-loc-name": "Valencia, Spain",
            "sample-desc": "nymphal instar 2, individual A",
            "environment-biome": "insect gut",
            "environment-feature": "hindgut",
            "environment-material": "gut dissection",
            "sample-name": "Gut bacteria of Blattella germanica",
            "sample-alias": "n2A",
            "host-tax-id": 6973,
            "species": "Blattella germanica",
            "last-update": "2016-09-27T09:44:50"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Insecta:Digestive system"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Insecta:Digestive%20system?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS248501/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001232",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001232?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS248501/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS248501?format=api"
        }
    }
}