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

{
    "data": {
        "type": "samples",
        "id": "ERS1188045",
        "attributes": {
            "latitude": 38.319,
            "longitude": -122.235,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-122.235",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "GAZ:United States of America",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "ENVO:cropland biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "ENVO:vineyard",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "ENVO:wine",
                    "unit": null
                },
                {
                    "key": "altitude",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "57.0",
                    "unit": null
                },
                {
                    "key": "host common name",
                    "value": "miscellaneous metagenome",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "38.319",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                }
            ],
            "biosample": "SAMEA4016935",
            "accession": "ERS1188045",
            "analysis-completed": "2017-03-24",
            "collection-date": null,
            "geo-loc-name": "GAZ:United States of America",
            "sample-desc": "MT.723",
            "environment-biome": "ENVO:cropland biome",
            "environment-feature": "ENVO:vineyard",
            "environment-material": "ENVO:wine",
            "sample-name": "10119.MT.723",
            "sample-alias": "qiita_sid_10119:10119.MT.723",
            "host-tax-id": 3603,
            "species": "Vitis",
            "last-update": "2017-03-24T10:47:40"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Plants"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1188045/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001645",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001645?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1188045/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1188045?format=api"
        }
    }
}