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

{
    "data": {
        "type": "samples",
        "id": "ERS742053",
        "attributes": {
            "latitude": 57.3057,
            "longitude": 20.0782,
            "biosample": "SAMEA3432769",
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "mimarks-survey",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "20.0782",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Baltic Sea",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2011-11-14",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "surface water",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "winter",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "aggregates",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "454 Roche",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "57.3057",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS Junior",
                    "unit": null
                }
            ],
            "accession": "ERS742053",
            "analysis-completed": "2017-04-27",
            "collection-date": "2011-11-14",
            "geo-loc-name": "Baltic Sea",
            "sample-desc": "Baltic diversity",
            "environment-biome": "surface water",
            "environment-feature": "winter",
            "environment-material": "aggregates",
            "sample-name": "PA_WI_meso_c",
            "sample-alias": "PA_WI_meso_c",
            "host-tax-id": null,
            "species": null,
            "last-update": "2017-04-27T15:10:54"
        },
        "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"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS742053/runs?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS742053/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001716",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001716?format=api"
                        }
                    }
                ]
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS742053?format=api"
        }
    }
}