GET /metagenomics/api/v1/studies/MGYS00006624/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/MGYS00006624/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006624/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS1325241",
            "attributes": {
                "longitude": 102.61,
                "biosample": "SAMEA4413792",
                "latitude": 37.94,
                "sample-metadata": [
                    {
                        "key": "project name",
                        "value": "Alterations of the fecal microbiota in diarrhoeic piglets",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "102.61",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "China",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2015-07-20",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "pig feces",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "pig feces",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "pig feces",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "pyrosequencing",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "37.94",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000013",
                        "unit": null
                    }
                ],
                "accession": "ERS1325241",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "diarrhea sample 2",
                "environment-biome": "pig feces",
                "environment-feature": "pig feces",
                "environment-material": "pig feces",
                "sample-name": "MD.2",
                "sample-alias": "MD.2",
                "host-tax-id": null,
                "species": null,
                "last-update": "2024-03-09T05:16:25"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Mammals:Digestive system:Fecal"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system:Fecal?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1325241/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006624",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006624?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1325241/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1325241?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS1325245",
            "attributes": {
                "longitude": 102.61,
                "biosample": "SAMEA4413796",
                "latitude": 37.94,
                "sample-metadata": [
                    {
                        "key": "project name",
                        "value": "Alterations of the fecal microbiota in diarrhoeic piglets",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "102.61",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "China",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2015-07-20",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "pig feces",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "pig feces",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "pig feces",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "pyrosequencing",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "37.94",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000013",
                        "unit": null
                    }
                ],
                "accession": "ERS1325245",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "fecal sample",
                "environment-biome": "pig feces",
                "environment-feature": "pig feces",
                "environment-material": "pig feces",
                "sample-name": "MH.3",
                "sample-alias": "MH.3",
                "host-tax-id": null,
                "species": null,
                "last-update": "2024-03-09T05:08:50"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Mammals:Digestive system:Fecal"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system:Fecal?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1325245/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006624",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006624?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1325245/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1325245?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS1325240",
            "attributes": {
                "longitude": 102.61,
                "biosample": "SAMEA4413791",
                "latitude": 37.94,
                "sample-metadata": [
                    {
                        "key": "project name",
                        "value": "Alterations of the fecal microbiota in diarrhoeic piglets",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "102.61",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "China",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2015-07-20",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "pig feces",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "pig feces",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "pig feces",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "pyrosequencing",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "37.94",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000013",
                        "unit": null
                    }
                ],
                "accession": "ERS1325240",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "diarrhea sample 1",
                "environment-biome": "pig feces",
                "environment-feature": "pig feces",
                "environment-material": "pig feces",
                "sample-name": "MD.1",
                "sample-alias": "MD.1",
                "host-tax-id": null,
                "species": null,
                "last-update": "2024-03-09T04:58:59"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Mammals:Digestive system:Fecal"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system:Fecal?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1325240/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006624",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006624?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1325240/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1325240?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 3
        }
    }
}