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

{
    "data": {
        "type": "samples",
        "id": "ERS1162586",
        "attributes": {
            "longitude": 17.6598,
            "biosample": "SAMEA3991476",
            "latitude": 59.8445,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "SWESTP",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "17.659843",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Sweden",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2012-09-26",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "anthropogenic terrestrial biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "sewage plant",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "surface water",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "wastewater/sludge",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina HiSeq",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "59.84452",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "256318",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 2500",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000023",
                    "unit": null
                }
            ],
            "accession": "ERS1162586",
            "analysis-completed": "2016-06-22",
            "collection-date": "2012-09-26",
            "geo-loc-name": "Sweden",
            "sample-desc": "Uppsala-treated 169",
            "environment-biome": "anthropogenic terrestrial biome",
            "environment-feature": "sewage plant",
            "environment-material": "surface water",
            "sample-name": "SWESTP57",
            "sample-alias": "SWESTP57",
            "host-tax-id": null,
            "species": null,
            "last-update": "2020-05-13T15:42:59"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Wastewater:Industrial wastewater"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Wastewater:Industrial%20wastewater?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1162586/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001110",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001110?format=api"
                        }
                    },
                    {
                        "type": "studies",
                        "id": "MGYS00002039",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002039?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1162586/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1162586?format=api"
        }
    }
}