GET /metagenomics/api/v1/studies/MGYS00005059/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/MGYS00005059/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005059/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS2606825",
            "attributes": {
                "biosample": "SAMEA4786889",
                "longitude": 4.49,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "Artificial mix of real bacterial sequences",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "4.49",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Netherlands",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016-01-23",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Homo sapiens",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "anatomical entity",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "anthropogenic environmental material",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "human-associated",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "illumina",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "52.16",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "unspecified",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000014",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2018-07-12",
                        "unit": null
                    }
                ],
                "latitude": 52.16,
                "accession": "ERS2606825",
                "analysis-completed": "2019-06-26",
                "collection-date": "2016-01-23",
                "geo-loc-name": "Netherlands",
                "sample-desc": "EQUAL_DISTR Taxonomy ID:256318",
                "environment-biome": "Homo sapiens",
                "environment-feature": "anatomical entity",
                "environment-material": "anthropogenic environmental material",
                "sample-name": "mgs668257",
                "sample-alias": "mgs668257",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-06-26T18:24:56"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Engineered:Modeled:Simulated communities (sequence read mixture)"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Modeled:Simulated%20communities%20(sequence%20read%20mixture)?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606825/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00005059",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005059?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606825/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606825?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS2606826",
            "attributes": {
                "biosample": "SAMEA4786890",
                "longitude": 4.49,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "Artificial mix of real bacterial sequences",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "4.49",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Netherlands",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016-01-23",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Homo sapiens",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "anatomical entity",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "anthropogenic environmental material",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "human-associated",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "illumina",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "52.16",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "unspecified",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000014",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2018-07-12",
                        "unit": null
                    }
                ],
                "latitude": 52.16,
                "accession": "ERS2606826",
                "analysis-completed": "2019-06-26",
                "collection-date": "2016-01-23",
                "geo-loc-name": "Netherlands",
                "sample-desc": "EXP5/6_DISTR Taxonomy ID:256318",
                "environment-biome": "Homo sapiens",
                "environment-feature": "anatomical entity",
                "environment-material": "anthropogenic environmental material",
                "sample-name": "mgs668265",
                "sample-alias": "mgs668265",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-06-26T18:24:56"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Engineered:Modeled:Simulated communities (sequence read mixture)"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Modeled:Simulated%20communities%20(sequence%20read%20mixture)?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606826/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00005059",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005059?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606826/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606826?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS2606827",
            "attributes": {
                "biosample": "SAMEA4786891",
                "longitude": 4.49,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "Artificial mix of real bacterial sequences",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "4.49",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Netherlands",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016-01-23",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Homo sapiens",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "anatomical entity",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "anthropogenic environmental material",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "human-associated",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "illumina",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "52.16",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "unspecified",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000014",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2018-07-12",
                        "unit": null
                    }
                ],
                "latitude": 52.16,
                "accession": "ERS2606827",
                "analysis-completed": "2019-06-26",
                "collection-date": "2016-01-23",
                "geo-loc-name": "Netherlands",
                "sample-desc": "EXP1/6_DISTR Taxonomy ID:256318",
                "environment-biome": "Homo sapiens",
                "environment-feature": "anatomical entity",
                "environment-material": "anthropogenic environmental material",
                "sample-name": "mgs668261",
                "sample-alias": "mgs668261",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-06-26T18:24:56"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Engineered:Modeled:Simulated communities (sequence read mixture)"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Modeled:Simulated%20communities%20(sequence%20read%20mixture)?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606827/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00005059",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005059?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606827/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606827?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 3
        }
    }
}