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

{
    "data": {
        "type": "samples",
        "id": "SRS1073531",
        "attributes": {
            "latitude": 59.78,
            "longitude": 17.64,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "17.64",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Sweden: Lake Ekoln",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2012-10-04",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "boreal forest",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "lake",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "incubated water",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "59.78",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2015-09-24",
                    "unit": null
                }
            ],
            "biosample": "SAMN04095618",
            "accession": "SRS1073531",
            "analysis-completed": "2019-04-06",
            "collection-date": "2012-10-04",
            "geo-loc-name": "Sweden: Lake Ekoln",
            "sample-desc": "LwI45",
            "environment-biome": "boreal forest",
            "environment-feature": "lake",
            "environment-material": "incubated water",
            "sample-name": "LwI45",
            "sample-alias": "LwI45",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-04-06T06:40:13"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Freshwater:Lake"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Freshwater:Lake?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1073531/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00004390",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004390?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1073531/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1073531?format=api"
        }
    }
}