GET /metagenomics/api/v1/studies/MGYS00002840/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/MGYS00002840/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002840/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS560591",
            "attributes": {
                "latitude": 27.35,
                "longitude": -111.28,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-111.28",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Sonora Margin",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2010-06-19",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Cold seeps",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "sediment",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "1.0",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "27.35",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX Titanium",
                        "unit": null
                    }
                ],
                "biosample": "SAMN02644983",
                "accession": "SRS560591",
                "analysis-completed": "2018-09-05",
                "collection-date": "2010-06-19",
                "geo-loc-name": "Sonora Margin",
                "sample-desc": "Keywords: GSC:MIxS;MIGS:3.0",
                "environment-biome": "Cold seeps",
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "SC1 - Surface layer from the cold seep core",
                "sample-alias": "SC1 - Surface layer from the cold seep core",
                "host-tax-id": null,
                "species": null,
                "last-update": "2018-09-05T11:39:57"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Marine:Hydrothermal vents:Sediment"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Hydrothermal%20vents:Sediment?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS560591/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00002840",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002840?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS560591/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS560591?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS589876",
            "attributes": {
                "latitude": 27.35,
                "longitude": -111.28,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-111.28",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Sonora Margin",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2010-06-19",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Cold seeps",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "sediment",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "11.0",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "27.35",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX Titanium",
                        "unit": null
                    }
                ],
                "biosample": "SAMN02644984",
                "accession": "SRS589876",
                "analysis-completed": "2018-09-05",
                "collection-date": "2010-06-19",
                "geo-loc-name": "Sonora Margin",
                "sample-desc": "Keywords: GSC:MIxS;MIMS:3.0",
                "environment-biome": "Cold seeps",
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "SC6 - Bottom layer from the cold seep site",
                "sample-alias": "SC6 - Bottom layer from the cold seep site",
                "host-tax-id": null,
                "species": null,
                "last-update": "2018-09-05T11:39:57"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Marine:Hydrothermal vents:Sediment"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Hydrothermal%20vents:Sediment?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS589876/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00002840",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002840?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS589876/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS589876?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS589879",
            "attributes": {
                "latitude": 27.0,
                "longitude": -111.24,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-111.24",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Southern Trough",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2010-06-29",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Hydrothermal vent",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "sediment",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "1.0",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "27.0",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX Titanium",
                        "unit": null
                    }
                ],
                "biosample": "SAMN02644985",
                "accession": "SRS589879",
                "analysis-completed": "2018-09-05",
                "collection-date": "2010-06-29",
                "geo-loc-name": "Southern Trough",
                "sample-desc": "Keywords: GSC:MIxS;MIMS:3.0",
                "environment-biome": "Hydrothermal vent",
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "SH1 - Surface layer from the hydrothermal vent core",
                "sample-alias": "SH1 - Surface layer from the hydrothermal vent core",
                "host-tax-id": null,
                "species": null,
                "last-update": "2018-09-05T11:39:57"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Marine:Hydrothermal vents:Sediment"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Hydrothermal%20vents:Sediment?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS589879/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00002840",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002840?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS589879/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS589879?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 3
        }
    }
}