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

{
    "data": {
        "type": "samples",
        "id": "ERS2597395",
        "attributes": {
            "biosample": "SAMEA4777447",
            "longitude": -53.6531,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-53.65305",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Denmark",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2017-06-16",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "66.9425",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina NovaSeq 6000",
                    "unit": null
                }
            ],
            "latitude": 66.9425,
            "accession": "ERS2597395",
            "analysis-completed": "2018-09-24",
            "collection-date": "2017-06-16",
            "geo-loc-name": "Denmark",
            "sample-desc": "DTU2017_MG_18_GL_SI",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "DTU2017_MG_18_GL_SI",
            "sample-alias": "DTU2017_MG_18_GL_SI",
            "host-tax-id": null,
            "species": null,
            "last-update": "2018-09-24T15:06:00"
        },
        "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/ERS2597395/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/ERS2597395/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2597395?format=api"
        }
    }
}