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

{
    "data": {
        "type": "samples",
        "id": "SRS3620273",
        "attributes": {
            "latitude": null,
            "longitude": null,
            "sample-metadata": [
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA:Minnesota:Rochester",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "human",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "vagina",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "swab",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9606",
                    "unit": null
                },
                {
                    "key": "host sex",
                    "value": "female",
                    "unit": null
                }
            ],
            "biosample": "SAMN09757730",
            "accession": "SRS3620273",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "This sample has been submitted by pda|pjeraldo@gmail.com on 2018-08-03; human reproductive system metagenome",
            "environment-biome": "human",
            "environment-feature": "vagina",
            "environment-material": "swab",
            "sample-name": "UM392x1xVSW",
            "sample-alias": "UM392x1xVSW",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2020-04-20T03:15:44"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human:Reproductive system:Female"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Reproductive%20system:Female?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS3620273/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005199",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005199?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS3620273/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS3620273?format=api"
        }
    }
}