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

{
    "data": {
        "type": "samples",
        "id": "SRS7059076",
        "attributes": {
            "latitude": 41.5,
            "longitude": -8.4,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-8.4",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Portugal: Braga",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2018",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Human microbiome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Human lung microbiome",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Bronchoalveolar lavage",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "MIGS/MIMS/MIMARKS.human-associated;MIMARKS.specimen",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "41.5",
                    "unit": null
                },
                {
                    "key": "host phenotype",
                    "value": "Control",
                    "unit": null
                },
                {
                    "key": "host sex",
                    "value": "male",
                    "unit": null
                }
            ],
            "biosample": "SAMN15590596",
            "accession": "SRS7059076",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "16S rRNA sequencing of human lung microbiome",
            "environment-biome": "Human microbiome",
            "environment-feature": "Human lung microbiome",
            "environment-material": "Bronchoalveolar lavage",
            "sample-name": "UZ.P155",
            "sample-alias": "UZ.P155",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2023-09-02T01:37:57"
        },
        "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/SRS7059076/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006347",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006347?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS7059076/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS7059076?format=api"
        }
    }
}