GET /metagenomics/api/v1/studies/MGYS00006207/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/MGYS00006207/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006207/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS4022446",
            "attributes": {
                "biosample": "SAMN09812531",
                "longitude": 6.2069,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "6.2069",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "France",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2018-06-15",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "Metagenome or environmental",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "46.1853",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "tomato fruit",
                        "unit": null
                    }
                ],
                "latitude": 46.1853,
                "accession": "SRS4022446",
                "analysis-completed": null,
                "collection-date": "2018-06-15",
                "geo-loc-name": null,
                "sample-desc": "tomato fruit metagenome of the variety DRC 06",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "26DFP",
                "sample-alias": "26DFP",
                "host-tax-id": null,
                "species": null,
                "last-update": "2023-06-08T14:33:17"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Plants"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4022446/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006207",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006207?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4022446/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4022446?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS4022440",
            "attributes": {
                "biosample": "SAMN09812535",
                "longitude": 6.256,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "6.255954",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "France",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2018-07-02",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "Metagenome or environmental",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "46.269468",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "tomato fruit",
                        "unit": null
                    }
                ],
                "latitude": 46.2695,
                "accession": "SRS4022440",
                "analysis-completed": null,
                "collection-date": "2018-07-02",
                "geo-loc-name": null,
                "sample-desc": "tomato fruit metagenome of the variety Trilley",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "31TFP",
                "sample-alias": "31TFP",
                "host-tax-id": null,
                "species": null,
                "last-update": "2023-06-08T14:32:28"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Plants"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4022440/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006207",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006207?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4022440/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4022440?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS4022435",
            "attributes": {
                "biosample": "SAMN09812514",
                "longitude": -7.0926,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "-7.09262",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Morocco",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2018-05-02",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "Metagenome or environmental",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "31.7917",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "tomato fruit",
                        "unit": null
                    }
                ],
                "latitude": 31.7917,
                "accession": "SRS4022435",
                "analysis-completed": null,
                "collection-date": "2018-05-02",
                "geo-loc-name": null,
                "sample-desc": "tomato fruit metagenome of an unknown variety",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "9IMC",
                "sample-alias": "9IMC",
                "host-tax-id": null,
                "species": null,
                "last-update": "2023-06-08T14:31:02"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Plants"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4022435/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006207",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006207?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4022435/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4022435?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS4022434",
            "attributes": {
                "biosample": "SAMN09812513",
                "longitude": 12.5674,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "12.56738",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Italy",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2018-04-27",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "Metagenome or environmental",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "41.87194",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "tomato fruit",
                        "unit": null
                    }
                ],
                "latitude": 41.8719,
                "accession": "SRS4022434",
                "analysis-completed": null,
                "collection-date": "2018-04-27",
                "geo-loc-name": null,
                "sample-desc": "tomato fruit metagenome of the variety Creativo",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "8CIM",
                "sample-alias": "8CIM",
                "host-tax-id": null,
                "species": null,
                "last-update": "2023-06-08T14:30:11"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Plants"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4022434/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006207",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006207?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4022434/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4022434?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS4022447",
            "attributes": {
                "biosample": "SAMN09812534",
                "longitude": 6.256,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "6.255954",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "France",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2018-07-02",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "Metagenome or environmental",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "46.269468",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "tomato fruit",
                        "unit": null
                    }
                ],
                "latitude": 46.2695,
                "accession": "SRS4022447",
                "analysis-completed": null,
                "collection-date": "2018-07-02",
                "geo-loc-name": null,
                "sample-desc": "tomato fruit metagenome of the variety Gold Nugget",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "30GFP",
                "sample-alias": "30GFP",
                "host-tax-id": null,
                "species": null,
                "last-update": "2023-06-08T14:29:15"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Plants"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4022447/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006207",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006207?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4022447/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4022447?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 5
        }
    }
}