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

{
    "data": {
        "type": "samples",
        "id": "SRS589177",
        "attributes": {
            "biosample": "SAMN02719502",
            "longitude": -1.434,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-1.434",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "United Kingdom: Southampton general hospital",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2007-05-14",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "CF lung",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "MIGS/MIMS/MIMARKS.human-associated;MIMS.me",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "50.933",
                    "unit": null
                },
                {
                    "key": "host sex",
                    "value": "female",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Homo sapiens",
                    "unit": null
                }
            ],
            "latitude": 50.933,
            "accession": "SRS589177",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "5.5",
            "environment-biome": "CF lung",
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "FT37",
            "sample-alias": "FT37",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2023-09-01T19:12:11"
        },
        "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/SRS589177/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006323",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006323?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS589177/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS589177?format=api"
        }
    }
}