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

{
    "data": {
        "type": "samples",
        "id": "DRS147837",
        "attributes": {
            "latitude": 38.1614,
            "longitude": 140.3906,
            "sample-metadata": [
                {
                    "key": "project name",
                    "value": "Data of mycorrhizal fungi",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "140.3906",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Japan:Yamagata, Zaoonsen",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2018-07-16",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "temperate forest",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "forest",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "root tip",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "213178",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "38.16143",
                    "unit": null
                }
            ],
            "biosample": "SAMD00204398",
            "accession": "DRS147837",
            "analysis-completed": null,
            "collection-date": "2018-07-16",
            "geo-loc-name": null,
            "sample-desc": "Fungal meta-barcoding of plant root tips, Q.crispula corrected from plots without P.japonica and P.subaphylla 08, kin4-1A",
            "environment-biome": "temperate forest",
            "environment-feature": "forest",
            "environment-material": "root tip",
            "sample-name": "SAMD00204398",
            "sample-alias": "SAMD00204398",
            "host-tax-id": 213178,
            "species": null,
            "last-update": "2021-06-07T19:04:17"
        },
        "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/DRS147837/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005754",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005754?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS147837/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS147837?format=api"
        }
    }
}