GET /metagenomics/api/v1/studies/MGYS00001829/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/MGYS00001829/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001829/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS331884",
            "attributes": {
                "latitude": null,
                "longitude": null,
                "biosample": "SAMEA2163863",
                "sample-metadata": [
                    {
                        "key": "temperature",
                        "value": "40.0",
                        "unit": null
                    },
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Germany",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2010-09-01/2010-09-30",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "biogas reactor",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "anaerobic",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "anaerobic sludge",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "wastewater/sludge",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "454 pyrosequencing",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX Titanium",
                        "unit": null
                    }
                ],
                "accession": "ERS331884",
                "analysis-completed": "2017-06-20",
                "collection-date": "2010-09-01",
                "geo-loc-name": "Germany",
                "sample-desc": "Full-scale biogas reactor content was drawn before the addition of straw",
                "environment-biome": "biogas reactor",
                "environment-feature": "anaerobic",
                "environment-material": "anaerobic sludge",
                "sample-name": "sample A fluid reactor content",
                "sample-alias": "A (FRC)",
                "host-tax-id": null,
                "species": null,
                "last-update": "2017-06-20T14:19:07"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Engineered:Biogas plant"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Biogas%20plant?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS331884/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001829",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001829?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS331884/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS331884?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS331886",
            "attributes": {
                "latitude": null,
                "longitude": null,
                "biosample": "SAMEA2163865",
                "sample-metadata": [
                    {
                        "key": "temperature",
                        "value": "40.0",
                        "unit": null
                    },
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Germany",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2010-09-01/2010-09-30",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "biogas reactor",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "anaerobic",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "anaerobic sludge",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "wastewater/sludge",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "454 pyrosequencing",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX Titanium",
                        "unit": null
                    }
                ],
                "accession": "ERS331886",
                "analysis-completed": "2017-06-20",
                "collection-date": "2010-09-01",
                "geo-loc-name": "Germany",
                "sample-desc": "Full-scale biogas reactor content was drawn 21 days after the addition of straw",
                "environment-biome": "biogas reactor",
                "environment-feature": "anaerobic",
                "environment-material": "anaerobic sludge",
                "sample-name": "sample B fluid reactor content",
                "sample-alias": "B (FRC)",
                "host-tax-id": null,
                "species": null,
                "last-update": "2017-06-20T14:19:07"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Engineered:Biogas plant"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Biogas%20plant?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS331886/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001829",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001829?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS331886/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS331886?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS331887",
            "attributes": {
                "latitude": null,
                "longitude": null,
                "biosample": "SAMEA2163866",
                "sample-metadata": [
                    {
                        "key": "temperature",
                        "value": "40.0",
                        "unit": null
                    },
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Germany",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2010-09-01/2010-09-30",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "biogas reactor",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "anaerobic",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "anaerobic sludge",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "wastewater/sludge",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "454 pyrosequencing",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX Titanium",
                        "unit": null
                    }
                ],
                "accession": "ERS331887",
                "analysis-completed": "2017-06-20",
                "collection-date": "2010-09-01",
                "geo-loc-name": "Germany",
                "sample-desc": "Full-scale biogas reactor content was drawn 21 days after the addition of straw",
                "environment-biome": "biogas reactor",
                "environment-feature": "anaerobic",
                "environment-material": "anaerobic sludge",
                "sample-name": "sample B biofilm attached to straw",
                "sample-alias": "B (BAS)",
                "host-tax-id": null,
                "species": null,
                "last-update": "2017-06-20T14:19:07"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Engineered:Biogas plant"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Biogas%20plant?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS331887/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001829",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001829?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS331887/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS331887?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS331885",
            "attributes": {
                "latitude": null,
                "longitude": null,
                "biosample": "SAMEA2163864",
                "sample-metadata": [
                    {
                        "key": "temperature",
                        "value": "40.0",
                        "unit": null
                    },
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Germany",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2010-09-01/2010-09-30",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "biogas reactor",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "anaerobic",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "anaerobic sludge",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "wastewater/sludge",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "454 pyrosequencing",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX Titanium",
                        "unit": null
                    }
                ],
                "accession": "ERS331885",
                "analysis-completed": "2017-06-20",
                "collection-date": "2010-09-01",
                "geo-loc-name": "Germany",
                "sample-desc": "Full-scale biogas reactor content was drawn before the addition of straw",
                "environment-biome": "biogas reactor",
                "environment-feature": "anaerobic",
                "environment-material": "anaerobic sludge",
                "sample-name": "sample A biomass attached to particles",
                "sample-alias": "A (BAP)",
                "host-tax-id": null,
                "species": null,
                "last-update": "2017-06-20T14:19:06"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Engineered:Biogas plant"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Biogas%20plant?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS331885/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001829",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001829?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS331885/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS331885?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 4
        }
    }
}