GET /metagenomics/api/v1/studies/MGYS00006777/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/MGYS00006777/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006777/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS4049637",
            "attributes": {
                "latitude": 51.9911,
                "longitude": 5.662,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "5.661972",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Netherlands: Wageningen",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "Metagenome or environmental",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "3702",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "51.991111",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Arabidopsis thaliana",
                        "unit": null
                    }
                ],
                "biosample": "SAMN10407549",
                "accession": "SRS4049637",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Metagenome or environmental sample from Rhizosphere metagenomes",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "Rhizosphere metagenomes of Arabidopsis thaliana",
                "sample-alias": "Rhizosphere metagenomes of Arabidopsis thaliana",
                "host-tax-id": 3702,
                "species": null,
                "last-update": "2025-03-14T23:14:45"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Plants:Rhizosphere"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants:Rhizosphere?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4049637/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006777",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006777?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4049637/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4049637?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS4049930",
            "attributes": {
                "latitude": 51.9911,
                "longitude": 5.662,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "5.661972",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Netherlands: Wageningen",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "Metagenome or environmental",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "4577",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "51.991111",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Zea mays",
                        "unit": null
                    }
                ],
                "biosample": "SAMN10407550",
                "accession": "SRS4049930",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Metagenome or environmental sample from Rhizosphere metagenomes",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "Rhizosphere metagenomes of Zea mays",
                "sample-alias": "Rhizosphere metagenomes of Zea mays",
                "host-tax-id": 4577,
                "species": null,
                "last-update": "2025-03-14T21:41:03"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Plants:Rhizosphere"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants:Rhizosphere?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4049930/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006777",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006777?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4049930/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4049930?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS4052116",
            "attributes": {
                "latitude": 51.9911,
                "longitude": 5.662,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "5.661972",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Netherlands: Wageningen",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "Metagenome or environmental",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "51.991111",
                        "unit": null
                    }
                ],
                "biosample": "SAMN10407552",
                "accession": "SRS4052116",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Metagenome or environmental sample from soil metagenomes",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "metagenomes of initial soil samples",
                "sample-alias": "metagenomes of initial soil samples",
                "host-tax-id": null,
                "species": null,
                "last-update": "2025-03-14T20:08:30"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Plants:Rhizosphere"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants:Rhizosphere?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4052116/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006777",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006777?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4052116/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4052116?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS4050665",
            "attributes": {
                "latitude": 51.9911,
                "longitude": 5.662,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "5.661972",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Netherlands: Wageningen",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "Metagenome or environmental",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "4565",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "51.991111",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Triticum aestivum",
                        "unit": null
                    }
                ],
                "biosample": "SAMN10407551",
                "accession": "SRS4050665",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Metagenome or environmental sample from Rhizosphere metagenomes",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "Rhizosphere metagenomes of Triticum aestivum",
                "sample-alias": "Rhizosphere metagenomes of Triticum aestivum",
                "host-tax-id": 4565,
                "species": null,
                "last-update": "2025-03-14T18:22:29"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Plants:Rhizosphere"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants:Rhizosphere?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4050665/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006777",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006777?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4050665/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4050665?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 4
        }
    }
}