GET /metagenomics/api/v1/studies/MGYS00003736/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/MGYS00003736/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003736/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "DRS082578",
            "attributes": {
                "biosample": "SAMD00069559",
                "longitude": 116.34,
                "latitude": 40.0,
                "sample-metadata": [
                    {
                        "key": "project name",
                        "value": "Ovine microbial community",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "116.34",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "China:Beijing",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016-01-01",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "animal-associated habitat",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "livestock",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "Abomasum fluid",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "40",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina MiSeq",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2018-12-17",
                        "unit": null
                    },
                    {
                        "key": "host",
                        "value": "sheep",
                        "unit": null
                    }
                ],
                "accession": "DRS082578",
                "analysis-completed": "2019-02-18",
                "collection-date": "2016-01-01",
                "geo-loc-name": "China:Beijing",
                "sample-desc": "0CGARS",
                "environment-biome": "animal-associated habitat",
                "environment-feature": "livestock",
                "environment-material": "Abomasum fluid",
                "sample-name": "0CGARS",
                "sample-alias": "SAMD00069559",
                "host-tax-id": 9940,
                "species": "Ovis aries",
                "last-update": "2019-02-18T11:31:30"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS082578/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00003736",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003736?format=api"
                            }
                        }
                    ]
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Mammals:Digestive system:Stomach"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system:Stomach?format=api"
                    }
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS082578/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS082578?format=api"
            }
        },
        {
            "type": "samples",
            "id": "DRS082579",
            "attributes": {
                "biosample": "SAMD00069561",
                "longitude": 116.34,
                "latitude": 40.0,
                "sample-metadata": [
                    {
                        "key": "project name",
                        "value": "Ovine microbial community",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "116.34",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "China:Beijing",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016-01-01",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "animal-associated habitat",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "livestock",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "Abomasum fluid",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "40",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina MiSeq",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2018-12-17",
                        "unit": null
                    },
                    {
                        "key": "host",
                        "value": "sheep",
                        "unit": null
                    }
                ],
                "accession": "DRS082579",
                "analysis-completed": "2019-02-18",
                "collection-date": "2016-01-01",
                "geo-loc-name": "China:Beijing",
                "sample-desc": "7GARS",
                "environment-biome": "animal-associated habitat",
                "environment-feature": "livestock",
                "environment-material": "Abomasum fluid",
                "sample-name": "7GARS",
                "sample-alias": "SAMD00069561",
                "host-tax-id": 9940,
                "species": "Ovis aries",
                "last-update": "2019-02-18T11:31:30"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS082579/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00003736",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003736?format=api"
                            }
                        }
                    ]
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Mammals:Digestive system:Stomach"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system:Stomach?format=api"
                    }
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS082579/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS082579?format=api"
            }
        },
        {
            "type": "samples",
            "id": "DRS082580",
            "attributes": {
                "biosample": "SAMD00069563",
                "longitude": 116.34,
                "latitude": 40.0,
                "sample-metadata": [
                    {
                        "key": "project name",
                        "value": "Ovine microbial community",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "116.34",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "China:Beijing",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016-01-01",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "animal-associated habitat",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "livestock",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "Abomasum fluid",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "40",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina MiSeq",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2018-12-17",
                        "unit": null
                    },
                    {
                        "key": "host",
                        "value": "sheep",
                        "unit": null
                    }
                ],
                "accession": "DRS082580",
                "analysis-completed": "2019-02-18",
                "collection-date": "2016-01-01",
                "geo-loc-name": "China:Beijing",
                "sample-desc": "50GARS",
                "environment-biome": "animal-associated habitat",
                "environment-feature": "livestock",
                "environment-material": "Abomasum fluid",
                "sample-name": "50GARS",
                "sample-alias": "SAMD00069563",
                "host-tax-id": 9940,
                "species": "Ovis aries",
                "last-update": "2019-02-18T11:31:30"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS082580/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00003736",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003736?format=api"
                            }
                        }
                    ]
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Mammals:Digestive system:Stomach"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system:Stomach?format=api"
                    }
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS082580/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/DRS082580?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 3
        }
    }
}