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

{
    "data": {
        "type": "samples",
        "id": "ERS1211506",
        "attributes": {
            "longitude": -88.065,
            "biosample": "SAMEA4040396",
            "latitude": 17.746,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-88.065",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Belize",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "tropical broadleaf forest 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": "depth",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "36.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "17.746",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 2000",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000011",
                    "unit": null
                },
                {
                    "key": "host sex",
                    "value": "male",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2016-06-17",
                    "unit": null
                },
                {
                    "key": "host",
                    "value": "Pallas's Long-tongued Bat",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Glossophaga soricina",
                    "unit": null
                }
            ],
            "accession": "ERS1211506",
            "analysis-completed": "2019-03-06",
            "collection-date": null,
            "geo-loc-name": "Belize",
            "sample-desc": "BD.NBS1052",
            "environment-biome": "tropical broadleaf forest biome",
            "environment-feature": "animal-associated habitat",
            "environment-material": "feces",
            "sample-name": "qiita_sid_1734:1734.BD.NBS1052",
            "sample-alias": "qiita_sid_1734:1734.BD.NBS1052",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-03-06T19:09:06"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mammals:Digestive system"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1211506/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003923",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003923?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1211506/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1211506?format=api"
        }
    }
}