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

{
    "data": {
        "type": "samples",
        "id": "ERS078137",
        "attributes": {
            "biosample": "SAMEA1569091",
            "longitude": null,
            "sample-metadata": [
                {
                    "key": "project name",
                    "value": "UK Soils",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "not available",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "UK",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2007",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "terrestrial biome ENVO:00000446",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Soil ENVO:00001998",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Soil ENVO:00001998",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "pyrosequencing",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0-0.15",
                    "unit": "m"
                },
                {
                    "key": "pH",
                    "value": "8.4",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "not available",
                    "unit": null
                },
                {
                    "key": "alt id - submitted sample id",
                    "value": "RL2_HAT8ZL102.sff",
                    "unit": null
                },
                {
                    "key": "alt id - GOLD",
                    "value": "4475888.3",
                    "unit": null
                },
                {
                    "key": "GOLD sample classification",
                    "value": "Environmental > Terrestrial > Soil > Unclassified > Unclassified",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS",
                    "unit": null
                }
            ],
            "latitude": null,
            "accession": "ERS078137",
            "analysis-completed": "2011-12-12",
            "collection-date": "2007-01-01",
            "geo-loc-name": "UK",
            "sample-desc": "High pH soil from UK Countryside Survey, CS251",
            "environment-biome": "terrestrial biome",
            "environment-feature": "soil",
            "environment-material": "soil",
            "sample-name": "High pH soil from UK Countryside Survey, CS251",
            "sample-alias": "RL2_HAT8ZL102.sff",
            "host-tax-id": null,
            "species": null,
            "last-update": "2015-08-13T15:30:54"
        },
        "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/ERS078137/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000295",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000295?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS078137/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS078137?format=api"
        }
    }
}