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

{
    "data": {
        "type": "samples",
        "id": "ERS4811121",
        "attributes": {
            "longitude": null,
            "biosample": "SAMEA7050491",
            "latitude": null,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "bacteria_archaea",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "EasyCare_2018",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "United Kingdom",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2020-01-01",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "lab",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "liquid",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Commercial mock community",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "host-associated",
                    "unit": null
                },
                {
                    "key": "target gene",
                    "value": "16S: V4- 250 bp",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000013",
                    "unit": null
                }
            ],
            "accession": "ERS4811121",
            "analysis-completed": null,
            "collection-date": "2020-01-01",
            "geo-loc-name": null,
            "sample-desc": "Positive Zymo control",
            "environment-biome": "lab",
            "environment-feature": "liquid",
            "environment-material": "Commercial mock community",
            "sample-name": "Positive control",
            "sample-alias": "Positive control",
            "host-tax-id": null,
            "species": null,
            "last-update": "2020-09-22T13:32:16"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mammals"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS4811121/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005606",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005606?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS4811121/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS4811121?format=api"
        }
    }
}