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

{
    "data": {
        "type": "samples",
        "id": "ERS2480596",
        "attributes": {
            "longitude": -121.7381,
            "biosample": "SAMEA4659969",
            "latitude": 38.5539,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-121.7381",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "GAZ:United States of America;USA:CA:Davis",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "dense settlement biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "animal-associated habitat",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "intestine environment",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "host-associated",
                    "unit": null
                },
                {
                    "key": "body site",
                    "value": "UBERON:digestive tract",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "16.0",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9031",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "38.5539",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000011",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Gallus gallus",
                    "unit": null
                }
            ],
            "accession": "ERS2480596",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Wet brown content",
            "environment-biome": "dense settlement biome",
            "environment-feature": "animal-associated habitat",
            "environment-material": "intestine environment",
            "sample-name": "qiita_sid_11735:11735.F12",
            "sample-alias": "qiita_sid_11735:11735.F12",
            "host-tax-id": 9031,
            "species": null,
            "last-update": "2020-09-23T18:28:13"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2480596/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005609",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005609?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2480596/runs?format=api"
                }
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Birds:Digestive system"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Birds:Digestive%20system?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2480596?format=api"
        }
    }
}