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

{
    "data": {
        "type": "samples",
        "id": "ERS1237782",
        "attributes": {
            "latitude": 47.9371,
            "longitude": -95.9863,
            "sample-metadata": [
                {
                    "key": "temperature",
                    "value": "95.5",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-95.98628",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "GAZ:United States of America",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "mixed 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": "341.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "47.93713",
                    "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-07",
                    "unit": null
                },
                {
                    "key": "host",
                    "value": "black bear",
                    "unit": null
                }
            ],
            "biosample": "SAMEA4066672",
            "accession": "ERS1237782",
            "analysis-completed": "2019-03-19",
            "collection-date": null,
            "geo-loc-name": "GAZ:United States of America",
            "sample-desc": "Black bear 4061 colon",
            "environment-biome": "mixed forest biome",
            "environment-feature": "animal-associated habitat",
            "environment-material": "feces",
            "sample-name": "Black bear 4061 colon",
            "sample-alias": "qiita_sid_2300:2300.BB.4061.colon",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-03-19T10:44:44"
        },
        "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/ERS1237782/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003951",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003951?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1237782/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1237782?format=api"
        }
    }
}