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

{
    "data": {
        "type": "samples",
        "id": "ERS1236701",
        "attributes": {
            "latitude": -54.5892,
            "longitude": 71.1667,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "mimarks-survey",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "71.16666",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Atlantic Ocean",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2012-07-27",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "ocean",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "marine water body",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "ocean water",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "pyrosequencing",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "-54.58917",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX Titanium",
                    "unit": null
                }
            ],
            "biosample": "SAMEA4065591",
            "accession": "ERS1236701",
            "analysis-completed": "2017-04-11",
            "collection-date": "2012-07-27",
            "geo-loc-name": "Atlantic Ocean",
            "sample-desc": "water sample in Uummannaq Fjord (Greenland) with rosette sampler",
            "environment-biome": "ocean",
            "environment-feature": "marine water body",
            "environment-material": "ocean water",
            "sample-name": "ST504NANO",
            "sample-alias": "504NANO",
            "host-tax-id": null,
            "species": null,
            "last-update": "2017-04-11T14:01:46"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine:Coastal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Coastal?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1236701/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001686",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001686?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1236701/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1236701?format=api"
        }
    }
}