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

{
    "data": {
        "type": "samples",
        "id": "ERS1202868",
        "attributes": {
            "longitude": 121.8,
            "biosample": "SAMEA4031758",
            "latitude": 12.9,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Philippines oral microbiome",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "121.8",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Philippines",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2014-01-01",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "human",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "oral",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "saliva",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "human-oral",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina HiSeq",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "12.9",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "256318",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 2500",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000016",
                    "unit": null
                }
            ],
            "accession": "ERS1202868",
            "analysis-completed": "2016-06-27",
            "collection-date": "2014-01-01",
            "geo-loc-name": "Philippines",
            "sample-desc": "Saliva sample from male Zambal agriculturalist from Luzon, Philippines [Cae42], with reads assigned to human using Kraken removed (cf. https://doi.org/10.6084/m9.figshare.5213158)",
            "environment-biome": "human",
            "environment-feature": "oral",
            "environment-material": "saliva",
            "sample-name": "Zambal_42",
            "sample-alias": "Zambal_42",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2020-05-15T18:38:25"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human:Digestive system:Oral:Saliva"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Oral:Saliva?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1202868/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001143",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001143?format=api"
                        }
                    },
                    {
                        "type": "studies",
                        "id": "MGYS00003487",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003487?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1202868/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1202868?format=api"
        }
    }
}