GET /metagenomics/api/v1/studies/MGYS00005050/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/MGYS00005050/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005050/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS2606428",
            "attributes": {
                "latitude": 30.4027,
                "biosample": "SAMEA4786492",
                "longitude": -91.1048,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "Passalid Beetle2",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-91.10481",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2012-11-30",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "biome",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "microbial feature",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "bodily fluid",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "host-associated",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "illumina",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "30.40267",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "unspecified",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000013",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2018-07-11",
                        "unit": null
                    }
                ],
                "accession": "ERS2606428",
                "analysis-completed": "2019-06-26",
                "collection-date": "2012-11-30",
                "geo-loc-name": "USA",
                "sample-desc": "FG2 Taxonomy ID:256318",
                "environment-biome": "biome",
                "environment-feature": "microbial feature",
                "environment-material": "bodily fluid",
                "sample-name": "mgs163210",
                "sample-alias": "mgs163210",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-06-26T15:32:52"
            },
            "relationships": {
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606428/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Insecta:Digestive system"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Insecta:Digestive%20system?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606428/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00005050",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005050?format=api"
                            }
                        }
                    ]
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606428?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS2606429",
            "attributes": {
                "latitude": 30.4027,
                "biosample": "SAMEA4786493",
                "longitude": -91.1048,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "Passalid Beetle2",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-91.10481",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2012-11-30",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "biome",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "microbial feature",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "bodily fluid",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "host-associated",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "illumina",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "30.40267",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "unspecified",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000013",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2018-07-11",
                        "unit": null
                    }
                ],
                "accession": "ERS2606429",
                "analysis-completed": "2019-06-26",
                "collection-date": "2012-11-30",
                "geo-loc-name": "USA",
                "sample-desc": "PHG2 Taxonomy ID:256318",
                "environment-biome": "biome",
                "environment-feature": "microbial feature",
                "environment-material": "bodily fluid",
                "sample-name": "mgs163222",
                "sample-alias": "mgs163222",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-06-26T15:32:52"
            },
            "relationships": {
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606429/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Insecta:Digestive system"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Insecta:Digestive%20system?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606429/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00005050",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005050?format=api"
                            }
                        }
                    ]
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606429?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS2606430",
            "attributes": {
                "latitude": 30.4027,
                "biosample": "SAMEA4786494",
                "longitude": -91.1048,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "Passalid Beetle2",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-91.10481",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2012-11-30",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "biome",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "microbial feature",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "bodily fluid",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "host-associated",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "illumina",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "30.40267",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "unspecified",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000013",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2018-07-11",
                        "unit": null
                    }
                ],
                "accession": "ERS2606430",
                "analysis-completed": "2019-06-26",
                "collection-date": "2012-11-30",
                "geo-loc-name": "USA",
                "sample-desc": "AHG2 Taxonomy ID:256318",
                "environment-biome": "biome",
                "environment-feature": "microbial feature",
                "environment-material": "bodily fluid",
                "sample-name": "mgs163218",
                "sample-alias": "mgs163218",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-06-26T15:32:52"
            },
            "relationships": {
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606430/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Insecta:Digestive system"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Insecta:Digestive%20system?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606430/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00005050",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005050?format=api"
                            }
                        }
                    ]
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606430?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS2606431",
            "attributes": {
                "latitude": 30.4027,
                "biosample": "SAMEA4786495",
                "longitude": -91.1048,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "Passalid Beetle2",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-91.10481",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2012-11-30",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "biome",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "microbial feature",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "bodily fluid",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "host-associated",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "illumina",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "30.40267",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "unspecified",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000013",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2018-07-11",
                        "unit": null
                    }
                ],
                "accession": "ERS2606431",
                "analysis-completed": "2019-06-26",
                "collection-date": "2012-11-30",
                "geo-loc-name": "USA",
                "sample-desc": "MG2 Taxonomy ID:256318",
                "environment-biome": "biome",
                "environment-feature": "microbial feature",
                "environment-material": "bodily fluid",
                "sample-name": "mgs163214",
                "sample-alias": "mgs163214",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-06-26T15:32:52"
            },
            "relationships": {
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606431/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Insecta:Digestive system"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Insecta:Digestive%20system?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606431/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00005050",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005050?format=api"
                            }
                        }
                    ]
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2606431?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 4
        }
    }
}