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

{
    "data": {
        "type": "samples",
        "id": "ERS1065342",
        "attributes": {
            "longitude": 16.6882,
            "latitude": 56.7527,
            "biosample": "SAMEA3878208",
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Shotgun metagenomics of moose rumen sampled in Öland",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "16.688232",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Sweden",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2011-10-01",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Moose rumen",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Moose rumen",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Moose rumen",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "miscellaneous natural or artificial environment",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Metagenome",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "56.752724",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "999462",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 2500",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000025",
                    "unit": null
                },
                {
                    "key": "geographic location (region and locality)",
                    "value": "Oland",
                    "unit": null
                }
            ],
            "accession": "ERS1065342",
            "analysis-completed": "2016-03-15",
            "collection-date": "2011-10-01",
            "geo-loc-name": "Sweden",
            "sample-desc": "Shotgun metagenomics of moose rumen sampled in Öland",
            "environment-biome": "Moose rumen",
            "environment-feature": "Moose rumen",
            "environment-material": "Moose rumen",
            "sample-name": "106",
            "sample-alias": "106",
            "host-tax-id": 9852,
            "species": null,
            "last-update": "2020-05-22T08:11:41"
        },
        "relationships": {
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1065342/runs?format=api"
                }
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mammals:Digestive system:Foregut:Rumen"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system:Foregut:Rumen?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1065342/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000631",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000631?format=api"
                        }
                    },
                    {
                        "type": "studies",
                        "id": "MGYS00005456",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005456?format=api"
                        }
                    }
                ]
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1065342?format=api"
        }
    }
}