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

{
    "data": {
        "type": "samples",
        "id": "ERS4539879",
        "attributes": {
            "longitude": -78.9471,
            "biosample": "SAMEA6812234",
            "latitude": -5.2527,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "METACAFE",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-78.947105",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Peru",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2019-06-11",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Coffee ferment",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Coffee farm",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Water ferment",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "miscellaneous natural or artificial environment",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "-5.252705",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000025",
                    "unit": null
                }
            ],
            "accession": "ERS4539879",
            "analysis-completed": null,
            "collection-date": "2019-06-11",
            "geo-loc-name": null,
            "sample-desc": "Metagenomics of coffee ferments",
            "environment-biome": "Coffee ferment",
            "environment-feature": "Coffee farm",
            "environment-material": "Water ferment",
            "sample-name": "Metacafe5",
            "sample-alias": "Metacafe5",
            "host-tax-id": null,
            "species": null,
            "last-update": "2020-09-30T11:21:56"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS4539879/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005613",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005613?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS4539879/runs?format=api"
                }
            },
            "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"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS4539879?format=api"
        }
    }
}