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

{
    "data": {
        "type": "samples",
        "id": "SRS988531",
        "attributes": {
            "longitude": -100.32,
            "biosample": "SAMN03817184",
            "latitude": 33.62,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-100.32",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA: Guthrie, TX",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2011-01-01",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "West texas ranch horses",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Horse-associated microbiota",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Feces",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "33.62",
                    "unit": null
                }
            ],
            "accession": "SRS988531",
            "analysis-completed": null,
            "collection-date": "2011-01-01",
            "geo-loc-name": null,
            "sample-desc": "H1",
            "environment-biome": "West texas ranch horses",
            "environment-feature": "Horse-associated microbiota",
            "environment-material": "Feces",
            "sample-name": "86v1",
            "sample-alias": "86v1",
            "host-tax-id": null,
            "species": null,
            "last-update": "2020-07-16T01:42:28"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mammals:Digestive system:Fecal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system:Fecal?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS988531/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005550",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005550?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS988531/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS988531?format=api"
        }
    }
}