GET /metagenomics/api/v1/studies/MGYS00003335/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/MGYS00003335/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003335/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS1557871",
            "attributes": {
                "latitude": 34.0,
                "longitude": -118.0,
                "biosample": "SAMN05368344",
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "-118",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "cultured habitat",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "ocean water",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "water",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "34",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2000",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2017-11-07",
                        "unit": null
                    }
                ],
                "accession": "SRS1557871",
                "analysis-completed": "2018-10-25",
                "collection-date": null,
                "geo-loc-name": "USA",
                "sample-desc": "This sample has been submitted by pda|lee_michael_d on 2017-11-07; marine metagenome",
                "environment-biome": "cultured habitat",
                "environment-feature": "ocean water",
                "environment-material": "water",
                "sample-name": "T0",
                "sample-alias": "T0",
                "host-tax-id": null,
                "species": null,
                "last-update": "2018-10-25T18:38:46"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Marine"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1557871/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00003335",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003335?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1557871/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1557871?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS1557872",
            "attributes": {
                "latitude": 34.0,
                "longitude": -118.0,
                "biosample": "SAMN05368345",
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "-118",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "cultured habitat",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "ocean water",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "water",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "34",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2000",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2017-11-07",
                        "unit": null
                    }
                ],
                "accession": "SRS1557872",
                "analysis-completed": "2018-10-25",
                "collection-date": null,
                "geo-loc-name": "USA",
                "sample-desc": "This sample has been submitted by pda|lee_michael_d on 2017-11-07; marine metagenome",
                "environment-biome": "cultured habitat",
                "environment-feature": "ocean water",
                "environment-material": "water",
                "sample-name": "Low_CO2",
                "sample-alias": "Low_CO2",
                "host-tax-id": null,
                "species": null,
                "last-update": "2018-10-25T18:38:46"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Marine"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1557872/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00003335",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003335?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1557872/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1557872?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS1557873",
            "attributes": {
                "latitude": 34.0,
                "longitude": -118.0,
                "biosample": "SAMN05368346",
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "-118",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "cultured habitat",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "ocean water",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "water",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "34",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2000",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2017-11-07",
                        "unit": null
                    }
                ],
                "accession": "SRS1557873",
                "analysis-completed": "2018-10-25",
                "collection-date": null,
                "geo-loc-name": "USA",
                "sample-desc": "This sample has been submitted by pda|lee_michael_d on 2017-11-07; marine metagenome",
                "environment-biome": "cultured habitat",
                "environment-feature": "ocean water",
                "environment-material": "water",
                "sample-name": "Low_CO2_B",
                "sample-alias": "Low_CO2_B",
                "host-tax-id": null,
                "species": null,
                "last-update": "2018-10-25T18:38:46"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Marine"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1557873/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00003335",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003335?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1557873/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1557873?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS1557874",
            "attributes": {
                "latitude": 34.0,
                "longitude": -118.0,
                "biosample": "SAMN05368347",
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "-118",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "cultured habitat",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "ocean water",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "water",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "34",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2000",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2017-11-07",
                        "unit": null
                    }
                ],
                "accession": "SRS1557874",
                "analysis-completed": "2018-10-25",
                "collection-date": null,
                "geo-loc-name": "USA",
                "sample-desc": "This sample has been submitted by pda|lee_michael_d on 2017-11-07; marine metagenome",
                "environment-biome": "cultured habitat",
                "environment-feature": "ocean water",
                "environment-material": "water",
                "sample-name": "High_CO2",
                "sample-alias": "High_CO2",
                "host-tax-id": null,
                "species": null,
                "last-update": "2018-10-25T18:38:46"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Marine"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1557874/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00003335",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003335?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1557874/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1557874?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS1557875",
            "attributes": {
                "latitude": 34.0,
                "longitude": -118.0,
                "biosample": "SAMN05368348",
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "-118",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "cultured habitat",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "ocean water",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "water",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "34",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2000",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2017-11-07",
                        "unit": null
                    }
                ],
                "accession": "SRS1557875",
                "analysis-completed": "2018-10-25",
                "collection-date": null,
                "geo-loc-name": "USA",
                "sample-desc": "This sample has been submitted by pda|lee_michael_d on 2017-11-07; marine metagenome",
                "environment-biome": "cultured habitat",
                "environment-feature": "ocean water",
                "environment-material": "water",
                "sample-name": "High_CO2_B",
                "sample-alias": "High_CO2_B",
                "host-tax-id": null,
                "species": null,
                "last-update": "2018-10-25T18:38:46"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Marine"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1557875/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00003335",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003335?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1557875/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1557875?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 5
        }
    }
}