GET /metagenomics/api/v1/studies/MGYS00004591/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/MGYS00004591/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004591/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS708094",
            "attributes": {
                "latitude": 52.96,
                "longitude": 0.92,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "0.92",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "United Kingdom: Stiffkey",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2012-11-30",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "marine salt marsh biome",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "salt marsh",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "water",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "0.0",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "52.96",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX Titanium",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2015-06-23",
                        "unit": null
                    }
                ],
                "biosample": "SAMN03072167",
                "accession": "SRS708094",
                "analysis-completed": "2019-04-12",
                "collection-date": "2012-11-30",
                "geo-loc-name": "United Kingdom: Stiffkey",
                "sample-desc": "This sample has been submitted by University of East Anglia on 2015-06-02; marine metagenome",
                "environment-biome": "marine salt marsh biome",
                "environment-feature": "salt marsh",
                "environment-material": "water",
                "sample-name": "SM DNA 2012/11",
                "sample-alias": "SM DNA 2012/11",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-04-12T17:33:55"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Marine:Pelagic"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Pelagic?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS708094/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00004591",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004591?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS708094/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS708094?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS708095",
            "attributes": {
                "latitude": 52.93,
                "longitude": 1.3,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "1.3",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "United Kingdom: Cromer",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2012-11-30",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "coastal water body",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "sandy beach",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "water",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "0.0",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "52.93",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX Titanium",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2015-06-23",
                        "unit": null
                    }
                ],
                "biosample": "SAMN03072168",
                "accession": "SRS708095",
                "analysis-completed": "2019-04-12",
                "collection-date": "2012-11-30",
                "geo-loc-name": "United Kingdom: Cromer",
                "sample-desc": "This sample has been submitted by University of East Anglia on 2015-06-02; marine metagenome",
                "environment-biome": "coastal water body",
                "environment-feature": "sandy beach",
                "environment-material": "water",
                "sample-name": "CB DNA 2012/11",
                "sample-alias": "CB DNA 2012/11",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-04-12T17:33:55"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Marine:Pelagic"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Pelagic?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS708095/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00004591",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004591?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS708095/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS708095?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS708096",
            "attributes": {
                "latitude": 52.46,
                "longitude": 1.74,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "1.74",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "United Kingdom: Lowestoft",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2013-01-01",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "coastal water body",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "coast",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "water",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "0.0",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "52.46",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX Titanium",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2015-06-23",
                        "unit": null
                    }
                ],
                "biosample": "SAMN03072169",
                "accession": "SRS708096",
                "analysis-completed": "2019-04-12",
                "collection-date": "2013-01-01",
                "geo-loc-name": "United Kingdom: Lowestoft",
                "sample-desc": "This sample has been submitted by University of East Anglia on 2015-06-02; marine metagenome",
                "environment-biome": "coastal water body",
                "environment-feature": "coast",
                "environment-material": "water",
                "sample-name": "LO DNA 2013",
                "sample-alias": "LO DNA 2013",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-04-12T17:33:55"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Marine:Pelagic"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Pelagic?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS708096/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00004591",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004591?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS708096/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS708096?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS703384",
            "attributes": {
                "latitude": 50.25,
                "longitude": -4.22,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "-4.22",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "United Kingdom: WCO station L4",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2012-11-01",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "neritic epipelagic zone biome",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "marine bulk water",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "water",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "0.0",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "50.25",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX Titanium",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2015-06-23",
                        "unit": null
                    }
                ],
                "biosample": "SAMN03072166",
                "accession": "SRS703384",
                "analysis-completed": "2019-04-12",
                "collection-date": "2012-11-01",
                "geo-loc-name": "United Kingdom: WCO station L4",
                "sample-desc": "This sample has been submitted by University of East Anglia on 2015-06-02; marine metagenome",
                "environment-biome": "neritic epipelagic zone biome",
                "environment-feature": "marine bulk water",
                "environment-material": "water",
                "sample-name": "L4 DNA 2012/11",
                "sample-alias": "L4 DNA 2012/11",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-04-12T17:31:40"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Marine:Neritic zone"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Neritic%20zone?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS703384/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00004590",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004590?format=api"
                            }
                        },
                        {
                            "type": "studies",
                            "id": "MGYS00004591",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004591?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS703384/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS703384?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 4
        }
    }
}