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

{
    "data": {
        "type": "samples",
        "id": "SRS2359211",
        "attributes": {
            "biosample": "SAMN07197149",
            "longitude": null,
            "sample-metadata": [
                {
                    "key": "collection date",
                    "value": "2015-01-01/2015-12-31",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "16s amplicon survey",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Lateral Border Tongue",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Surface Swab100",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Homo sapiens",
                    "unit": null
                }
            ],
            "latitude": null,
            "accession": "SRS2359211",
            "analysis-completed": "2018-02-14",
            "collection-date": "2015-01-01",
            "geo-loc-name": null,
            "sample-desc": "100",
            "environment-biome": "16s amplicon survey",
            "environment-feature": "Lateral Border Tongue",
            "environment-material": "Surface Swab100",
            "sample-name": "100",
            "sample-alias": "CT32",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2018-02-14T15:43:39"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human:Digestive system:Oral"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Oral?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2359211/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00002233",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002233?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2359211/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2359211?format=api"
        }
    }
}