GET /metagenomics/api/v1/studies/MGYS00005339/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/MGYS00005339/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005339/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS1202828",
            "attributes": {
                "latitude": null,
                "longitude": null,
                "biosample": "SAMEA4031718",
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "Gut microbiota of 10 pairs of Chinese infant twins",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "China",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2015-01-01",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "gut",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "normal infant",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "stool",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "human-gut",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "illumina hiseq 4000",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 4000",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000015",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2016-10-21",
                        "unit": null
                    }
                ],
                "accession": "ERS1202828",
                "analysis-completed": "2018-11-26",
                "collection-date": "2015-01-01",
                "geo-loc-name": "China",
                "sample-desc": "Gut metagenome of 10 pairs of Chinese infant twins",
                "environment-biome": "gut",
                "environment-feature": "normal infant",
                "environment-material": "stool",
                "sample-name": "Twins-9B",
                "sample-alias": "Twins-9B",
                "host-tax-id": 9606,
                "species": "Homo sapiens",
                "last-update": "2020-05-18T00:58:45"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Human:Digestive system:Large intestine:Fecal"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Large%20intestine:Fecal?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1202828/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00003510",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003510?format=api"
                            }
                        },
                        {
                            "type": "studies",
                            "id": "MGYS00005339",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005339?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1202828/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1202828?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS1202820",
            "attributes": {
                "latitude": null,
                "longitude": null,
                "biosample": "SAMEA4031710",
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "Gut microbiota of 10 pairs of Chinese infant twins",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "China",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2015-01-01",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "gut",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "normal infant",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "stool",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "human-gut",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "illumina hiseq 4000",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 4000",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000015",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2016-10-21",
                        "unit": null
                    }
                ],
                "accession": "ERS1202820",
                "analysis-completed": "2018-11-26",
                "collection-date": "2015-01-01",
                "geo-loc-name": "China",
                "sample-desc": "Gut metagenome of 10 pairs of Chinese infant twins",
                "environment-biome": "gut",
                "environment-feature": "normal infant",
                "environment-material": "stool",
                "sample-name": "Twins-7B",
                "sample-alias": "Twins-7B",
                "host-tax-id": 9606,
                "species": "Homo sapiens",
                "last-update": "2020-05-18T00:38:05"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Human:Digestive system:Large intestine:Fecal"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Large%20intestine:Fecal?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1202820/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00003510",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003510?format=api"
                            }
                        },
                        {
                            "type": "studies",
                            "id": "MGYS00005339",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005339?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1202820/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1202820?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS1202827",
            "attributes": {
                "latitude": null,
                "longitude": null,
                "biosample": "SAMEA4031717",
                "sample-metadata": [
                    {
                        "key": "collection date",
                        "value": "2015-01-01",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000015",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "China",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "normal infant",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "gut",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "stool",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "human-gut",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "illumina hiseq 4000",
                        "unit": null
                    },
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "Gut microbiota of 10 pairs of Chinese infant twins",
                        "unit": null
                    }
                ],
                "accession": "ERS1202827",
                "analysis-completed": null,
                "collection-date": "2015-01-01",
                "geo-loc-name": null,
                "sample-desc": "Gut metagenome of 10 pairs of Chinese infant twins",
                "environment-biome": "gut",
                "environment-feature": "normal infant",
                "environment-material": "stool",
                "sample-name": "Twins-9A",
                "sample-alias": "Twins-9A",
                "host-tax-id": 9606,
                "species": "Homo sapiens",
                "last-update": "2020-05-18T00:29:58"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Human:Digestive system:Large intestine:Fecal"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Large%20intestine:Fecal?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1202827/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00003510",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003510?format=api"
                            }
                        },
                        {
                            "type": "studies",
                            "id": "MGYS00005339",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005339?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1202827/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1202827?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 3
        }
    }
}