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

{
    "data": {
        "type": "samples",
        "id": "SRS3042923",
        "attributes": {
            "biosample": "SAMN08688409",
            "longitude": -79.3776,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-79.3776",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Canada:Toronto",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2011-09-13",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Human",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Lung",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Sputum",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "MIMARKS.specimen;MIGS/MIMS/MIMARKS.human-oral",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "43.653",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Homo sapiens",
                    "unit": null
                }
            ],
            "latitude": 43.653,
            "accession": "SRS3042923",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Keywords: GSC:MIxS MIMARKS:5.0",
            "environment-biome": "Human",
            "environment-feature": "Lung",
            "environment-material": "Sputum",
            "sample-name": "CF029.6",
            "sample-alias": "CF029.6",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2023-09-25T14:36:20"
        },
        "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/SRS3042923/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006501",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006501?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS3042923/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS3042923?format=api"
        }
    }
}