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

{
    "data": {
        "type": "samples",
        "id": "DRS167493",
        "attributes": {
            "latitude": 30.426,
            "longitude": 130.5695,
            "sample-metadata": [
                {
                    "key": "project name",
                    "value": "Diversity and composition of rumen microbiome",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "130.56947",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Japan:Kagoshima, Yakushima",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2016-04-01",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "rumen",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "332176",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "30.425962",
                    "unit": null
                }
            ],
            "biosample": "SAMD00159197",
            "accession": "DRS167493",
            "analysis-completed": null,
            "collection-date": "2016-04-01",
            "geo-loc-name": null,
            "sample-desc": "not applicable",
            "environment-biome": null,
            "environment-feature": "rumen",
            "environment-material": null,
            "sample-name": "SAMD00159197",
            "sample-alias": "SAMD00159197",
            "host-tax-id": 332176,
            "species": null,
            "last-update": "2021-06-03T13:02:21"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mammals:Digestive system:Stomach:Rumen"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system:Stomach:Rumen?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS167493/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005747",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005747?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS167493/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS167493?format=api"
        }
    }
}