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

{
    "data": {
        "type": "samples",
        "id": "ERS1228780",
        "attributes": {
            "biosample": "SAMEA4057670",
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "116.34",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "urban biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "animal-associated habitat",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "feces",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "host-associated",
                    "unit": null
                },
                {
                    "key": "altitude",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "57.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "39.94",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 2000",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000011",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2016-06-28",
                    "unit": null
                },
                {
                    "key": "host",
                    "value": "Yunnan snub nosed monkey",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Rhinopithecus bieti",
                    "unit": null
                }
            ],
            "latitude": 39.94,
            "longitude": 116.34,
            "accession": "ERS1228780",
            "analysis-completed": "2019-03-19",
            "collection-date": null,
            "geo-loc-name": "USA",
            "sample-desc": "Yunnan snub nosed monkey VHBJ0006",
            "environment-biome": "urban biome",
            "environment-feature": "animal-associated habitat",
            "environment-material": "feces",
            "sample-name": "qiita_sid_2182:2182.VHBJ0006",
            "sample-alias": "qiita_sid_2182:2182.VHBJ0006",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-03-19T10:14:03"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mammals:Digestive system:Fecal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system:Fecal?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1228780/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003950",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003950?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1228780/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1228780?format=api"
        }
    }
}