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

{
    "data": {
        "type": "samples",
        "id": "ERS2301558",
        "attributes": {
            "biosample": "SAMEA104700175",
            "longitude": -76.969,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-76.969",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "GAZ:Peru;Peru:Loreto Territory",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "village biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "human-associated habitat",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "organic material",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "human-gut",
                    "unit": null
                },
                {
                    "key": "body site",
                    "value": "UBERON:anus",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "291.0",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9606",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "-2.996",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000011",
                    "unit": null
                },
                {
                    "key": "host sex",
                    "value": "female",
                    "unit": null
                }
            ],
            "latitude": -2.996,
            "accession": "ERS2301558",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "anal",
            "environment-biome": "village biome",
            "environment-feature": "human-associated habitat",
            "environment-material": "organic material",
            "sample-name": "qiita_sid_10333:10333.Che.147.huma",
            "sample-alias": "qiita_sid_10333:10333.Che.147.huma",
            "host-tax-id": 9606,
            "species": null,
            "last-update": "2020-09-27T08:24:11"
        },
        "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/ERS2301558/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/ERS2301558/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2301558?format=api"
        }
    }
}