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

{
    "data": {
        "type": "samples",
        "id": "ERS4534453",
        "attributes": {
            "longitude": 6.4923,
            "biosample": "SAMEA6806801",
            "latitude": 54.7877,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "mimarks-survey",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Investigation of bacterial microbiome in poultry litter",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "6.4923",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "United Kingdom",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2019-12-02",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Terrestrial",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Animal litter",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Poultry litter",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "miscellaneous natural or artificial environment",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "54.7877",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000025",
                    "unit": null
                }
            ],
            "accession": "ERS4534453",
            "analysis-completed": null,
            "collection-date": "2019-12-02",
            "geo-loc-name": null,
            "sample-desc": "Farm 5 cycle 2 visit 1",
            "environment-biome": "Terrestrial",
            "environment-feature": "Animal litter",
            "environment-material": "Poultry litter",
            "sample-name": "Litter 5.2.1",
            "sample-alias": "Litter 5.2.1",
            "host-tax-id": null,
            "species": null,
            "last-update": "2020-08-07T17:06:57"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Birds:Digestive system:Fecal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Birds:Digestive%20system:Fecal?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS4534453/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005576",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005576?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS4534453/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS4534453?format=api"
        }
    }
}