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

{
    "data": {
        "type": "samples",
        "id": "SRS104275",
        "attributes": {
            "biosample": "SAMN00099900",
            "longitude": null,
            "sample-metadata": [
                {
                    "key": "sex",
                    "value": "female",
                    "unit": null
                },
                {
                    "key": "body site",
                    "value": "G_DNA_Saliva",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "646099",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 2000",
                    "unit": null
                }
            ],
            "latitude": null,
            "accession": "SRS104275",
            "analysis-completed": "2016-06-27",
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Human metagenome sample from G_DNA_Saliva of a female participant in the dbGaP study \"HMP Core Microbiome Sampling Protocol A (HMP-A)\"",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "Human metagenome sample from G_DNA_Saliva of a female participant in the dbGaP study \"HMP Core Microbiome Sampling Protocol A (HMP-A)\"",
            "sample-alias": "700161820",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2016-06-27T14:48:17"
        },
        "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/SRS104275/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/SRS104275/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS104275?format=api"
        }
    }
}