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

{
    "data": {
        "type": "samples",
        "id": "ERS2621167",
        "attributes": {
            "biosample": "SAMEA4801251",
            "longitude": 18.555,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Afribiota 16s",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "18.55496",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Central African Republic",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2017-02-23",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "intestine environment",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "feces",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "feces",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "human-gut",
                    "unit": null
                },
                {
                    "key": "target gene",
                    "value": "16S",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9606",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "4.36122",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000015",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Homo sapiens",
                    "unit": null
                }
            ],
            "latitude": 4.3612,
            "accession": "ERS2621167",
            "analysis-completed": null,
            "collection-date": "2017-02-23",
            "geo-loc-name": null,
            "sample-desc": "Sample295",
            "environment-biome": "intestine environment",
            "environment-feature": "feces",
            "environment-material": "feces",
            "sample-name": "Sample295",
            "sample-alias": "Sample295",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2020-06-12T16:31:37"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human:Digestive system"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2621167/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005526",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005526?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2621167/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2621167?format=api"
        }
    }
}