GET /metagenomics/api/v1/studies/MGYS00006665/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/MGYS00006665/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006665/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS2940583",
            "attributes": {
                "biosample": "SAMN08518068",
                "longitude": 9.08,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "9.08",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Norway",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016-12-08",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "intestine",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "microbial",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "feces",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "MIMS.me;MIGS/MIMS/MIMARKS.host-associated",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "8030",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "63.29",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Salmo salar",
                        "unit": null
                    }
                ],
                "latitude": 63.29,
                "accession": "SRS2940583",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Keywords: GSC:MIxS MIMS:5.0",
                "environment-biome": "intestine",
                "environment-feature": "microbial",
                "environment-material": "feces",
                "sample-name": "11C",
                "sample-alias": "11C",
                "host-tax-id": 8030,
                "species": null,
                "last-update": "2024-05-29T13:16:15"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Fish:Digestive system"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Fish:Digestive%20system?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2940583/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006665",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006665?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2940583/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2940583?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS2940581",
            "attributes": {
                "biosample": "SAMN08518066",
                "longitude": 9.08,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "9.08",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Norway",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016-12-08",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "intestine",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "microbial",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "feces",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "MIMS.me;MIGS/MIMS/MIMARKS.host-associated",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "8030",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "63.29",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Salmo salar",
                        "unit": null
                    }
                ],
                "latitude": 63.29,
                "accession": "SRS2940581",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Keywords: GSC:MIxS MIMS:5.0",
                "environment-biome": "intestine",
                "environment-feature": "microbial",
                "environment-material": "feces",
                "sample-name": "10H",
                "sample-alias": "10H",
                "host-tax-id": 8030,
                "species": null,
                "last-update": "2024-05-29T13:15:17"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Fish:Digestive system"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Fish:Digestive%20system?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2940581/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006665",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006665?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2940581/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2940581?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS2940580",
            "attributes": {
                "biosample": "SAMN08518067",
                "longitude": 9.08,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "9.08",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Norway",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016-12-08",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "intestine",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "microbial",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "feces",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "MIMS.me;MIGS/MIMS/MIMARKS.host-associated",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "8030",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "63.29",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Salmo salar",
                        "unit": null
                    }
                ],
                "latitude": 63.29,
                "accession": "SRS2940580",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Keywords: GSC:MIxS MIMS:5.0",
                "environment-biome": "intestine",
                "environment-feature": "microbial",
                "environment-material": "feces",
                "sample-name": "10G",
                "sample-alias": "10G",
                "host-tax-id": 8030,
                "species": null,
                "last-update": "2024-05-29T13:14:33"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Fish:Digestive system"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Fish:Digestive%20system?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2940580/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006665",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006665?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2940580/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2940580?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS2940582",
            "attributes": {
                "biosample": "SAMN08518069",
                "longitude": 9.08,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "9.08",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Norway",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2016-12-08",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "intestine",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "microbial",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "feces",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "MIMS.me;MIGS/MIMS/MIMARKS.host-associated",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "8030",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "63.29",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Salmo salar",
                        "unit": null
                    }
                ],
                "latitude": 63.29,
                "accession": "SRS2940582",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Keywords: GSC:MIxS MIMS:5.0",
                "environment-biome": "intestine",
                "environment-feature": "microbial",
                "environment-material": "feces",
                "sample-name": "11E",
                "sample-alias": "11E",
                "host-tax-id": 8030,
                "species": null,
                "last-update": "2024-05-29T13:12:21"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Fish:Digestive system"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Fish:Digestive%20system?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2940582/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006665",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006665?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2940582/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2940582?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 4
        }
    }
}