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

{
    "data": {
        "type": "samples",
        "id": "ERS1458879",
        "attributes": {
            "latitude": 46.4527,
            "longitude": -80.9432,
            "biosample": "SAMEA4559700",
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Sudbury lake mesocosms",
                    "unit": null
                },
                {
                    "key": "geographic location (depth)",
                    "value": "0.3",
                    "unit": "m"
                },
                {
                    "key": "collection date",
                    "value": "2015",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina NextSeq",
                    "unit": null
                },
                {
                    "key": "geographic location (elevation)",
                    "value": "0",
                    "unit": "m"
                },
                {
                    "key": "NCBI sample classification",
                    "value": "256318",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "NextSeq 550",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "GSC MIxS sediment (ERC000021)",
                    "unit": null
                },
                {
                    "key": "sediment environmental package",
                    "value": "sediment",
                    "unit": null
                }
            ],
            "accession": "ERS1458879",
            "analysis-completed": "2016-12-05",
            "collection-date": null,
            "geo-loc-name": "Canada",
            "sample-desc": "Sudbury lake mesocosms",
            "environment-biome": "Boreal",
            "environment-feature": "lake",
            "environment-material": "sediment",
            "sample-name": "Sudbury lake mesocosms",
            "sample-alias": "14",
            "host-tax-id": null,
            "species": null,
            "last-update": "2016-12-05T16:30:12"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Freshwater:Lake"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Freshwater:Lake?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1458879/runs?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1458879/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001336",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001336?format=api"
                        }
                    }
                ]
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1458879?format=api"
        }
    }
}