GET /metagenomics/api/v1/studies/MGYS00003932/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/MGYS00003932/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003932/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS2405203",
            "attributes": {
                "latitude": 34.3992,
                "biosample": "SAMEA4584476",
                "longitude": 118.9182,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "IBK Shotgun Metagenomics Analysis Sample A3",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "118.9182",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016-04-23",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Bos taurus x Bison bison",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "microbial feature",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "aqueous humour",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "host-associated",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "illumina",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "34.3992",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "unspecified",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000013",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2018-04-13",
                        "unit": null
                    }
                ],
                "accession": "ERS2405203",
                "analysis-completed": "2019-03-08",
                "collection-date": "2016-04-23",
                "geo-loc-name": "USA",
                "sample-desc": "A3:R1 Taxonomy ID:1218275",
                "environment-biome": "Bos taurus x Bison bison",
                "environment-feature": "microbial feature",
                "environment-material": "aqueous humour",
                "sample-name": "A3:R1 Taxonomy ID:1218275",
                "sample-alias": "mgs585816",
                "host-tax-id": 9913,
                "species": "Bos taurus",
                "last-update": "2019-03-08T14:17:37"
            },
            "relationships": {
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2405203/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Mammals"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2405203/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00003932",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003932?format=api"
                            }
                        }
                    ]
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2405203?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS2405204",
            "attributes": {
                "latitude": 34.3992,
                "biosample": "SAMEA4584477",
                "longitude": 118.9182,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "IBK Shotgun Metagenomics Analysis Sample A3",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "118.9182",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016-04-23",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Bos taurus x Bison bison",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "microbial feature",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "aqueous humour",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "host-associated",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "illumina",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "34.3992",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "unspecified",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000013",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2018-04-13",
                        "unit": null
                    }
                ],
                "accession": "ERS2405204",
                "analysis-completed": "2019-03-08",
                "collection-date": "2016-04-23",
                "geo-loc-name": "USA",
                "sample-desc": "A3:R2 Taxonomy ID:1218275",
                "environment-biome": "Bos taurus x Bison bison",
                "environment-feature": "microbial feature",
                "environment-material": "aqueous humour",
                "sample-name": "A3:R2 Taxonomy ID:1218275",
                "sample-alias": "mgs585819",
                "host-tax-id": 9913,
                "species": "Bos taurus",
                "last-update": "2019-03-08T14:17:37"
            },
            "relationships": {
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2405204/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Mammals"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2405204/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00003932",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003932?format=api"
                            }
                        }
                    ]
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2405204?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 2
        }
    }
}