GET /metagenomics/api/v1/studies/MGYS00006129/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/MGYS00006129/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006129/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS13465731",
            "attributes": {
                "sample-metadata": [
                    {
                        "key": "geographic location (latitude)",
                        "value": "34.0007",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-81.0348",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2019-06-01",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "10090",
                        "unit": null
                    }
                ],
                "latitude": 34.0007,
                "biosample": "SAMN28703741",
                "longitude": -81.0348,
                "accession": "SRS13465731",
                "analysis-completed": null,
                "collection-date": "2019-06-01",
                "geo-loc-name": null,
                "sample-desc": "The study aimed to investigate the gut microbiome, antibiotic resistance, and mobile genetic element alteration associated with intestinal inflammation in early life cyanotoxin exposure.",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "BM10, BM11, BM12, BM40, BM41, BM42, BM13, BM14, BM15, BM43, BM44, BM45",
                "sample-alias": "BM10, BM11, BM12, BM40, BM41, BM42, BM13, BM14, BM15, BM43, BM44, BM45",
                "host-tax-id": 10090,
                "species": null,
                "last-update": "2023-03-18T01:31:26"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS13465731/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006129",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006129?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS13465731/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Mammals:Gastrointestinal tract:Intestine"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Gastrointestinal%20tract:Intestine?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS13465731?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS13457343",
            "attributes": {
                "sample-metadata": [
                    {
                        "key": "geographic location (latitude)",
                        "value": "34.0007",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-81.0348",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2020-06-01",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "10090",
                        "unit": null
                    }
                ],
                "latitude": 34.0007,
                "biosample": "SAMN28703776",
                "longitude": -81.0348,
                "accession": "SRS13457343",
                "analysis-completed": null,
                "collection-date": "2020-06-01",
                "geo-loc-name": null,
                "sample-desc": "The study aimed to investigate the gut microbiome, antibiotic resistance, and mobile genetic element alteration associated with intestinal inflammation in Gulf War Illness.",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "GWP37, GWP38, GWP39, GWP40, GWP41, GWP47, GWP48, GWP59, GWP60, GWP61",
                "sample-alias": "GWP37, GWP38, GWP39, GWP40, GWP41, GWP47, GWP48, GWP59, GWP60, GWP61",
                "host-tax-id": 10090,
                "species": null,
                "last-update": "2023-03-18T01:15:09"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS13457343/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006129",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006129?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS13457343/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Mammals:Gastrointestinal tract:Intestine"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Gastrointestinal%20tract:Intestine?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS13457343?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS13461522",
            "attributes": {
                "sample-metadata": [
                    {
                        "key": "geographic location (latitude)",
                        "value": "34.0007",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-81.0348",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2020-06-01",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "9606",
                        "unit": null
                    }
                ],
                "latitude": 34.0007,
                "biosample": "SAMN28703795",
                "longitude": -81.0348,
                "accession": "SRS13461522",
                "analysis-completed": null,
                "collection-date": "2020-06-01",
                "geo-loc-name": null,
                "sample-desc": "The study aimed to investigate the gut microbiome, antibiotic resistance, and mobile genetic element alteration associated with intestinal inflammation in Gulf War Illness.",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "GH1, GH3, GH4, GH6, GH7, GH9, GH10, GH11, GH12, GH14, GH15, GH16, GH18, GH19, GH22, GH24, GH25, GH26, GH32",
                "sample-alias": "GH1, GH3, GH4, GH6, GH7, GH9, GH10, GH11, GH12, GH14, GH15, GH16, GH18, GH19, GH22, GH24, GH25, GH26, GH32",
                "host-tax-id": 9606,
                "species": null,
                "last-update": "2023-03-18T00:52:34"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS13461522/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006129",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006129?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS13461522/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Mammals:Gastrointestinal tract:Intestine"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Gastrointestinal%20tract:Intestine?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS13461522?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 3
        }
    }
}