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

{
    "data": {
        "type": "samples",
        "id": "ERS5150818",
        "attributes": {
            "longitude": -9.31,
            "biosample": "SAMEA7392429",
            "latitude": 53.24,
            "sample-metadata": [
                {
                    "key": "project name",
                    "value": "Ocean Sampling Day",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-9.31",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2018-06-21T12:12:00Z/2018-06-21T12:22:00Z",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "marine biome [ENVO:00000447]",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "microbial community [PCO:1000004]",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "sea water [ENVO:00002149]",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "53.24",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000011",
                    "unit": null
                }
            ],
            "accession": "ERS5150818",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "surface water sample from the North Atlantic Ocean",
            "environment-biome": "marine biome [ENVO:00000447]",
            "environment-feature": "microbial community [PCO:1000004]",
            "environment-material": "sea water [ENVO:00002149]",
            "sample-name": "32506:f016dd88-3b2f-48a1-b740-b5a51edf1232",
            "sample-alias": "32506:f016dd88-3b2f-48a1-b740-b5a51edf1232",
            "host-tax-id": null,
            "species": null,
            "last-update": "2024-03-01T18:29:06"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS5150818/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006608",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006608?format=api"
                        }
                    },
                    {
                        "type": "studies",
                        "id": "MGYS00006611",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006611?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS5150818/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS5150818?format=api"
        }
    }
}