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

{
    "data": {
        "type": "samples",
        "id": "DRS058256",
        "attributes": {
            "biosample": "SAMD00110662",
            "longitude": 140.57,
            "sample-metadata": [
                {
                    "key": "project name",
                    "value": "Analysis of bacterial metagenome in sorghum root",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "140.57",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Japan:Fukushima, Nihonmatsu",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2016-09-16",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "terrestrial biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "plant-associated habitat",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "root matter",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "37.51",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "host body site",
                    "value": "root",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2018-12-01",
                    "unit": null
                }
            ],
            "latitude": 37.51,
            "accession": "DRS058256",
            "analysis-completed": "2019-06-17",
            "collection-date": "2016-09-16",
            "geo-loc-name": "Japan:Fukushima, Nihonmatsu",
            "sample-desc": "microbial metagenome related to root of sorghum line KM2_rep3",
            "environment-biome": "terrestrial biome",
            "environment-feature": "plant-associated habitat",
            "environment-material": "root matter",
            "sample-name": "microbial metagenome related to root of sorghum line KM2_rep3",
            "sample-alias": "SAMD00110662",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-06-17T17:14:38"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Plants:Root"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants:Root?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS058256/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005015",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005015?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS058256/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS058256?format=api"
        }
    }
}