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

{
    "data": {
        "type": "samples",
        "id": "SRS981330",
        "attributes": {
            "longitude": -88.4016,
            "biosample": "SAMN03842098",
            "latitude": 28.7051,
            "sample-metadata": [
                {
                    "key": "temperature",
                    "value": "5.5365",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-88.4016",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA: Gulf of Mexico",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2011-09-09",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "marine biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "gulf",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "sea water",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "850.0",
                    "unit": null
                },
                {
                    "key": "salinity",
                    "value": "34.892",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "28.7051",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Ion Torrent PGM",
                    "unit": null
                }
            ],
            "accession": "SRS981330",
            "analysis-completed": "2017-08-30",
            "collection-date": "2011-09-09",
            "geo-loc-name": "USA: Gulf of Mexico",
            "sample-desc": "Station BM57, 850m, rep 1",
            "environment-biome": "marine biome",
            "environment-feature": "gulf",
            "environment-material": "sea water",
            "sample-name": "BP_381105-1",
            "sample-alias": "BP_381105-1",
            "host-tax-id": null,
            "species": null,
            "last-update": "2017-08-30T13:22:49"
        },
        "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/SRS981330/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001932",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001932?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS981330/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS981330?format=api"
        }
    }
}