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

{
    "data": {
        "type": "samples",
        "id": "ERS1248321",
        "attributes": {
            "biosample": "SAMEA4077211",
            "longitude": -2.9617,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-2.961656",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "GAZ:Spain;Spain:Pocico",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2009-04-22",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "mediterranean forests, woodlands, and shrub biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "nest of bird",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "egg",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "host-associated",
                    "unit": null
                },
                {
                    "key": "altitude",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "1128.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "37.225597",
                    "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",
                    "value": "starling",
                    "unit": null
                }
            ],
            "latitude": 37.2256,
            "accession": "ERS1248321",
            "analysis-completed": "2018-12-19",
            "collection-date": "2009-04-22",
            "geo-loc-name": "GAZ:Spain;Spain:Pocico",
            "sample-desc": "egg.St1A7",
            "environment-biome": "mediterranean forests, woodlands, and shrub biome",
            "environment-feature": "nest of bird",
            "environment-material": "egg",
            "sample-name": "qiita_sid_1694:1694.St1A7.Pmoss.Jstar.16s.NoIndex.sequences",
            "sample-alias": "qiita_sid_1694:1694.St1A7.Pmoss.Jstar.16s.NoIndex.sequences",
            "host-tax-id": null,
            "species": null,
            "last-update": "2018-12-19T15:15:06"
        },
        "relationships": {
            "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"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1248321/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/ERS1248321/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1248321?format=api"
        }
    }
}