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

{
    "data": {
        "type": "samples",
        "id": "ERS9778889",
        "attributes": {
            "longitude": -117.16,
            "biosample": "SAMEA12132279",
            "latitude": 32.72,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-117.16",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA:CA:San Diego",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "urban biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "human-associated habitat",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "bodily fluid",
                    "unit": null
                },
                {
                    "key": "body site",
                    "value": "UBERON:lung",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "163.0",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9606",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "32.72",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000011",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Homo sapiens",
                    "unit": null
                }
            ],
            "accession": "ERS9778889",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "SD200_N",
            "environment-biome": "urban biome",
            "environment-feature": "human-associated habitat",
            "environment-material": "bodily fluid",
            "sample-name": "qiita_sid_13507:13507.SD200.N",
            "sample-alias": "qiita_sid_13507:13507.SD200.N",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2023-08-05T17:52:03"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human:Respiratory system:Pulmonary system:Sputum"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Respiratory%20system:Pulmonary%20system:Sputum?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS9778889/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006279",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006279?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS9778889/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS9778889?format=api"
        }
    }
}