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

{
    "data": {
        "type": "samples",
        "id": "SRS2118214",
        "attributes": {
            "longitude": 5.81,
            "biosample": "SAMN06678656",
            "latitude": 49.56,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "5.81",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Luxembourg",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2016-03-16",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "reagent",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "reagent",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "49.56",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2019-05-02",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Homo sapiens",
                    "unit": null
                }
            ],
            "accession": "SRS2118214",
            "analysis-completed": "2019-11-18",
            "collection-date": "2016-03-16",
            "geo-loc-name": "Luxembourg",
            "sample-desc": "mock-extraction control E2.f",
            "environment-biome": "reagent",
            "environment-feature": null,
            "environment-material": "reagent",
            "sample-name": "exCE1D.f",
            "sample-alias": "exCE1D.f",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-11-18T12:17:28"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2118214/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005132",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005132?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2118214/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2118214?format=api"
        }
    }
}