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

{
    "links": {
        "first": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006241/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006241/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS14758059",
            "attributes": {
                "sample-metadata": [
                    {
                        "key": "project name",
                        "value": "freshwater stream microbial mat",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-2.2872",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "France",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016-06-05",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "freshwater wetland ecosystem",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "aquatic ecosystem",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "microbial mat",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "0.20",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "48.0067",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000024",
                        "unit": null
                    }
                ],
                "latitude": 48.0067,
                "biosample": "SAMEA112763372",
                "longitude": -2.2872,
                "accession": "ERS14758059",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Freshwater stream mat viral communities from Broceliande Ille-et-Vilaine France",
                "environment-biome": "freshwater wetland ecosystem",
                "environment-feature": "aquatic ecosystem",
                "environment-material": "microbial mat",
                "sample-name": "VirIron",
                "sample-alias": "VirIron",
                "host-tax-id": null,
                "species": null,
                "last-update": "2023-08-06T12:36:19"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS14758059/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006241",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006241?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS14758059/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Freshwater:Lotic:Mid stream"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Freshwater:Lotic:Mid%20stream?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS14758059?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 1
        }
    }
}