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

{
    "data": {
        "type": "samples",
        "id": "ERS627871",
        "attributes": {
            "biosample": "SAMEA3174659",
            "longitude": -110.6775,
            "sample-metadata": [
                {
                    "key": "temperature",
                    "value": "30",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-110.6775",
                    "unit": null
                },
                {
                    "key": "geographic location (depth)",
                    "value": "800",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Canada",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2012-04-17",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "terrestrial biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "oil reservoir",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "oil field production water",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "miscellaneous",
                    "unit": null
                },
                {
                    "key": "sample collection device or method",
                    "value": "Anaerobic Sample collection (Nalgene bottles filled till brim)",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "800",
                    "unit": null
                },
                {
                    "key": "pH",
                    "value": "7.2",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "50.0416666666667",
                    "unit": null
                },
                {
                    "key": "miscellaneous parameter2",
                    "value": "No nitrate breakthrough in 10PW after 4 years of nitrate injection in the field for souring control",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "1348798",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "LS454",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ENA default sample checklist (ERC000011)",
                    "unit": null
                },
                {
                    "key": "collection time",
                    "value": "12:30:00",
                    "unit": null
                },
                {
                    "key": "sample name",
                    "value": "PW_MHGC_2012April10_454_newbler2.6_contigSingletons",
                    "unit": null
                },
                {
                    "key": "broker object ID",
                    "value": "mgm4507670.3",
                    "unit": null
                },
                {
                    "key": "collection timezone",
                    "value": "UTC-6",
                    "unit": null
                },
                {
                    "key": "continent",
                    "value": "north america",
                    "unit": null
                },
                {
                    "key": "material",
                    "value": "oil field production water",
                    "unit": null
                },
                {
                    "key": "sample identifier",
                    "value": "4507670.3",
                    "unit": null
                }
            ],
            "latitude": 50.0417,
            "accession": "ERS627871",
            "analysis-completed": "2015-02-06",
            "collection-date": "2012-04-17",
            "geo-loc-name": "Medicine Hat Glauconitic  field, Canada",
            "sample-desc": "PW_MHGC_2012April10_454_newbler2.6_contigSingletons . \" Taxonomy ID:\" . 1348798",
            "environment-biome": "freshwater biome",
            "environment-feature": "oil reservoir",
            "environment-material": "oil field production water",
            "sample-name": "mgs187665",
            "sample-alias": "PW_MHGC_2012April10_454_newbler2.6_contigSingletons . \" Taxonomy ID:\" . 1348798",
            "host-tax-id": null,
            "species": null,
            "last-update": "2015-08-13T15:31:05"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Terrestrial:Soil"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS627871/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/ERS627871/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS627871?format=api"
        }
    }
}