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

{
    "data": {
        "type": "samples",
        "id": "SRS652129",
        "attributes": {
            "biosample": "SAMN02899122",
            "longitude": 38.9888,
            "latitude": 22.1866,
            "sample-metadata": [
                {
                    "key": "temperature",
                    "value": "25.4",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "38.98883",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Saudi Arabia: Red Sea",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2014-01-01/2014-01-31",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "marine benthic",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "coastal water body",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "marine sediment",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "33.0",
                    "unit": null
                },
                {
                    "key": "pH",
                    "value": "8.286-8.286",
                    "unit": null
                },
                {
                    "key": "salinity",
                    "value": "39.3",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "22.18657",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Ion Torrent PGM",
                    "unit": null
                }
            ],
            "accession": "SRS652129",
            "analysis-completed": "2018-07-19",
            "collection-date": "2014-01-01",
            "geo-loc-name": "Saudi Arabia: Red Sea",
            "sample-desc": "TH6R2B",
            "environment-biome": "marine benthic",
            "environment-feature": "coastal water body",
            "environment-material": "marine sediment",
            "sample-name": "TH6R2B",
            "sample-alias": "TH6R2B",
            "host-tax-id": null,
            "species": null,
            "last-update": "2018-07-19T19:45:34"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS652129/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00002565",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002565?format=api"
                        }
                    }
                ]
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine:Sediment"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Sediment?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS652129/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS652129?format=api"
        }
    }
}