GET /metagenomics/api/v1/studies/MGYS00004466/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/MGYS00004466/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004466/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS2053344",
            "attributes": {
                "latitude": 37.81,
                "biosample": "SAMN06610389",
                "longitude": 119.24,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "119.24",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "China:Yellow River",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016-05-16",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "river",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Estuary",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "plastic bags",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "1.3",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "37.81",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2000",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2018-03-18",
                        "unit": null
                    }
                ],
                "accession": "SRS2053344",
                "analysis-completed": "2019-04-06",
                "collection-date": "2016-05-16",
                "geo-loc-name": "China:Yellow River",
                "sample-desc": "This sample has been submitted by pda|bucuina on 2018-03-18; sediment metagenome",
                "environment-biome": "river",
                "environment-feature": "Estuary",
                "environment-material": "plastic bags",
                "sample-name": "Sample1",
                "sample-alias": "Sample1",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-04-06T17:48:41"
            },
            "relationships": {
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2053344/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Estuary:Sediment"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Estuary:Sediment?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2053344/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00004466",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004466?format=api"
                            }
                        }
                    ]
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2053344?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS2053375",
            "attributes": {
                "latitude": 37.8,
                "biosample": "SAMN06610390",
                "longitude": 119.24,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "119.24",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "China:Yellow River",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016-05-16",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "river",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Estuary",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "plastic bags",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "2.0",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "37.8",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2000",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2018-03-18",
                        "unit": null
                    }
                ],
                "accession": "SRS2053375",
                "analysis-completed": "2019-04-06",
                "collection-date": "2016-05-16",
                "geo-loc-name": "China:Yellow River",
                "sample-desc": "This sample has been submitted by pda|bucuina on 2018-03-18; sediment metagenome",
                "environment-biome": "river",
                "environment-feature": "Estuary",
                "environment-material": "plastic bags",
                "sample-name": "Sample2",
                "sample-alias": "Sample2",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-04-06T17:48:41"
            },
            "relationships": {
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2053375/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Estuary:Sediment"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Estuary:Sediment?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2053375/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00004466",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004466?format=api"
                            }
                        }
                    ]
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2053375?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS2053391",
            "attributes": {
                "latitude": 37.76,
                "biosample": "SAMN06610391",
                "longitude": 119.17,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "119.17",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "China:Yellow River",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016-05-16",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "river",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Estuary",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "plastic bags",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "4.0",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "37.76",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2000",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2018-03-18",
                        "unit": null
                    }
                ],
                "accession": "SRS2053391",
                "analysis-completed": "2019-04-06",
                "collection-date": "2016-05-16",
                "geo-loc-name": "China:Yellow River",
                "sample-desc": "This sample has been submitted by pda|bucuina on 2018-03-18; sediment metagenome",
                "environment-biome": "river",
                "environment-feature": "Estuary",
                "environment-material": "plastic bags",
                "sample-name": "Sample3",
                "sample-alias": "Sample3",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-04-06T17:48:41"
            },
            "relationships": {
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2053391/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Estuary:Sediment"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Estuary:Sediment?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2053391/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00004466",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004466?format=api"
                            }
                        }
                    ]
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2053391?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS2053447",
            "attributes": {
                "latitude": 37.76,
                "biosample": "SAMN06610392",
                "longitude": 119.16,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "119.16",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "China:Yellow River",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016-05-16",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "river",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Estuary",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "plastic bags",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "5.0",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "37.76",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2000",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2018-03-18",
                        "unit": null
                    }
                ],
                "accession": "SRS2053447",
                "analysis-completed": "2019-04-06",
                "collection-date": "2016-05-16",
                "geo-loc-name": "China:Yellow River",
                "sample-desc": "This sample has been submitted by pda|bucuina on 2018-03-18; sediment metagenome",
                "environment-biome": "river",
                "environment-feature": "Estuary",
                "environment-material": "plastic bags",
                "sample-name": "Sample5",
                "sample-alias": "Sample5",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-04-06T17:48:41"
            },
            "relationships": {
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2053447/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Estuary:Sediment"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Estuary:Sediment?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2053447/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00004466",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004466?format=api"
                            }
                        }
                    ]
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2053447?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 4
        }
    }
}