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

{
    "data": {
        "type": "samples",
        "id": "SRS2227720",
        "attributes": {
            "biosample": "SAMN07158162",
            "longitude": -111.0735,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-111.0735",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA: Bozeman, MT",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2013-01-01",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9940",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "45.6618",
                    "unit": null
                }
            ],
            "latitude": 45.6618,
            "accession": "SRS2227720",
            "analysis-completed": null,
            "collection-date": "2013-01-01",
            "geo-loc-name": null,
            "sample-desc": "Maternal and environmental influence on the developing lamb microbiome in the first year of life.",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "orl_d0_D40_J8024",
            "sample-alias": "orl_d0_D40_J8024",
            "host-tax-id": 9940,
            "species": null,
            "last-update": "2020-05-26T17:34:53"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mammals"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2227720/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005514",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005514?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2227720/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2227720?format=api"
        }
    }
}