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

{
    "data": {
        "type": "samples",
        "id": "SRS589879",
        "attributes": {
            "biosample": "SAMN02644985",
            "longitude": -111.24,
            "latitude": 27.0,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-111.24",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Southern Trough",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2010-06-29",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Hydrothermal vent",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "sediment",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "1.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "27.0",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX Titanium",
                    "unit": null
                }
            ],
            "accession": "SRS589879",
            "analysis-completed": "2018-09-05",
            "collection-date": "2010-06-29",
            "geo-loc-name": "Southern Trough",
            "sample-desc": "Keywords: GSC:MIxS;MIMS:3.0",
            "environment-biome": "Hydrothermal vent",
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "SH1 - Surface layer from the hydrothermal vent core",
            "sample-alias": "SH1 - Surface layer from the hydrothermal vent core",
            "host-tax-id": null,
            "species": null,
            "last-update": "2018-09-05T11:39:57"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS589879/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00002840",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002840?format=api"
                        }
                    }
                ]
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine:Hydrothermal vents:Sediment"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Hydrothermal%20vents:Sediment?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS589879/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS589879?format=api"
        }
    }
}