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

{
    "data": {
        "type": "samples",
        "id": "ERS1394986",
        "attributes": {
            "latitude": 22.75,
            "longitude": -158.0,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "scs diatom",
                    "unit": null
                },
                {
                    "key": "geographic location (depth)",
                    "value": "125",
                    "unit": "m"
                },
                {
                    "key": "collection date",
                    "value": "2010-07-10",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina, MiSeq",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "160265",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "GSC MIxS water (ERC000024)",
                    "unit": null
                },
                {
                    "key": "water environmental package",
                    "value": "water",
                    "unit": null
                }
            ],
            "biosample": "SAMEA4495807",
            "accession": "ERS1394986",
            "analysis-completed": "2016-10-27",
            "collection-date": null,
            "geo-loc-name": "Pacific Ocean",
            "sample-desc": "scs diatom",
            "environment-biome": "North Pacific Subtropical Gyre",
            "environment-feature": "deep chlorophyll maximum",
            "environment-material": "water",
            "sample-name": "scs diatom",
            "sample-alias": "e01-1",
            "host-tax-id": 35127,
            "species": "Thalassiosira",
            "last-update": "2016-10-27T11:12:16"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Algae:Brown Algae"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Algae:Brown%20Algae?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1394986/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001287",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001287?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1394986/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1394986?format=api"
        }
    }
}