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

{
    "data": {
        "type": "samples",
        "id": "ERS008880",
        "attributes": {
            "biosample": "SAMEA937296",
            "longitude": 22.8968,
            "latitude": 59.4835,
            "sample-metadata": [
                {
                    "key": "temperature",
                    "value": "5.53",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "22.896833",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2008-05-14",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "1.0",
                    "unit": null
                },
                {
                    "key": "salinity",
                    "value": "10.41",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "59.483482",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2018-03-09",
                    "unit": null
                }
            ],
            "accession": "ERS008880",
            "analysis-completed": "2019-04-05",
            "collection-date": "2008-05-14",
            "geo-loc-name": null,
            "sample-desc": "Brackish water sample taken from 81m depth in the northern Baltic Sea",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "LL12_81m",
            "sample-alias": "LL12_81m",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-04-05T14:00:50"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS008880/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00004020",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004020?format=api"
                        }
                    }
                ]
            },
            "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"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS008880/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS008880?format=api"
        }
    }
}