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

{
    "data": {
        "type": "samples",
        "id": "ERS1268045",
        "attributes": {
            "latitude": 18.22,
            "longitude": -65.99,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-65.99",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "GAZ:Puerto Rico;PuertoRico:Gurabo",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "village biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "insecta-associated habitat",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "organic material",
                    "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": "43.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "18.22",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000011",
                    "unit": null
                },
                {
                    "key": "host sex",
                    "value": "female",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2016-07-26",
                    "unit": null
                },
                {
                    "key": "host",
                    "value": "honey bee",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Apis mellifera",
                    "unit": null
                }
            ],
            "biosample": "SAMEA4356596",
            "accession": "ERS1268045",
            "analysis-completed": "2018-12-19",
            "collection-date": null,
            "geo-loc-name": "GAZ:Puerto Rico;PuertoRico:Gurabo",
            "sample-desc": "Whole intestine tissue, with food content.",
            "environment-biome": "village biome",
            "environment-feature": "insecta-associated habitat",
            "environment-material": "organic material",
            "sample-name": "qiita_sid_1064:1064.G.CV74",
            "sample-alias": "qiita_sid_1064:1064.G.CV74",
            "host-tax-id": null,
            "species": null,
            "last-update": "2018-12-19T14:30:38"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Insecta"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Insecta?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1268045/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003705",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003705?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1268045/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1268045?format=api"
        }
    }
}