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

{
    "data": {
        "type": "samples",
        "id": "ERS742040",
        "attributes": {
            "longitude": 10.0,
            "biosample": "SAMEA3432756",
            "latitude": 58.1333,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "mimarks-survey",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "10.0",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Baltic Sea",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2012-05-30",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "surface water",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "summer",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "aggregates",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "454 Roche",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "58.1333",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS Junior",
                    "unit": null
                }
            ],
            "accession": "ERS742040",
            "analysis-completed": "2017-04-27",
            "collection-date": "2012-05-30",
            "geo-loc-name": "Baltic Sea",
            "sample-desc": "Baltic diversity",
            "environment-biome": "surface water",
            "environment-feature": "summer",
            "environment-material": "aggregates",
            "sample-name": "PA_SO_mar_b",
            "sample-alias": "PA_SO_mar_b",
            "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"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS742040/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001716",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001716?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS742040/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS742040?format=api"
        }
    }
}