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

{
    "data": {
        "type": "samples",
        "id": "DRS050293",
        "attributes": {
            "biosample": "SAMD00041351",
            "longitude": 139.9334,
            "latitude": 35.9003,
            "sample-metadata": [
                {
                    "key": "project name",
                    "value": "Activated Sludge WL Reactor",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "139.9334",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Japan:Kashiwa",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2010-10-04",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "wastewater",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "aerobic",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "activated sludge",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "35.9003",
                    "unit": null
                }
            ],
            "accession": "DRS050293",
            "analysis-completed": null,
            "collection-date": "2010-10-04",
            "geo-loc-name": null,
            "sample-desc": "WL10_112",
            "environment-biome": "wastewater",
            "environment-feature": "aerobic",
            "environment-material": "activated sludge",
            "sample-name": "SAMD00041351",
            "sample-alias": "SAMD00041351",
            "host-tax-id": null,
            "species": null,
            "last-update": "2021-06-07T13:00:25"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS050293/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005741",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005741?format=api"
                        }
                    }
                ]
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Wastewater:Activated Sludge"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Wastewater:Activated%20Sludge?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS050293/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS050293?format=api"
        }
    }
}