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

{
    "data": {
        "type": "samples",
        "id": "SRS8294016",
        "attributes": {
            "biosample": "SAMN18012504",
            "longitude": -79.05,
            "latitude": 35.9,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-79.05",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA:Chapel Hill",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2019-07-02",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "10090",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "35.9",
                    "unit": null
                }
            ],
            "accession": "SRS8294016",
            "analysis-completed": null,
            "collection-date": "2019-07-02",
            "geo-loc-name": null,
            "sample-desc": "Week 2 Mouse 9",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "20190918-9-Gu4_w2_mouse9",
            "sample-alias": "20190918-9-Gu4_w2_mouse9",
            "host-tax-id": 10090,
            "species": null,
            "last-update": "2023-04-01T13:41:32"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS8294016/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006150",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006150?format=api"
                        }
                    }
                ]
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mammals:Gastrointestinal tract:Intestine:Fecal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Gastrointestinal%20tract:Intestine:Fecal?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS8294016/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS8294016?format=api"
        }
    }
}