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

{
    "data": {
        "type": "samples",
        "id": "SRS647029",
        "attributes": {
            "latitude": 60.45,
            "longitude": 22.25,
            "sample-metadata": [
                {
                    "key": "project name",
                    "value": "DIPP-microbiome-16S",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "22.25",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Finland: Turku",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "human-gut",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9606",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "60.45",
                    "unit": null
                },
                {
                    "key": "host sex",
                    "value": "male",
                    "unit": null
                }
            ],
            "biosample": "SAMN02873695",
            "accession": "SRS647029",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "This sample has been submitted by pda|adavisr on 2015-05-01; human gut metagenome",
            "environment-biome": "human-gut",
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "HS2_L_2_B_052b",
            "sample-alias": "HS2_L_2_B_052b",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2019-12-25T13:10:23"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human:Digestive system:Large intestine:Fecal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Large%20intestine:Fecal?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS647029/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005239",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005239?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS647029/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS647029?format=api"
        }
    }
}