GET /metagenomics/api/v1/studies/MGYS00002348/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/MGYS00002348/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002348/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS2418541",
            "attributes": {
                "latitude": 0.0,
                "longitude": 0.0,
                "biosample": "SAMEA4597831",
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "0.0",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "United Kingdom",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2018-03-01/2018-03-31",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "simulated",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "simulated",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "simulated",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "human-oral",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "Simulated as Illumina Reads",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "0.0",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 4000",
                        "unit": null
                    }
                ],
                "accession": "ERS2418541",
                "analysis-completed": "2018-04-23",
                "collection-date": "2018-03-01",
                "geo-loc-name": "United Kingdom",
                "sample-desc": "oral_community",
                "environment-biome": "simulated",
                "environment-feature": "simulated",
                "environment-material": "simulated",
                "sample-name": "oral_community_no_duplicates",
                "sample-alias": "oral_community_no_duplicates",
                "host-tax-id": null,
                "species": null,
                "last-update": "2018-04-23T09:19:08"
            },
            "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/ERS2418541/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00002348",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002348?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2418541/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2418541?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS2418542",
            "attributes": {
                "latitude": 0.0,
                "longitude": 0.0,
                "biosample": "SAMEA4597832",
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "0.0",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "United Kingdom",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2018-03-01/2018-03-31",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "simulated",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "simulated",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "simulated",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "human-oral",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "Simulated as Illumina Reads",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "0.0",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 4000",
                        "unit": null
                    }
                ],
                "accession": "ERS2418542",
                "analysis-completed": "2018-04-23",
                "collection-date": "2018-03-01",
                "geo-loc-name": "United Kingdom",
                "sample-desc": "oral_community",
                "environment-biome": "simulated",
                "environment-feature": "simulated",
                "environment-material": "simulated",
                "sample-name": "oral_community_artificial_duplicates_1",
                "sample-alias": "oral_community_artificial_duplicates_1",
                "host-tax-id": null,
                "species": null,
                "last-update": "2018-04-23T09:19:08"
            },
            "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/ERS2418542/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00002348",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002348?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2418542/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2418542?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS2418543",
            "attributes": {
                "latitude": 0.0,
                "longitude": 0.0,
                "biosample": "SAMEA4597833",
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "0.0",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "United Kingdom",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2018-03-01/2018-03-31",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "simulated",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "simulated",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "simulated",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "human-oral",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "Simulated as Illumina Reads",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "0.0",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 4000",
                        "unit": null
                    }
                ],
                "accession": "ERS2418543",
                "analysis-completed": "2018-04-23",
                "collection-date": "2018-03-01",
                "geo-loc-name": "United Kingdom",
                "sample-desc": "oral_community",
                "environment-biome": "simulated",
                "environment-feature": "simulated",
                "environment-material": "simulated",
                "sample-name": "oral_community_artificial_duplicates_5",
                "sample-alias": "oral_community_artificial_duplicates_5",
                "host-tax-id": null,
                "species": null,
                "last-update": "2018-04-23T09:19:08"
            },
            "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/ERS2418543/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00002348",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002348?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2418543/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2418543?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS2418544",
            "attributes": {
                "latitude": 0.0,
                "longitude": 0.0,
                "biosample": "SAMEA4597834",
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "0.0",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "United Kingdom",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2018-03-01/2018-03-31",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "simulated",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "simulated",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "simulated",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "human-oral",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "Simulated as Illumina Reads",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "0.0",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 4000",
                        "unit": null
                    }
                ],
                "accession": "ERS2418544",
                "analysis-completed": "2018-04-23",
                "collection-date": "2018-03-01",
                "geo-loc-name": "United Kingdom",
                "sample-desc": "oral_community",
                "environment-biome": "simulated",
                "environment-feature": "simulated",
                "environment-material": "simulated",
                "sample-name": "oral_community_artificial_duplicates_20",
                "sample-alias": "oral_community_artificial_duplicates_20",
                "host-tax-id": null,
                "species": null,
                "last-update": "2018-04-23T09:19:08"
            },
            "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/ERS2418544/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00002348",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002348?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2418544/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2418544?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 4
        }
    }
}