GET /metagenomics/api/v1/studies/MGYS00000951/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/MGYS00000951/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000951/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS614151",
            "attributes": {
                "latitude": null,
                "longitude": null,
                "biosample": "SAMN02787192",
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "21.5??N 100.7??E",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "China:Yunnan:Xishuangbanna:Mengsong",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2011",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "woodland",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "rain forest",
                        "unit": null
                    },
                    {
                        "key": "elevation",
                        "value": "1000-2000",
                        "unit": null
                    },
                    {
                        "key": "NCBI sample classification",
                        "value": "1348798",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX",
                        "unit": null
                    }
                ],
                "accession": "SRS614151",
                "analysis-completed": "2016-05-16",
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "MIMS Environmental/Metagenome sample from terrestrial metagenome",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "MIMS Environmental/Metagenome sample from terrestrial metagenome",
                "sample-alias": "above-ground",
                "host-tax-id": null,
                "species": null,
                "last-update": "2016-05-16T15:20:58"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Terrestrial:Soil:Forest soil"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil:Forest%20soil?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS614151/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00000951",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000951?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS614151/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS614151?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS614161",
            "attributes": {
                "latitude": null,
                "longitude": null,
                "biosample": "SAMN02787193",
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "16.2??N 107.8??E",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Vietnam:Bacn Ma",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2011-4",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "woodland",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "forest",
                        "unit": null
                    },
                    {
                        "key": "elevation",
                        "value": "30-190",
                        "unit": null
                    },
                    {
                        "key": "NCBI sample classification",
                        "value": "1348798",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX",
                        "unit": null
                    }
                ],
                "accession": "SRS614161",
                "analysis-completed": "2016-05-16",
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "MIMS Environmental/Metagenome sample from terrestrial metagenome",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "MIMS Environmental/Metagenome sample from terrestrial metagenome",
                "sample-alias": "fogging",
                "host-tax-id": null,
                "species": null,
                "last-update": "2016-05-16T15:20:58"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Terrestrial:Soil:Forest soil"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil:Forest%20soil?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS614161/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00000951",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000951?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS614161/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS614161?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS618811",
            "attributes": {
                "latitude": null,
                "longitude": null,
                "biosample": "SAMN02787189",
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "21.5??N 100.5??E",
                        "unit": null
                    },
                    {
                        "key": "geographic location (depth)",
                        "value": "surface",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "China:Yunnan:Xishuangbanna:Mengsong",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2011-3",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "woodland",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "rain forest",
                        "unit": null
                    },
                    {
                        "key": "elevation",
                        "value": "1000-2000",
                        "unit": null
                    },
                    {
                        "key": "NCBI sample classification",
                        "value": "1348798",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX",
                        "unit": null
                    }
                ],
                "accession": "SRS618811",
                "analysis-completed": "2016-05-16",
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "MIMS Environmental/Metagenome sample from terrestrial metagenome",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "MIMS Environmental/Metagenome sample from terrestrial metagenome",
                "sample-alias": "ground-level",
                "host-tax-id": null,
                "species": null,
                "last-update": "2016-05-16T15:20:58"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Terrestrial:Soil:Forest soil"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil:Forest%20soil?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS618811/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00000951",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000951?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS618811/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS618811?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS618812",
            "attributes": {
                "latitude": null,
                "longitude": null,
                "biosample": "SAMN02787191",
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "18.3??N 105.4??E",
                        "unit": null
                    },
                    {
                        "key": "geographic location (depth)",
                        "value": "surface",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Vietnam:Vu Quang",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2011-4",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "woodland",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "forest",
                        "unit": null
                    },
                    {
                        "key": "elevation",
                        "value": "30-75",
                        "unit": null
                    },
                    {
                        "key": "NCBI sample classification",
                        "value": "1348798",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX",
                        "unit": null
                    }
                ],
                "accession": "SRS618812",
                "analysis-completed": "2016-05-16",
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "MIMS Environmental/Metagenome sample from terrestrial metagenome",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "MIMS Environmental/Metagenome sample from terrestrial metagenome",
                "sample-alias": "leaf litter",
                "host-tax-id": null,
                "species": null,
                "last-update": "2016-05-16T15:20:58"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Terrestrial:Soil:Forest soil"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil:Forest%20soil?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS618812/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00000951",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000951?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS618812/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS618812?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 4
        }
    }
}