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

{
    "data": {
        "type": "samples",
        "id": "ERS2597320",
        "attributes": {
            "longitude": 33.8039,
            "biosample": "SAMEA4777372",
            "latitude": -13.051,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "33.80389",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Malawi",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2017-06-17",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "-13.05097",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina NovaSeq 6000",
                    "unit": null
                }
            ],
            "accession": "ERS2597320",
            "analysis-completed": "2018-09-24",
            "collection-date": "2017-06-17",
            "geo-loc-name": "Malawi",
            "sample-desc": "DTU2017_MG_101_MW_KA",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "DTU2017_MG_101_MW_KA",
            "sample-alias": "DTU2017_MG_101_MW_KA",
            "host-tax-id": null,
            "species": null,
            "last-update": "2018-09-24T15:06:01"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Wastewater"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Wastewater?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2597320/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003139",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003139?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2597320/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2597320?format=api"
        }
    }
}