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

{
    "data": {
        "type": "samples",
        "id": "ERS1266256",
        "attributes": {
            "latitude": 64.49,
            "longitude": -157.75,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-157.75",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "GAZ:United States of America",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "tundrar biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "permafrost",
                    "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.7",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "39.0",
                    "unit": null
                },
                {
                    "key": "pH",
                    "value": "6.2",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "64.49",
                    "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-24",
                    "unit": null
                }
            ],
            "biosample": "SAMEA4354807",
            "accession": "ERS1266256",
            "analysis-completed": "2019-02-26",
            "collection-date": null,
            "geo-loc-name": "GAZ:United States of America",
            "sample-desc": "soil metagenome P_C_2_2",
            "environment-biome": "tundrar biome",
            "environment-feature": "permafrost",
            "environment-material": "soil",
            "sample-name": "qiita_sid_1036:1036.P.C.2.2.s.4.1.sequences",
            "sample-alias": "qiita_sid_1036:1036.P.C.2.2.s.4.1.sequences",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-02-26T00:58:48"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Terrestrial:Soil"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1266256/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003862",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003862?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1266256/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1266256?format=api"
        }
    }
}