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

{
    "data": {
        "type": "samples",
        "id": "ERS1243517",
        "attributes": {
            "longitude": 12.615,
            "biosample": "SAMEA4072407",
            "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-06-27",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "55.694984",
                    "unit": null
                },
                {
                    "key": "sewage type",
                    "value": "Waste water treament 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
                },
                {
                    "key": "name of the sampling site",
                    "value": "Renseanlæg Lynetten",
                    "unit": null
                }
            ],
            "accession": "ERS1243517",
            "analysis-completed": "2016-07-12",
            "collection-date": "2016-06-27",
            "geo-loc-name": "Denmark",
            "sample-desc": "Danish sewage",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "DTU2016-1612-PRJ1066-RL-Sewage-107_S11",
            "sample-alias": "DTU2016-1612-PRJ1066-RL-Sewage-107_S11",
            "host-tax-id": null,
            "species": null,
            "last-update": "2020-05-22T02:59:21"
        },
        "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/ERS1243517/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/ERS1243517/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1243517?format=api"
        }
    }
}