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

{
    "data": {
        "type": "samples",
        "id": "ERS1247895",
        "attributes": {
            "biosample": "SAMEA4076785",
            "longitude": 5.22,
            "latitude": 60.27,
            "sample-metadata": [
                {
                    "key": "temperature",
                    "value": "9.6",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "5.22",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "GAZ:Norway;Norway:Bergen",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "marine biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "ocean",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "sea water",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "water",
                    "unit": null
                },
                {
                    "key": "altitude",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.0",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "44.0",
                    "unit": null
                },
                {
                    "key": "salinity",
                    "value": "31.4",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "60.27",
                    "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
                }
            ],
            "accession": "ERS1247895",
            "analysis-completed": "2019-02-26",
            "collection-date": null,
            "geo-loc-name": "GAZ:Norway;Norway:Bergen",
            "sample-desc": "Mesocosm Bag 14",
            "environment-biome": "marine biome",
            "environment-feature": "ocean",
            "environment-material": "sea water",
            "sample-name": "qiita_sid_1222:1222.B1.5.20.06",
            "sample-alias": "qiita_sid_1222:1222.B1.5.20.06",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-02-26T02:40:32"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1247895/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003867",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003867?format=api"
                        }
                    }
                ]
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine:Pelagic"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Pelagic?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1247895/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1247895?format=api"
        }
    }
}