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

{
    "data": {
        "type": "samples",
        "id": "SRS3391785",
        "attributes": {
            "latitude": 38.47,
            "longitude": -0.79,
            "biosample": "SAMN09375239",
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-0.79",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Spain",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2017-03-31",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "air",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "houses",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "air",
                    "unit": null
                },
                {
                    "key": "altitude",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "38.47",
                    "unit": null
                }
            ],
            "accession": "SRS3391785",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "MIMARKS Specimen sample from mycobiome",
            "environment-biome": "air",
            "environment-feature": "houses",
            "environment-material": "air",
            "sample-name": "Environment",
            "sample-alias": "Environment",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2023-09-05T13:25:13"
        },
        "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"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS3391785/runs?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS3391785/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006441",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006441?format=api"
                        }
                    }
                ]
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS3391785?format=api"
        }
    }
}