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

{
    "data": {
        "type": "samples",
        "id": "SRS4517418",
        "attributes": {
            "biosample": "SAMN11191476",
            "longitude": -110.4847,
            "latitude": 44.6534,
            "sample-metadata": [
                {
                    "key": "temperature",
                    "value": "75.0",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-110.48471",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA: Yellowstone National Park, Wyoming",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2016-02-01",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "44.65335",
                    "unit": null
                }
            ],
            "accession": "SRS4517418",
            "analysis-completed": null,
            "collection-date": "2016-02-01",
            "geo-loc-name": null,
            "sample-desc": "Hot spring water sample",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "CH09 hot spring metavirome",
            "sample-alias": "CH09 hot spring metavirome",
            "host-tax-id": null,
            "species": null,
            "last-update": "2020-11-30T09:57:35"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4517418/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005665",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005665?format=api"
                        }
                    }
                ]
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Thermal springs:Hot (42-90C)"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Thermal%20springs:Hot%20(42-90C)?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4517418/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4517418?format=api"
        }
    }
}