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

{
    "data": {
        "type": "samples",
        "id": "ERS1296543",
        "attributes": {
            "biosample": "SAMEA4385094",
            "longitude": -155.776,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-155.776",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "GAZ:United States of America;USA:HI:Kohala volcano",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "tropical shrubland biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "volcano",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "soil",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "soil",
                    "unit": null
                },
                {
                    "key": "altitude",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.075",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "1090.0",
                    "unit": null
                },
                {
                    "key": "pH",
                    "value": "6.4",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "20.109",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 2000",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000011",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2016-08-17",
                    "unit": null
                }
            ],
            "latitude": 20.109,
            "accession": "ERS1296543",
            "analysis-completed": "2018-12-17",
            "collection-date": null,
            "geo-loc-name": "GAZ:United States of America;USA:HI:Kohala volcano",
            "sample-desc": "soil elevation 1090m",
            "environment-biome": "tropical shrubland biome",
            "environment-feature": "volcano",
            "environment-material": "soil",
            "sample-name": "qiita_sid_1579:1579.I.2.0",
            "sample-alias": "qiita_sid_1579:1579.I.2.0",
            "host-tax-id": null,
            "species": null,
            "last-update": "2018-12-17T16:48:12"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Mixed"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Mixed?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1296543/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003698",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003698?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1296543/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1296543?format=api"
        }
    }
}