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

{
    "data": {
        "type": "samples",
        "id": "ERS1566226",
        "attributes": {
            "biosample": "SAMEA96083668",
            "longitude": 11.298,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Atlantic salmon fecal",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2016-10",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "8030",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 4000",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "GSC MIxS host associated (ERC000013)",
                    "unit": null
                },
                {
                    "key": "host-associated environmental package",
                    "value": "host-associated",
                    "unit": null
                }
            ],
            "latitude": 64.5109,
            "accession": "ERS1566226",
            "analysis-completed": "2017-02-28",
            "collection-date": null,
            "geo-loc-name": "Norway",
            "sample-desc": "Atlantic salmon fecal content",
            "environment-biome": "Aquaculture",
            "environment-feature": "sea water",
            "environment-material": "Atlantic salmon intestine",
            "sample-name": "Atlantic salmon fecal content",
            "sample-alias": "TLL_DIdigest-3",
            "host-tax-id": 8030,
            "species": "Salmo salvar",
            "last-update": "2017-02-28T10:22:06"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Food production"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Food%20production?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1566226/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001449",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001449?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1566226/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1566226?format=api"
        }
    }
}