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

{
    "data": {
        "type": "samples",
        "id": "ERS1359757",
        "attributes": {
            "latitude": 44.3,
            "longitude": -78.3167,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Biofilm sloughing in IFAS system",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2014",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "wastewater/sludge",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina",
                    "unit": null
                },
                {
                    "key": "wastewater type",
                    "value": "Municipal",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "527639",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "GSC MIxS wastewater sludge (ERC000023)",
                    "unit": null
                }
            ],
            "biosample": "SAMEA4460578",
            "accession": "ERS1359757",
            "analysis-completed": "2016-09-29",
            "collection-date": null,
            "geo-loc-name": "Canada",
            "sample-desc": "IFAS biofilms during sloughing",
            "environment-biome": "wastewater",
            "environment-feature": "wastewater",
            "environment-material": "water",
            "sample-name": "Biofilms during sloughing",
            "sample-alias": "IFAS4",
            "host-tax-id": null,
            "species": null,
            "last-update": "2016-09-29T13:59:39"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Freshwater:Groundwater:Biofilm"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Freshwater:Groundwater:Biofilm?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1359757/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001238",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001238?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1359757/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1359757?format=api"
        }
    }
}