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

{
    "data": {
        "type": "samples",
        "id": "ERS1265387",
        "attributes": {
            "longitude": -2.8,
            "biosample": "SAMEA4353938",
            "latitude": 52.7,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-2.8",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "United Kingdom:Unspecified;United Kingdom",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "05/10/2016",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "dense settlement biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "human-associated habitat",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "feces",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "human-gut",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "Not applicable",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "76.5",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9606",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "52.7",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000011",
                    "unit": null
                },
                {
                    "key": "host sex",
                    "value": "male",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Homo sapiens",
                    "unit": null
                }
            ],
            "accession": "ERS1265387",
            "analysis-completed": null,
            "collection-date": "2016-10-05",
            "geo-loc-name": null,
            "sample-desc": "American Gut Project Stool Sample",
            "environment-biome": "dense settlement biome",
            "environment-feature": "human-associated habitat",
            "environment-material": "feces",
            "sample-name": "qiita_sid_10317:10317.000042728",
            "sample-alias": "qiita_sid_10317:10317.000042728",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2024-03-17T12:29:10"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1265387/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000596",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000596?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1265387/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1265387?format=api"
        }
    }
}