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

{
    "data": {
        "type": "samples",
        "id": "ERS1296764",
        "attributes": {
            "latitude": 37.5692,
            "longitude": -122.1019,
            "biosample": "SAMEA4385315",
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-122.1019",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "GAZ:United States of America;USA:CA",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "marine biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "marine habitat",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "saline lake sediment",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "sediment",
                    "unit": null
                },
                {
                    "key": "altitude",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.0325",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "2.113",
                    "unit": null
                },
                {
                    "key": "pH",
                    "value": "8.67",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "37.569168",
                    "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
                }
            ],
            "accession": "ERS1296764",
            "analysis-completed": "2019-02-19",
            "collection-date": null,
            "geo-loc-name": "GAZ:United States of America;USA:CA",
            "sample-desc": "sediment sample 1 from salt pond 2C",
            "environment-biome": "marine biome",
            "environment-feature": "marine habitat",
            "environment-material": "saline lake sediment",
            "sample-name": "qiita_sid_1580:1580.2C.sed.D1",
            "sample-alias": "qiita_sid_1580:1580.2C.sed.D1",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-02-19T12:37:49"
        },
        "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/ERS1296764/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003765",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003765?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1296764/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1296764?format=api"
        }
    }
}