GET /metagenomics/api/v1/studies/MGYS00001376/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/MGYS00001376/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001376/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS559122",
            "attributes": {
                "latitude": 44.2,
                "longitude": 0.24,
                "biosample": "SAMEA2797511",
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "METAPHORE",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2011-07-29",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "pyrosequencing",
                        "unit": null
                    },
                    {
                        "key": "NCBI sample classification",
                        "value": "38942",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS Junior",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000020",
                        "unit": null
                    },
                    {
                        "key": "plant-associated environmental package",
                        "value": "plant-associated",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "44.2",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "0.24",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "France",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Quercus robur",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "deciduous woodland",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "leaves",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "plant-associated",
                        "unit": null
                    }
                ],
                "accession": "ERS559122",
                "analysis-completed": "2017-01-05",
                "collection-date": "2011-07-29",
                "geo-loc-name": "France",
                "sample-desc": "A1",
                "environment-biome": "deciduous woodland",
                "environment-feature": "Quercus robur",
                "environment-material": "leaves",
                "sample-name": "intermediately susceptible tree",
                "sample-alias": "intermediately susceptible tree",
                "host-tax-id": 38942,
                "species": null,
                "last-update": "2020-11-05T13:38:26"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Plants:Phylloplane"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants:Phylloplane?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS559122/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001376",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001376?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS559122/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS559122?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS559123",
            "attributes": {
                "latitude": 44.2,
                "longitude": 0.24,
                "biosample": "SAMEA2797512",
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "METAPHORE",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2011-07-29",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "pyrosequencing",
                        "unit": null
                    },
                    {
                        "key": "NCBI sample classification",
                        "value": "38942",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS Junior",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000020",
                        "unit": null
                    },
                    {
                        "key": "plant-associated environmental package",
                        "value": "plant-associated",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "44.2",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "0.24",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "France",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Quercus robur",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "deciduous woodland",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "leaves",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "plant-associated",
                        "unit": null
                    }
                ],
                "accession": "ERS559123",
                "analysis-completed": "2017-01-05",
                "collection-date": "2011-07-29",
                "geo-loc-name": "France",
                "sample-desc": "A3",
                "environment-biome": "deciduous woodland",
                "environment-feature": "Quercus robur",
                "environment-material": "leaves",
                "sample-name": "resistant tree",
                "sample-alias": "resistant tree",
                "host-tax-id": 38942,
                "species": null,
                "last-update": "2020-11-05T13:38:04"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Plants:Phylloplane"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants:Phylloplane?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS559123/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001376",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001376?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS559123/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS559123?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS559121",
            "attributes": {
                "latitude": 44.2,
                "longitude": 0.24,
                "biosample": "SAMEA2797510",
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "METAPHORE",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2011-07-29",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "pyrosequencing",
                        "unit": null
                    },
                    {
                        "key": "NCBI sample classification",
                        "value": "38942",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS Junior",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000020",
                        "unit": null
                    },
                    {
                        "key": "plant-associated environmental package",
                        "value": "plant-associated",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "44.2",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "0.24",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "France",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Quercus robur",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "deciduous woodland",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "leaves",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "plant-associated",
                        "unit": null
                    }
                ],
                "accession": "ERS559121",
                "analysis-completed": "2017-01-05",
                "collection-date": "2011-07-29",
                "geo-loc-name": "France",
                "sample-desc": "A2",
                "environment-biome": "deciduous woodland",
                "environment-feature": "Quercus robur",
                "environment-material": "leaves",
                "sample-name": "susceptible tree",
                "sample-alias": "susceptible tree",
                "host-tax-id": 38942,
                "species": null,
                "last-update": "2020-11-05T13:35:52"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Plants:Phylloplane"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants:Phylloplane?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS559121/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001376",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001376?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS559121/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS559121?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS550436",
            "attributes": {
                "latitude": 44.2,
                "longitude": 0.24,
                "biosample": "SAMEA2780687",
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "METAPHORE",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2011-07-29",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "illumina",
                        "unit": null
                    },
                    {
                        "key": "NCBI sample classification",
                        "value": "38942",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina Genome Analyzer IIx",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000020",
                        "unit": null
                    },
                    {
                        "key": "plant-associated environmental package",
                        "value": "plant-associated",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "44.2",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "0.24",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "France",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "English oak",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "deciduous woodland",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "leaves",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "plant-associated",
                        "unit": null
                    }
                ],
                "accession": "ERS550436",
                "analysis-completed": "2017-01-05",
                "collection-date": "2011-07-29",
                "geo-loc-name": "France",
                "sample-desc": "v6 forward and backward reads",
                "environment-biome": "deciduous woodland",
                "environment-feature": "English oak",
                "environment-material": "leaves",
                "sample-name": "phyllosphere bacteria",
                "sample-alias": "phyllosphere bacteria",
                "host-tax-id": 38942,
                "species": null,
                "last-update": "2020-11-05T13:34:28"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Plants:Phylloplane"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants:Phylloplane?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS550436/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001376",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001376?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS550436/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS550436?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 4
        }
    }
}