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

{
    "data": {
        "type": "samples",
        "id": "ERS1565720",
        "attributes": {
            "biosample": "SAMEA95704168",
            "longitude": 9.0422,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "9.042158",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Denmark",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2006-10-28",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Wastewater treatment plant",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Wastewater treatment plant",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Wastewater activated sludge",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "56.56513",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                }
            ],
            "latitude": 56.5651,
            "accession": "ERS1565720",
            "analysis-completed": "2017-06-13",
            "collection-date": "2006-10-28",
            "geo-loc-name": "Denmark",
            "sample-desc": "Activated sludge",
            "environment-biome": "Wastewater treatment plant",
            "environment-feature": "Wastewater treatment plant",
            "environment-material": "Wastewater activated sludge",
            "sample-name": "16SAMP-287",
            "sample-alias": "16SAMP-287",
            "host-tax-id": null,
            "species": null,
            "last-update": "2017-06-13T15:29:28"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Wastewater:Nutrient removal:Biological phosphorus removal:Bioreactor"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Wastewater:Nutrient%20removal:Biological%20phosphorus%20removal:Bioreactor?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1565720/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001805",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001805?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1565720/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1565720?format=api"
        }
    }
}