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

{
    "data": {
        "type": "samples",
        "id": "ERS1215577",
        "attributes": {
            "longitude": 12.615,
            "biosample": "SAMEA4044467",
            "latitude": 55.695,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "12.615026",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Denmark",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2016-04-17",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "55.694984",
                    "unit": null
                },
                {
                    "key": "sewage type",
                    "value": "Waste water treatment plant",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "527639",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000036",
                    "unit": null
                }
            ],
            "accession": "ERS1215577",
            "analysis-completed": "2016-06-27",
            "collection-date": "2016-04-17",
            "geo-loc-name": "Denmark",
            "sample-desc": "Danish sewage",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "DTU2016-1137-PRJ1066-RL-Sewage-65_S5_L001",
            "sample-alias": "DTU2016-1137-PRJ1066-RL-Sewage-65_S5_L001",
            "host-tax-id": null,
            "species": null,
            "last-update": "2020-05-22T03:38:24"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Wastewater:Water and sludge"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Wastewater:Water%20and%20sludge?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1215577/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001135",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001135?format=api"
                        }
                    },
                    {
                        "type": "studies",
                        "id": "MGYS00005418",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005418?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1215577/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1215577?format=api"
        }
    }
}