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

{
    "data": {
        "type": "samples",
        "id": "ERS350069",
        "attributes": {
            "biosample": "SAMEA2190526",
            "longitude": -105.27,
            "latitude": 40.01,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-105.27",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "GAZ:United States of America",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "ENVO:terrestrial biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "ENVO:soil",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "ENVO:soil",
                    "unit": null
                },
                {
                    "key": "altitude",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "1624.0",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "10088",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "40.01",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000011",
                    "unit": null
                }
            ],
            "accession": "ERS350069",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "untreated_soil.soil.4",
            "environment-biome": "ENVO:terrestrial biome",
            "environment-feature": "ENVO:soil",
            "environment-material": "ENVO:soil",
            "sample-name": "qiime_study_1889:soil1.0.1g.T4U4",
            "sample-alias": "qiime_study_1889:soil1.0.1g.T4U4",
            "host-tax-id": 10088,
            "species": null,
            "last-update": "2020-06-18T21:03:11"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS350069/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005538",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005538?format=api"
                        }
                    }
                ]
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mammals"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS350069/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS350069?format=api"
        }
    }
}