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

{
    "data": {
        "type": "samples",
        "id": "ERS632928",
        "attributes": {
            "latitude": 55.3995,
            "longitude": 10.4148,
            "biosample": "SAMEA3180056",
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Danish EBPR WWTP metagenome",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2012-06-15",
                    "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": "ERS632928",
            "analysis-completed": "2017-02-28",
            "collection-date": null,
            "geo-loc-name": "Denmark",
            "sample-desc": "Ejby Moelle Q2 2012",
            "environment-biome": "wastewater treatment plant",
            "environment-feature": "wastewater treatment plant",
            "environment-material": "activated sludge",
            "sample-name": "Ejby Moelle Q2 2012",
            "sample-alias": "EJB-2-2012",
            "host-tax-id": null,
            "species": null,
            "last-update": "2017-02-28T10:14:06"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Wastewater:Nutrient removal:Biological phosphorus removal:Activated sludge"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Wastewater:Nutrient%20removal:Biological%20phosphorus%20removal:Activated%20sludge?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS632928/runs?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS632928/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001542",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001542?format=api"
                        }
                    }
                ]
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS632928?format=api"
        }
    }
}