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

{
    "data": {
        "type": "samples",
        "id": "ERS1972424",
        "attributes": {
            "sample-metadata": [
                {
                    "key": "temperature",
                    "value": "0.5837",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-147.8711",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "marine biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "marine water body",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "seawater",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "water",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "1.0",
                    "unit": null
                },
                {
                    "key": "salinity",
                    "value": "35.2157",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "77.4476",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                }
            ],
            "latitude": 77.4476,
            "biosample": "SAMEA104347446",
            "longitude": -147.8711,
            "accession": "ERS1972424",
            "analysis-completed": "2017-11-20",
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Station 52 seawater, depth 1m",
            "environment-biome": "marine biome",
            "environment-feature": "marine water body",
            "environment-material": "seawater",
            "sample-name": "KD101_170322",
            "sample-alias": "KD101_170322",
            "host-tax-id": null,
            "species": null,
            "last-update": "2017-11-20T13:09:38"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1972424/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000991",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000991?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1972424/runs?format=api"
                }
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine:Oceanic"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Oceanic?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1972424?format=api"
        }
    }
}