GET /metagenomics/api/v1/studies/MGYS00001981/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/MGYS00001981/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001981/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS1117528",
            "attributes": {
                "biosample": "SAMN04168658",
                "longitude": null,
                "latitude": null,
                "sample-metadata": [
                    {
                        "key": "collection date",
                        "value": "2014-03-24",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "human gut microbiome",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "stool",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "stool",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "9606",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2500",
                        "unit": null
                    },
                    {
                        "key": "host genotype",
                        "value": "not collected",
                        "unit": null
                    },
                    {
                        "key": "host phenotype",
                        "value": "not collected",
                        "unit": null
                    },
                    {
                        "key": "host sex",
                        "value": "female",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Homo sapiens",
                        "unit": null
                    }
                ],
                "accession": "SRS1117528",
                "analysis-completed": "2017-11-01",
                "collection-date": "2014-03-24",
                "geo-loc-name": null,
                "sample-desc": "Amoxicillin 7 day treatment, day 7",
                "environment-biome": "human gut microbiome",
                "environment-feature": "stool",
                "environment-material": "stool",
                "sample-name": "1057",
                "sample-alias": "1057",
                "host-tax-id": 9606,
                "species": "Homo sapiens",
                "last-update": "2021-10-21T23:17:14"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1117528/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001981",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001981?format=api"
                            }
                        },
                        {
                            "type": "studies",
                            "id": "MGYS00005820",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005820?format=api"
                            }
                        }
                    ]
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Human:Digestive system"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system?format=api"
                    }
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1117528/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1117528?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS1117603",
            "attributes": {
                "biosample": "SAMN04168690",
                "longitude": null,
                "latitude": null,
                "sample-metadata": [
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2500",
                        "unit": null
                    }
                ],
                "accession": "SRS1117603",
                "analysis-completed": "2017-11-01",
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "A mock microbial community DNA sample, composed of a mixture 20 microbial genomic DNAs that vary in genome size (1.6 to 6.2 Mb) and G+C content (32 to 69%) obtained from BEI Resources (HM-276D; even, high-concentration v5.1H)",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "Mock",
                "sample-alias": "Mock",
                "host-tax-id": 9606,
                "species": "Homo sapiens",
                "last-update": "2021-10-21T23:13:51"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1117603/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001981",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001981?format=api"
                            }
                        },
                        {
                            "type": "studies",
                            "id": "MGYS00005820",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005820?format=api"
                            }
                        }
                    ]
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Human:Digestive system"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system?format=api"
                    }
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1117603/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1117603?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS1117537",
            "attributes": {
                "biosample": "SAMN04168659",
                "longitude": null,
                "latitude": null,
                "sample-metadata": [
                    {
                        "key": "collection date",
                        "value": "2014-05-12",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "human gut microbiome",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "stool",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "stool",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "9606",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2500",
                        "unit": null
                    },
                    {
                        "key": "host genotype",
                        "value": "not collected",
                        "unit": null
                    },
                    {
                        "key": "host phenotype",
                        "value": "not collected",
                        "unit": null
                    },
                    {
                        "key": "host sex",
                        "value": "female",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Homo sapiens",
                        "unit": null
                    }
                ],
                "accession": "SRS1117537",
                "analysis-completed": "2018-04-12",
                "collection-date": "2014-05-12",
                "geo-loc-name": null,
                "sample-desc": "Amoxicillin 7 day treatment, week 8",
                "environment-biome": "human gut microbiome",
                "environment-feature": "stool",
                "environment-material": "stool",
                "sample-name": "1058",
                "sample-alias": "1058",
                "host-tax-id": 9606,
                "species": "Homo sapiens",
                "last-update": "2021-10-21T22:57:56"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1117537/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001981",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001981?format=api"
                            }
                        },
                        {
                            "type": "studies",
                            "id": "MGYS00005820",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005820?format=api"
                            }
                        }
                    ]
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Human:Digestive system"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system?format=api"
                    }
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1117537/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1117537?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS1117397",
            "attributes": {
                "biosample": "SAMN04168656",
                "longitude": null,
                "latitude": null,
                "sample-metadata": [
                    {
                        "key": "collection date",
                        "value": "2014-03-17",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "human gut microbiome",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "stool",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "stool",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "9606",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2500",
                        "unit": null
                    },
                    {
                        "key": "host genotype",
                        "value": "not collected",
                        "unit": null
                    },
                    {
                        "key": "host phenotype",
                        "value": "not collected",
                        "unit": null
                    },
                    {
                        "key": "host sex",
                        "value": "female",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Homo sapiens",
                        "unit": null
                    }
                ],
                "accession": "SRS1117397",
                "analysis-completed": "2017-11-01",
                "collection-date": "2014-03-17",
                "geo-loc-name": null,
                "sample-desc": "Amoxicillin 7 day treatment, day 0",
                "environment-biome": "human gut microbiome",
                "environment-feature": "stool",
                "environment-material": "stool",
                "sample-name": "1055",
                "sample-alias": "1055",
                "host-tax-id": 9606,
                "species": "Homo sapiens",
                "last-update": "2021-10-21T22:38:44"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1117397/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001981",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001981?format=api"
                            }
                        },
                        {
                            "type": "studies",
                            "id": "MGYS00005820",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005820?format=api"
                            }
                        }
                    ]
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Human:Digestive system"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system?format=api"
                    }
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1117397/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1117397?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS1117522",
            "attributes": {
                "biosample": "SAMN04168657",
                "longitude": null,
                "latitude": null,
                "sample-metadata": [
                    {
                        "key": "collection date",
                        "value": "2014-03-20",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "human gut microbiome",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "stool",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "stool",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "9606",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2500",
                        "unit": null
                    },
                    {
                        "key": "host genotype",
                        "value": "not collected",
                        "unit": null
                    },
                    {
                        "key": "host phenotype",
                        "value": "not collected",
                        "unit": null
                    },
                    {
                        "key": "host sex",
                        "value": "female",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Homo sapiens",
                        "unit": null
                    }
                ],
                "accession": "SRS1117522",
                "analysis-completed": "2017-11-01",
                "collection-date": "2014-03-20",
                "geo-loc-name": null,
                "sample-desc": "Amoxicillin 7 day treatment, day 3",
                "environment-biome": "human gut microbiome",
                "environment-feature": "stool",
                "environment-material": "stool",
                "sample-name": "1056",
                "sample-alias": "1056",
                "host-tax-id": 9606,
                "species": "Homo sapiens",
                "last-update": "2021-10-21T22:28:15"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1117522/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001981",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001981?format=api"
                            }
                        },
                        {
                            "type": "studies",
                            "id": "MGYS00005820",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005820?format=api"
                            }
                        }
                    ]
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Human:Digestive system"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system?format=api"
                    }
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1117522/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1117522?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 5
        }
    }
}