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

{
    "data": {
        "type": "samples",
        "id": "SRS920512",
        "attributes": {
            "latitude": null,
            "longitude": null,
            "sample-metadata": [
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "United Kingdom: Belfast City Hospital, Belfast",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2010-05-28",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "lower airways",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "lung",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "bronchial wash",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "MIMARKS.specimen;MIGS/MIMS/MIMARKS.host-associated",
                    "unit": null
                },
                {
                    "key": "host sex",
                    "value": "male",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "homo sapiens sapiens",
                    "unit": null
                }
            ],
            "biosample": "SAMN03566610",
            "accession": "SRS920512",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "COPD",
            "environment-biome": "lower airways",
            "environment-feature": "lung",
            "environment-material": "bronchial wash",
            "sample-name": "COPD1",
            "sample-alias": "COPD1",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2023-09-02T21:00:52"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human:Respiratory system:Pulmonary system:Lung"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Respiratory%20system:Pulmonary%20system:Lung?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS920512/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006369",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006369?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS920512/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS920512?format=api"
        }
    }
}