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

{
    "data": {
        "type": "samples",
        "id": "ERS1296768",
        "attributes": {
            "biosample": "SAMEA4385319",
            "longitude": -121.973,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-121.97303",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "GAZ:United States of America;USA:CA",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "small lake biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "haline 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": "0.152",
                    "unit": null
                },
                {
                    "key": "pH",
                    "value": "7.43",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "37.474068",
                    "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": 37.4741,
            "accession": "ERS1296768",
            "analysis-completed": "2019-02-19",
            "collection-date": null,
            "geo-loc-name": "GAZ:United States of America;USA:CA",
            "sample-desc": "sediment sample 2 from salt pond A23",
            "environment-biome": "small lake biome",
            "environment-feature": "haline habitat",
            "environment-material": "saline lake sediment",
            "sample-name": "qiita_sid_1580:1580.A23.2.sed.D1",
            "sample-alias": "qiita_sid_1580:1580.A23.2.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/ERS1296768/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/ERS1296768/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1296768?format=api"
        }
    }
}