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

{
    "data": {
        "type": "samples",
        "id": "ERS1288232",
        "attributes": {
            "latitude": 51.6492,
            "longitude": -128.1539,
            "biosample": "SAMEA4376783",
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Kelp forest microbial diversity",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2015-06-27",
                    "unit": null
                },
                {
                    "key": "target gene",
                    "value": "16S",
                    "unit": null
                },
                {
                    "key": "target subfragment",
                    "value": "T4",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "309354",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "1300146",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "GSC MIxS host associated (ERC000013)",
                    "unit": null
                },
                {
                    "key": "host-associated environmental package",
                    "value": "host-associated",
                    "unit": null
                }
            ],
            "accession": "ERS1288232",
            "analysis-completed": "2017-01-05",
            "collection-date": null,
            "geo-loc-name": "Canada",
            "sample-desc": "algae-sample",
            "environment-biome": "kelp forest",
            "environment-feature": "coast",
            "environment-material": "algae",
            "sample-name": "CymathaereWB-9",
            "sample-alias": "CymathaereWB-9",
            "host-tax-id": 2886,
            "species": "Laminariales",
            "last-update": "2017-01-05T10:40:12"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Plants"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1288232/runs?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1288232/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001370",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001370?format=api"
                        }
                    }
                ]
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1288232?format=api"
        }
    }
}