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

{
    "data": {
        "type": "samples",
        "id": "ERS1610116",
        "attributes": {
            "latitude": 40.01,
            "longitude": -105.271,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-105.271",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA:CO:Boulder",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "urban biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "animal-associated habitat",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "mucus",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "host-associated",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "1624.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "40.01",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 2000",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000011",
                    "unit": null
                },
                {
                    "key": "host sex",
                    "value": "male",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2017-03-19",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Rana catesbeiana",
                    "unit": null
                }
            ],
            "biosample": "SAMEA103920948",
            "accession": "ERS1610116",
            "analysis-completed": "2019-03-06",
            "collection-date": null,
            "geo-loc-name": "USA:CO:Boulder",
            "sample-desc": "frog biogeography, dorsal medial trunk",
            "environment-biome": "urban biome",
            "environment-feature": "animal-associated habitat",
            "environment-material": "mucus",
            "sample-name": "qiita_sid_1748:1748.4.24.12.FR.12.D",
            "sample-alias": "qiita_sid_1748:1748.4.24.12.FR.12.D",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-03-06T20:20:47"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Animal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Animal?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1610116/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003925",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003925?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1610116/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1610116?format=api"
        }
    }
}