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

{
    "data": {
        "type": "samples",
        "id": "ERS1736896",
        "attributes": {
            "latitude": 53.3811,
            "longitude": -1.4701,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-1.4701",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "United Kingdom",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2016-01-14",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "aquatic",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "organic",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "sludge",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "pyroseqeuncing",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "53.3811",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                }
            ],
            "biosample": "SAMEA104073003",
            "accession": "ERS1736896",
            "analysis-completed": "2017-05-25",
            "collection-date": "2016-01-14",
            "geo-loc-name": "United Kingdom",
            "sample-desc": "Sheffield AD metagenomics",
            "environment-biome": "aquatic",
            "environment-feature": "organic",
            "environment-material": "sludge",
            "sample-name": "BMS3_MO",
            "sample-alias": "BMS3_MO",
            "host-tax-id": null,
            "species": null,
            "last-update": "2017-05-25T08:43:06"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Biogas plant:Wet fermentation"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Biogas%20plant:Wet%20fermentation?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1736896/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001776",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001776?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1736896/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1736896?format=api"
        }
    }
}