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

{
    "data": {
        "type": "samples",
        "id": "ERS1197989",
        "attributes": {
            "sample-metadata": [
                {
                    "key": "temperature",
                    "value": "5.35",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "18.232801",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "coastal water",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "coastal water",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "water",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "water",
                    "unit": null
                },
                {
                    "key": "sample collection device or method",
                    "value": "diaphram pump",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "74.0",
                    "unit": null
                },
                {
                    "key": "salinity",
                    "value": "9.9",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "58.581234",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina TSLR",
                    "unit": null
                }
            ],
            "longitude": 18.2328,
            "biosample": "SAMEA4026879",
            "latitude": 58.5812,
            "accession": "ERS1197989",
            "analysis-completed": "2017-06-30",
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Helcom site 4 Deepest Section of the Baltic Sea",
            "environment-biome": "coastal water",
            "environment-feature": "coastal water",
            "environment-material": "water",
            "sample-name": "GS_678",
            "sample-alias": "GS_678",
            "host-tax-id": null,
            "species": null,
            "last-update": "2017-06-30T17:05:10"
        },
        "relationships": {
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1197989/runs?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1197989/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001861",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001861?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"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1197989?format=api"
        }
    }
}