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

{
    "data": {
        "type": "samples",
        "id": "ERS2304077",
        "attributes": {
            "longitude": -60.026,
            "biosample": "SAMEA104702694",
            "latitude": -3.11,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-60.026",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "GAZ:Brazil;Brazil:Manaus",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "urban biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "human-associated habitat",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "mucus",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "human-associated",
                    "unit": null
                },
                {
                    "key": "body site",
                    "value": "UBERON:nostril",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "92.0",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9606",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "-3.11",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000011",
                    "unit": null
                },
                {
                    "key": "host sex",
                    "value": "female",
                    "unit": null
                }
            ],
            "accession": "ERS2304077",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "nose",
            "environment-biome": "urban biome",
            "environment-feature": "human-associated habitat",
            "environment-material": "mucus",
            "sample-name": "qiita_sid_10333:10333.Manaus.3615.1313468",
            "sample-alias": "qiita_sid_10333:10333.Manaus.3615.1313468",
            "host-tax-id": 9606,
            "species": null,
            "last-update": "2020-09-25T19:05:36"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Mixed"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Mixed?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2304077/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005612",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005612?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2304077/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2304077?format=api"
        }
    }
}