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

{
    "data": {
        "type": "samples",
        "id": "ERS9768024",
        "attributes": {
            "longitude": null,
            "biosample": "SAMEA12121396",
            "latitude": null,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Investigation of Antibiotic resisyant genes",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "China",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2019-09-23",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "river",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "city",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "water",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Sanger",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000011",
                    "unit": null
                }
            ],
            "accession": "ERS9768024",
            "analysis-completed": null,
            "collection-date": "2019-09-23",
            "geo-loc-name": null,
            "sample-desc": "water samples in BGC",
            "environment-biome": "river",
            "environment-feature": "city",
            "environment-material": null,
            "sample-name": "ena-SAMPLE-TAB-06-01-2022-05:22:22:327-38530",
            "sample-alias": "ena-SAMPLE-TAB-06-01-2022-05:22:22:327-38530",
            "host-tax-id": null,
            "species": null,
            "last-update": "2022-08-23T20:38:12"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Freshwater:Lentic"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Freshwater:Lentic?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS9768024/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006056",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006056?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS9768024/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS9768024?format=api"
        }
    }
}