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

{
    "data": {
        "type": "samples",
        "id": "DRS034331",
        "attributes": {
            "biosample": "SAMD00028932",
            "longitude": -88.2042,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-88.2042",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA: IL, Urbana",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2014-04-26",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "wastewater treatment plant",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Water",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "40.1097",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                }
            ],
            "latitude": 40.1097,
            "accession": "DRS034331",
            "analysis-completed": "2017-06-20",
            "collection-date": "2014-04-26",
            "geo-loc-name": "USA: IL, Urbana",
            "sample-desc": "RNA of 70C 5min at day 42 (replicate 2)",
            "environment-biome": null,
            "environment-feature": "wastewater treatment plant",
            "environment-material": "Water",
            "sample-name": "70-5-42-RNA2",
            "sample-alias": "SAMD00028932",
            "host-tax-id": null,
            "species": null,
            "last-update": "2017-06-20T13:58:48"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Wastewater:Nutrient removal:Dissolved organics (anaerobic)"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Wastewater:Nutrient%20removal:Dissolved%20organics%20(anaerobic)?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS034331/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001828",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001828?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS034331/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS034331?format=api"
        }
    }
}