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

{
    "data": {
        "type": "samples",
        "id": "DRS167445",
        "attributes": {
            "longitude": 121.19,
            "biosample": "SAMD00215723",
            "latitude": 32.33,
            "sample-metadata": [
                {
                    "key": "project name",
                    "value": "Study on the dynamics of gastrointestinal bacteria in subadult shrimp (Litopenaeus vannamei) with acute hepatic pancreatic necrosis syndrome (AHPND)",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "121.19",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "China",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2017-04-01",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "gastrointestine",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "6689",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "32.33",
                    "unit": null
                }
            ],
            "accession": "DRS167445",
            "analysis-completed": null,
            "collection-date": "2017-04-01",
            "geo-loc-name": null,
            "sample-desc": "3",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": "gastrointestine",
            "sample-name": "SAMD00215723",
            "sample-alias": "SAMD00215723",
            "host-tax-id": 6689,
            "species": null,
            "last-update": "2021-06-03T13:01:02"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Arthropoda:Digestive system:Gut"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Arthropoda:Digestive%20system:Gut?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS167445/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005746",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005746?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS167445/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS167445?format=api"
        }
    }
}