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

{
    "data": {
        "type": "samples",
        "id": "ERS627832",
        "attributes": {
            "latitude": 57.02,
            "longitude": -111.55,
            "sample-metadata": [
                {
                    "key": "temperature",
                    "value": "25",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-111.55",
                    "unit": null
                },
                {
                    "key": "geographic location (depth)",
                    "value": "0.1",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Canada",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2011-07-15",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "freshwater biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "mine tailing",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "waste water",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "wastewater|sludge",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.1",
                    "unit": null
                },
                {
                    "key": "pH",
                    "value": "8.69",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "57.02",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "449393",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "LS454",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ENA default sample checklist (ERC000011)",
                    "unit": null
                },
                {
                    "key": "collection time",
                    "value": "09:00:00",
                    "unit": null
                },
                {
                    "key": "sample name",
                    "value": "WIP-PD_SYN_TP_WS_002_003_071511 454 QC Reads",
                    "unit": null
                },
                {
                    "key": "broker object ID",
                    "value": "mgm4507669.3",
                    "unit": null
                },
                {
                    "key": "collection timezone",
                    "value": "UTC-6",
                    "unit": null
                },
                {
                    "key": "continent",
                    "value": "north america",
                    "unit": null
                },
                {
                    "key": "material",
                    "value": "waste water",
                    "unit": null
                },
                {
                    "key": "sample identifier",
                    "value": "4507669.3",
                    "unit": null
                }
            ],
            "biosample": "SAMEA3174620",
            "accession": "ERS627832",
            "analysis-completed": "2015-02-06",
            "collection-date": "2011-07-15",
            "geo-loc-name": "SyncrudeFt.McMurrayAlberta, Canada",
            "sample-desc": "WIP-PD_SYN_TP_WS_002_003_071511 454 QC Reads . \" Taxonomy ID:\" . 449393",
            "environment-biome": "freshwater biome",
            "environment-feature": "mine tailing",
            "environment-material": "waste water",
            "sample-name": "mgs187548",
            "sample-alias": "WIP-PD_SYN_TP_WS_002_003_071511 454 QC Reads . \" Taxonomy ID:\" . 449393",
            "host-tax-id": null,
            "species": null,
            "last-update": "2015-08-13T15:31:05"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Freshwater"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Freshwater?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS627832/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000453",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000453?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS627832/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS627832?format=api"
        }
    }
}