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

{
    "data": {
        "type": "samples",
        "id": "ERS2466932",
        "attributes": {
            "sample-metadata": [
                {
                    "key": "temperature",
                    "value": "35.0",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "NPDF/2016/1239",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "69.955",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2017-01-01",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Sediment",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Pelagic sediment",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Sediment",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "water",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "28.0",
                    "unit": null
                },
                {
                    "key": "salinity",
                    "value": "40.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "22.7443",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 4000",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000027",
                    "unit": null
                }
            ],
            "longitude": 69.955,
            "biosample": "SAMEA4646287",
            "latitude": 22.7443,
            "accession": "ERS2466932",
            "analysis-completed": "2018-05-23",
            "collection-date": "2017-01-01",
            "geo-loc-name": null,
            "sample-desc": "NPDF/2016/1239",
            "environment-biome": "Sediment",
            "environment-feature": "Pelagic sediment",
            "environment-material": "Sediment",
            "sample-name": "GOKS2",
            "sample-alias": "GOKS2",
            "host-tax-id": null,
            "species": null,
            "last-update": "2020-04-16T10:16:13"
        },
        "relationships": {
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2466932/runs?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2466932/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00002379",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002379?format=api"
                        }
                    }
                ]
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine:Sediment"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Sediment?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2466932?format=api"
        }
    }
}