GET /metagenomics/api/v1/studies/MGYS00005019/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/MGYS00005019/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005019/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS2405813",
            "attributes": {
                "biosample": "SAMN07138134",
                "longitude": -122.3132,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "-122.3132",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA: Berkeley, CA, marina",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2015-01-01",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "37.8629",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2000",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2017-12-06",
                        "unit": null
                    }
                ],
                "latitude": 37.8629,
                "accession": "SRS2405813",
                "analysis-completed": "2019-06-17",
                "collection-date": "2015-01-01",
                "geo-loc-name": "USA: Berkeley, CA, marina",
                "sample-desc": "Metagenome from 1% salinity (w/v NaCl) perchlorate enrichment",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "Metagenome from 1% salinity (w/v NaCl) perchlorate enrichment",
                "sample-alias": "1% salinity (w/v NaCl) perchlorate enrichment",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-06-17T17:27:55"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Engineered:Bioreactor"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Bioreactor?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2405813/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00005019",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005019?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2405813/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2405813?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS2405814",
            "attributes": {
                "biosample": "SAMN07138132",
                "longitude": -122.3132,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "-122.3132",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA: Berkeley, CA, marina",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2015-01-01",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "37.8629",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2000",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2017-12-06",
                        "unit": null
                    }
                ],
                "latitude": 37.8629,
                "accession": "SRS2405814",
                "analysis-completed": "2019-06-17",
                "collection-date": "2015-01-01",
                "geo-loc-name": "USA: Berkeley, CA, marina",
                "sample-desc": "Metagenome from estuary sediment in Berkeley, CA",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "Metagenome from estuary sediment in Berkeley, CA",
                "sample-alias": "Estuary sediment from Berkeley, CA",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-06-17T17:27:55"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Engineered:Bioreactor"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Bioreactor?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2405814/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00005019",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005019?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2405814/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2405814?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS2405815",
            "attributes": {
                "biosample": "SAMN07138185",
                "longitude": -122.3132,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "-122.3132",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA: Berkeley, CA, marina",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2015-01-01",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "37.8629",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2000",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2017-12-06",
                        "unit": null
                    }
                ],
                "latitude": 37.8629,
                "accession": "SRS2405815",
                "analysis-completed": "2019-06-17",
                "collection-date": "2015-01-01",
                "geo-loc-name": "USA: Berkeley, CA, marina",
                "sample-desc": "Metagenome from 5% salinity (w/v NaCl) perchlorate enrichment",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "Metagenome from 5% salinity (w/v NaCl) perchlorate enrichment",
                "sample-alias": "5% salinity (w/v NaCl) perchlorate enrichment",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-06-17T17:27:55"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Engineered:Bioreactor"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Bioreactor?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2405815/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00005019",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005019?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2405815/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2405815?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS2405816",
            "attributes": {
                "biosample": "SAMN07138135",
                "longitude": -122.3132,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "-122.3132",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA: Berkeley, CA, marina",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2015-01-01",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "37.8629",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2000",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2017-12-06",
                        "unit": null
                    }
                ],
                "latitude": 37.8629,
                "accession": "SRS2405816",
                "analysis-completed": "2019-06-17",
                "collection-date": "2015-01-01",
                "geo-loc-name": "USA: Berkeley, CA, marina",
                "sample-desc": "Metagenome from 3% salinity (w/v NaCl) perchlorate enrichment",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "Metagenome from 3% salinity (w/v NaCl) perchlorate enrichment",
                "sample-alias": "3% salinity (w/v NaCl) perchlorate enrichment",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-06-17T17:27:55"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Engineered:Bioreactor"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Bioreactor?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2405816/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00005019",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005019?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2405816/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2405816?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS2405817",
            "attributes": {
                "biosample": "SAMN07138186",
                "longitude": -122.3132,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "-122.3132",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA: Berkeley, CA, marina",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2015-01-01",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "37.8629",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2000",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2017-12-06",
                        "unit": null
                    }
                ],
                "latitude": 37.8629,
                "accession": "SRS2405817",
                "analysis-completed": "2019-06-17",
                "collection-date": "2015-01-01",
                "geo-loc-name": "USA: Berkeley, CA, marina",
                "sample-desc": "Metagenome from 7% salinity (w/v NaCl) perchlorate enrichment",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "Metagenome from 7% salinity (w/v NaCl) perchlorate enrichment",
                "sample-alias": "7% salinity (w/v NaCl) perchlorate enrichment",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-06-17T17:27:55"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Engineered:Bioreactor"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Bioreactor?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2405817/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00005019",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005019?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2405817/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2405817?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 5
        }
    }
}