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

{
    "data": {
        "type": "samples",
        "id": "ERS805489",
        "attributes": {
            "latitude": 57.05,
            "longitude": 9.8654,
            "biosample": "SAMEA3498340",
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Commamox",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2014-10-01",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "527639",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 2000",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "GSC MIxS wastewater sludge (ERC000023)",
                    "unit": null
                },
                {
                    "key": "wastewater/sludge environmental package",
                    "value": "wastewater/sludge",
                    "unit": null
                }
            ],
            "accession": "ERS805489",
            "analysis-completed": "2017-01-10",
            "collection-date": null,
            "geo-loc-name": "Denmark",
            "sample-desc": "MBR Sludge",
            "environment-biome": "wastewater treatment plant",
            "environment-feature": "wastewater treatment plant",
            "environment-material": "activated sludge",
            "sample-name": "MBR Sludge",
            "sample-alias": "MBR_MBR1",
            "host-tax-id": null,
            "species": null,
            "last-update": "2017-01-10T13:12:46"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Wastewater:Industrial wastewater:Petrochemical"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Wastewater:Industrial%20wastewater:Petrochemical?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS805489/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001392",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001392?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS805489/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS805489?format=api"
        }
    }
}