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

{
    "data": {
        "type": "samples",
        "id": "ERS627854",
        "attributes": {
            "latitude": 51.07,
            "longitude": -114.1,
            "sample-metadata": [
                {
                    "key": "temperature",
                    "value": "25",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-114.1",
                    "unit": null
                },
                {
                    "key": "geographic location (depth)",
                    "value": "0",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Canada",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2010-01-01",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "freshwater biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "anaerobic bioreactor",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "biological product",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "built environment",
                    "unit": null
                },
                {
                    "key": "sample collection device or method",
                    "value": "filtration",
                    "unit": null
                },
                {
                    "key": "altitude",
                    "value": "1084",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0",
                    "unit": null
                },
                {
                    "key": "pH",
                    "value": "7",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "51.07",
                    "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": "12:00:00",
                    "unit": null
                },
                {
                    "key": "sample name",
                    "value": "Toluene 454 QC Reads",
                    "unit": null
                },
                {
                    "key": "broker object ID",
                    "value": "mgm4470904.3",
                    "unit": null
                },
                {
                    "key": "collection timezone",
                    "value": "UTC-6",
                    "unit": null
                },
                {
                    "key": "continent",
                    "value": "north america",
                    "unit": null
                },
                {
                    "key": "material",
                    "value": "biological product",
                    "unit": null
                },
                {
                    "key": "sample identifier",
                    "value": "4470904.3",
                    "unit": null
                }
            ],
            "biosample": "SAMEA3174642",
            "accession": "ERS627854",
            "analysis-completed": "2015-02-06",
            "collection-date": "2010-01-01",
            "geo-loc-name": "Calgary, Canada",
            "sample-desc": "Toluene 454 QC Reads . \" Taxonomy ID:\" . 449393",
            "environment-biome": "freshwater biome",
            "environment-feature": "anaerobic bioreactor",
            "environment-material": "biological product",
            "sample-name": "mgs187614",
            "sample-alias": "Toluene 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/ERS627854/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/ERS627854/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS627854?format=api"
        }
    }
}