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

{
    "data": {
        "type": "samples",
        "id": "SRS636614",
        "attributes": {
            "latitude": 16.544,
            "longitude": 41.985,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "41.985",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Saudia Arabia:Red Sea",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2012-01-01/2012-12-31",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "coral reef",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "reef",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "water",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.5",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "16.544",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX Titanium",
                    "unit": null
                }
            ],
            "biosample": "SAMN02848675",
            "accession": "SRS636614",
            "analysis-completed": "2018-09-03",
            "collection-date": "2012-01-01",
            "geo-loc-name": "Saudia Arabia:Red Sea",
            "sample-desc": "Farasan10",
            "environment-biome": "coral reef",
            "environment-feature": "reef",
            "environment-material": "water",
            "sample-name": "Farasan10",
            "sample-alias": "Farasan10",
            "host-tax-id": null,
            "species": null,
            "last-update": "2018-09-03T15:12:37"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine:Intertidal zone:Coral reef"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Intertidal%20zone:Coral%20reef?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS636614/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00002778",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002778?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS636614/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS636614?format=api"
        }
    }
}