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

{
    "data": {
        "type": "samples",
        "id": "ERS2085280",
        "attributes": {
            "biosample": "SAMEA104467338",
            "longitude": 25.4858,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Gut microbiomes from 359 European pig and poultry herds (EFFORT)",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "25.4858",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Italy",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2015-01-01",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "pig",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "gut",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "faeces",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "host-associated",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina HiSeq (shotgun)",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "42.7339",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 3000",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000013",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2018-01-11",
                    "unit": null
                }
            ],
            "latitude": 42.7339,
            "accession": "ERS2085280",
            "analysis-completed": "2018-11-21",
            "collection-date": "2015-01-01",
            "geo-loc-name": "Italy",
            "sample-desc": "F corresponds to Farm number; S corresponds to sample number",
            "environment-biome": "pig",
            "environment-feature": "gut",
            "environment-material": "faeces",
            "sample-name": "601017001",
            "sample-alias": "601017001",
            "host-tax-id": 9823,
            "species": "Sus scrofa",
            "last-update": "2018-11-21T10:54:24"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Animal:Digestive system:Fecal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Animal:Digestive%20system:Fecal?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2085280/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003488",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003488?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2085280/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2085280?format=api"
        }
    }
}