GET /metagenomics/api/v1/studies/MGYS00006775/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/MGYS00006775/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006775/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS6181878",
            "attributes": {
                "biosample": "SAMN14124374",
                "longitude": 25.61,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "25.61",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "South Africa: MAFIKENG",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2018-10-30",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "Metagenome or environmental",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "-25.79",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "RHIZOSPHERE SOIL",
                        "unit": null
                    }
                ],
                "latitude": -25.79,
                "accession": "SRS6181878",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "CONTROL",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "MBMECn0",
                "sample-alias": "MBMECn0",
                "host-tax-id": null,
                "species": null,
                "last-update": "2025-03-14T11:07:26"
            },
            "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/SRS6181878/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006775",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006775?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS6181878/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS6181878?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS6181874",
            "attributes": {
                "biosample": "SAMN14124370",
                "longitude": 25.61,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "25.61",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "South Africa: MAFIKENG",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2018-10-30",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "Metagenome or environmental",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "-25.79",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "RHIZOSPHERE SOIL",
                        "unit": null
                    }
                ],
                "latitude": -25.79,
                "accession": "SRS6181874",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "120 KG/HA INORGANIC FERTILIZER",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "MBMEN2",
                "sample-alias": "MBMEN2",
                "host-tax-id": null,
                "species": null,
                "last-update": "2025-03-14T10:59:47"
            },
            "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/SRS6181874/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006775",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006775?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS6181874/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS6181874?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS6181875",
            "attributes": {
                "biosample": "SAMN14124372",
                "longitude": 25.61,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "25.61",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "South Africa: MAFIKENG",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2018-10-30",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "Metagenome or environmental",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "-25.78",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "SOIL",
                        "unit": null
                    }
                ],
                "latitude": -25.78,
                "accession": "SRS6181875",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "4 TON/HA COMPOST",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "MBMECP4",
                "sample-alias": "MBMECP4",
                "host-tax-id": null,
                "species": null,
                "last-update": "2025-03-14T10:54:33"
            },
            "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/SRS6181875/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006775",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006775?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS6181875/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS6181875?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS6181876",
            "attributes": {
                "biosample": "SAMN14124371",
                "longitude": 25.61,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "25.61",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "South Africa: MAFIKENG",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2018-10-30",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "Metagenome or environmental",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "-25.78",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "RHIZOSPHERE",
                        "unit": null
                    }
                ],
                "latitude": -25.78,
                "accession": "SRS6181876",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "60 KG/HA INORGANIC FERTILIZER",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "MBMEN1",
                "sample-alias": "MBMEN1",
                "host-tax-id": null,
                "species": null,
                "last-update": "2025-03-14T10:46:01"
            },
            "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/SRS6181876/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006775",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006775?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS6181876/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS6181876?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS6181877",
            "attributes": {
                "biosample": "SAMN14124373",
                "longitude": 25.61,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "25.61",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "South Africa: MAFIKENG",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2018-10-30",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "Metagenome or environmental",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "-25.78",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "SOIL",
                        "unit": null
                    }
                ],
                "latitude": -25.78,
                "accession": "SRS6181877",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "8 TON/HA COMPOST",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "MBMECP8",
                "sample-alias": "MBMECP8",
                "host-tax-id": null,
                "species": null,
                "last-update": "2025-03-14T10:17:43"
            },
            "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/SRS6181877/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006775",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006775?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS6181877/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS6181877?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 5
        }
    }
}