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

{
    "data": {
        "type": "samples",
        "id": "ERS1248311",
        "attributes": {
            "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;USA:CO:Boulder",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2050-01-01",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "urban biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "research facility",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "sterile water",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "misc environment",
                    "unit": null
                },
                {
                    "key": "altitude",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "3.0",
                    "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": "last update date",
                    "value": "2016-07-13",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "metagenome",
                    "unit": null
                }
            ],
            "latitude": 40.01,
            "biosample": "SAMEA4077201",
            "longitude": -105.27,
            "accession": "ERS1248311",
            "analysis-completed": "2018-12-19",
            "collection-date": "2050-01-01",
            "geo-loc-name": "GAZ:United States of America;USA:CO:Boulder",
            "sample-desc": "Control4.H12",
            "environment-biome": "urban biome",
            "environment-feature": "research facility",
            "environment-material": "sterile water",
            "sample-name": "qiita_sid_1694:1694.4.H12.Pmoss.Jstar.16s.NoIndex.sequences",
            "sample-alias": "qiita_sid_1694:1694.4.H12.Pmoss.Jstar.16s.NoIndex.sequences",
            "host-tax-id": null,
            "species": null,
            "last-update": "2018-12-19T15:15:06"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1248311/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003706",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003706?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1248311/runs?format=api"
                }
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Birds"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Birds?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1248311?format=api"
        }
    }
}