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

{
    "data": {
        "type": "samples",
        "id": "ERS1254232",
        "attributes": {
            "biosample": "SAMEA4083122",
            "longitude": -83.75,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-83.75",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "GAZ:Costa Rica;Costa Rica",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2013-06-20",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "tropical moist 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": "altitude",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "1403.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "9.75",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 2000",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000011",
                    "unit": null
                },
                {
                    "key": "host sex",
                    "value": "female",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2016-07-16",
                    "unit": null
                },
                {
                    "key": "host",
                    "value": "bat",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Carollia castanea",
                    "unit": null
                }
            ],
            "latitude": 9.75,
            "accession": "ERS1254232",
            "analysis-completed": "2019-03-19",
            "collection-date": "2013-06-20",
            "geo-loc-name": "GAZ:Costa Rica;Costa Rica",
            "sample-desc": "bat fecal sample",
            "environment-biome": "tropical moist broadleaf forest biome",
            "environment-feature": "animal-associated habitat",
            "environment-material": "feces",
            "sample-name": "qiita_sid_2338:2338.0620.6.I",
            "sample-alias": "qiita_sid_2338:2338.0620.6.I",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-03-19T10:57:30"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mammals"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1254232/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003952",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003952?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1254232/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1254232?format=api"
        }
    }
}