GET /metagenomics/api/v1/studies/MGYS00005654/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/MGYS00005654/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005654/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS2704733",
            "attributes": {
                "latitude": 52.453,
                "longitude": 158.195,
                "biosample": "SAMN08046056",
                "sample-metadata": [
                    {
                        "key": "geographic location (latitude)",
                        "value": "52.453",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "158.195",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2001-08-01",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Russia: Kamchatka, Mutnovsky",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "acid hot spring",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "hot spring",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "thermophilic sediment",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "1.0",
                        "unit": null
                    },
                    {
                        "key": "temperature",
                        "value": "70.0",
                        "unit": null
                    }
                ],
                "accession": "SRS2704733",
                "analysis-completed": null,
                "collection-date": "2001-08-01",
                "geo-loc-name": null,
                "sample-desc": "KM",
                "environment-biome": "hot spring",
                "environment-feature": "acid hot spring",
                "environment-material": "thermophilic sediment",
                "sample-name": "Mutnovsky hot spring sediment",
                "sample-alias": "Mutnovsky hot spring sediment",
                "host-tax-id": null,
                "species": null,
                "last-update": "2020-11-17T16:01:47"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Thermal springs:Hot (42-90C)"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Thermal%20springs:Hot%20(42-90C)?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2704733/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00005653",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005653?format=api"
                            }
                        },
                        {
                            "type": "studies",
                            "id": "MGYS00005654",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005654?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2704733/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2704733?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS2704734",
            "attributes": {
                "latitude": 54.5,
                "longitude": 159.967,
                "biosample": "SAMN08046057",
                "sample-metadata": [
                    {
                        "key": "geographic location (latitude)",
                        "value": "54.5",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "159.967",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2001-07-27",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Russia: Kamchatka, Uzon Caldera",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "neutral hot spring",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "hot spring",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "thermophilic sediment",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "1.0",
                        "unit": null
                    },
                    {
                        "key": "temperature",
                        "value": "81.0",
                        "unit": null
                    }
                ],
                "accession": "SRS2704734",
                "analysis-completed": null,
                "collection-date": "2001-07-27",
                "geo-loc-name": null,
                "sample-desc": "KU",
                "environment-biome": "hot spring",
                "environment-feature": "neutral hot spring",
                "environment-material": "thermophilic sediment",
                "sample-name": "Uzon Caldera hot spring sediment",
                "sample-alias": "Uzon Caldera hot spring sediment",
                "host-tax-id": null,
                "species": null,
                "last-update": "2020-11-17T15:57:44"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Thermal springs:Hot (42-90C)"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Thermal%20springs:Hot%20(42-90C)?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2704734/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00005653",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005653?format=api"
                            }
                        },
                        {
                            "type": "studies",
                            "id": "MGYS00005654",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005654?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2704734/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2704734?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 2
        }
    }
}