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

{
    "data": {
        "type": "samples",
        "id": "ERS1261491",
        "attributes": {
            "biosample": "SAMEA4350042",
            "sample-metadata": [
                {
                    "key": "temperature",
                    "value": "14.96",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-4.13",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "GAZ:English Channel",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "marine biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "strait",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "seawater",
                    "unit": null
                },
                {
                    "key": "altitude",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "50.0",
                    "unit": null
                },
                {
                    "key": "salinity",
                    "value": "34.71",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "50.15",
                    "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-20",
                    "unit": null
                }
            ],
            "latitude": 50.15,
            "longitude": -4.13,
            "accession": "ERS1261491",
            "analysis-completed": "2019-02-19",
            "collection-date": null,
            "geo-loc-name": "GAZ:English Channel",
            "sample-desc": "surface water sampling between April 2009 an April 2010 at L4 time series station",
            "environment-biome": "marine biome",
            "environment-feature": "strait",
            "environment-material": "seawater",
            "sample-name": "qiita_sid_1240:1240.1409T",
            "sample-alias": "qiita_sid_1240:1240.1409T",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-02-19T10:36:46"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1261491/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003750",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003750?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1261491/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1261491?format=api"
        }
    }
}