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

{
    "data": {
        "type": "samples",
        "id": "ERS1240147",
        "attributes": {
            "latitude": -29.53,
            "longitude": 145.49,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "145.49",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "GAZ:Australia;Australia:Victoria",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "large river 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": "128.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "-29.53",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 2000",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000011",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2016-07-08",
                    "unit": null
                },
                {
                    "key": "host",
                    "value": "Rabbit",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Oryctolagus cuniculus",
                    "unit": null
                }
            ],
            "biosample": "SAMEA4069037",
            "accession": "ERS1240147",
            "analysis-completed": "2018-12-19",
            "collection-date": null,
            "geo-loc-name": "GAZ:Australia;Australia:Victoria",
            "sample-desc": "Rabbit feces",
            "environment-biome": "large river biome",
            "environment-feature": "animal-associated habitat",
            "environment-material": "feces",
            "sample-name": "qiita_sid_894:894.F1432.lane5.NoIndex.L005",
            "sample-alias": "qiita_sid_894:894.F1432.lane5.NoIndex.L005",
            "host-tax-id": null,
            "species": null,
            "last-update": "2018-12-19T22:03:57"
        },
        "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/ERS1240147/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003708",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003708?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1240147/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1240147?format=api"
        }
    }
}