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

{
    "data": {
        "type": "samples",
        "id": "DRS080632",
        "attributes": {
            "biosample": "SAMD00152326",
            "longitude": 127.85,
            "sample-metadata": [
                {
                    "key": "project name",
                    "value": "Associated bacterial profiles in Porites lutea tissues affected by pink pigmentation response (PPR)",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "127.85",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Japan:Okinawa, Sesoko Island, Sesoko Beach",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2015-02-06",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "ocean",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "lagoon",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "seawater",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "1.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "26.654",
                    "unit": null
                }
            ],
            "latitude": 26.654,
            "accession": "DRS080632",
            "analysis-completed": null,
            "collection-date": "2015-02-06",
            "geo-loc-name": null,
            "sample-desc": "seawater collected around targeted corals, 16S rRNA gene amplicons",
            "environment-biome": "ocean",
            "environment-feature": "lagoon",
            "environment-material": "seawater",
            "sample-name": "DRS080632",
            "sample-alias": "DRS080632",
            "host-tax-id": null,
            "species": null,
            "last-update": "2021-06-07T13:54:17"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Invertebrates:Cnidaria:Coral"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Invertebrates:Cnidaria:Coral?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS080632/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005751",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005751?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS080632/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS080632?format=api"
        }
    }
}