GET /metagenomics/api/v1/studies/MGYS00002406/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/MGYS00002406/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002406/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS2419701",
            "attributes": {
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Australia",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2015-01-01/2015-12-31",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Sputum",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Sputum",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "Sputum",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "human-oral",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "Illumina Miseq",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina MiSeq",
                        "unit": null
                    }
                ],
                "latitude": null,
                "biosample": "SAMEA4598993",
                "longitude": null,
                "accession": "ERS2419701",
                "analysis-completed": "2018-04-25",
                "collection-date": "2015-01-01",
                "geo-loc-name": "Australia",
                "sample-desc": "AMAZES sputum 16s",
                "environment-biome": "Sputum",
                "environment-feature": "Sputum",
                "environment-material": "Sputum",
                "sample-name": "1",
                "sample-alias": "1",
                "host-tax-id": 9606,
                "species": "Homo sapiens",
                "last-update": "2018-04-25T09:21:43"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2419701/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00002349",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002349?format=api"
                            }
                        },
                        {
                            "type": "studies",
                            "id": "MGYS00002406",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002406?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2419701/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Human:Respiratory system:Pulmonary system:Sputum"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Respiratory%20system:Pulmonary%20system:Sputum?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2419701?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS2419702",
            "attributes": {
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Australia",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2015-01-01/2015-12-31",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Sputum",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Sputum",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "Sputum",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "human-oral",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "Illumina Miseq",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina MiSeq",
                        "unit": null
                    }
                ],
                "latitude": null,
                "biosample": "SAMEA4598994",
                "longitude": null,
                "accession": "ERS2419702",
                "analysis-completed": "2018-04-25",
                "collection-date": "2015-01-01",
                "geo-loc-name": "Australia",
                "sample-desc": "AMAZES sputum 16s",
                "environment-biome": "Sputum",
                "environment-feature": "Sputum",
                "environment-material": "Sputum",
                "sample-name": "2",
                "sample-alias": "2",
                "host-tax-id": 9606,
                "species": "Homo sapiens",
                "last-update": "2018-04-25T09:21:43"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2419702/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00002349",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002349?format=api"
                            }
                        },
                        {
                            "type": "studies",
                            "id": "MGYS00002406",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002406?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2419702/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Human:Respiratory system:Pulmonary system:Sputum"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Respiratory%20system:Pulmonary%20system:Sputum?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2419702?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS2419703",
            "attributes": {
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Australia",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2015-01-01/2015-12-31",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Sputum",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Sputum",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "Sputum",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "human-oral",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "Illumina Miseq",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina MiSeq",
                        "unit": null
                    }
                ],
                "latitude": null,
                "biosample": "SAMEA4598995",
                "longitude": null,
                "accession": "ERS2419703",
                "analysis-completed": "2018-04-25",
                "collection-date": "2015-01-01",
                "geo-loc-name": "Australia",
                "sample-desc": "AMAZES sputum 16s",
                "environment-biome": "Sputum",
                "environment-feature": "Sputum",
                "environment-material": "Sputum",
                "sample-name": "3",
                "sample-alias": "3",
                "host-tax-id": 9606,
                "species": "Homo sapiens",
                "last-update": "2018-04-25T09:21:43"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2419703/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00002349",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002349?format=api"
                            }
                        },
                        {
                            "type": "studies",
                            "id": "MGYS00002406",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002406?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2419703/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Human:Respiratory system:Pulmonary system:Sputum"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Respiratory%20system:Pulmonary%20system:Sputum?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2419703?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS2419704",
            "attributes": {
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Australia",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2015-01-01/2015-12-31",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Sputum",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Sputum",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "Sputum",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "human-oral",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "Illumina Miseq",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina MiSeq",
                        "unit": null
                    }
                ],
                "latitude": null,
                "biosample": "SAMEA4598996",
                "longitude": null,
                "accession": "ERS2419704",
                "analysis-completed": "2018-04-25",
                "collection-date": "2015-01-01",
                "geo-loc-name": "Australia",
                "sample-desc": "AMAZES sputum 16s",
                "environment-biome": "Sputum",
                "environment-feature": "Sputum",
                "environment-material": "Sputum",
                "sample-name": "4",
                "sample-alias": "4",
                "host-tax-id": 9606,
                "species": "Homo sapiens",
                "last-update": "2018-04-25T09:21:43"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2419704/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00002349",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002349?format=api"
                            }
                        },
                        {
                            "type": "studies",
                            "id": "MGYS00002406",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002406?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2419704/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Human:Respiratory system:Pulmonary system:Sputum"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Respiratory%20system:Pulmonary%20system:Sputum?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2419704?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 4
        }
    }
}