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

{
    "data": {
        "type": "samples",
        "id": "SRS2918331",
        "attributes": {
            "latitude": 40.576,
            "longitude": -105.1378,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-105.1378",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA: Colorado",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2016-10-07",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "feces",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "749906",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "40.57603",
                    "unit": null
                },
                {
                    "key": "host sex",
                    "value": "female",
                    "unit": null
                }
            ],
            "biosample": "SAMN08472461",
            "accession": "SRS2918331",
            "analysis-completed": null,
            "collection-date": "2016-10-07",
            "geo-loc-name": null,
            "sample-desc": "Pre-Trt",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": "feces",
            "sample-name": "NBF100716",
            "sample-alias": "NBF100716",
            "host-tax-id": 749906,
            "species": null,
            "last-update": "2020-07-21T13:29:16"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mammals:Digestive system"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2918331/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005553",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005553?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2918331/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2918331?format=api"
        }
    }
}