GET /metagenomics/api/v1/studies/MGYS00005575/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/MGYS00005575/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005575/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS4366693",
            "attributes": {
                "latitude": null,
                "biosample": "SAMEA6602469",
                "longitude": null,
                "sample-metadata": [
                    {
                        "key": "collection date",
                        "value": "2019-01-01",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000021",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Italy",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "marine sediment",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "marine sediment",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "marine sediment",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "sediment",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "shotgun sequencing",
                        "unit": null
                    },
                    {
                        "key": "elevation",
                        "value": "0.0",
                        "unit": null
                    },
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "OGS",
                        "unit": null
                    }
                ],
                "accession": "ERS4366693",
                "analysis-completed": null,
                "collection-date": "2019-01-01",
                "geo-loc-name": null,
                "sample-desc": "marine sediment",
                "environment-biome": "marine sediment",
                "environment-feature": "marine sediment",
                "environment-material": "marine sediment",
                "sample-name": "OGS2_megahit_500",
                "sample-alias": "OGS2_megahit_500",
                "host-tax-id": null,
                "species": null,
                "last-update": "2020-08-07T15:38:02"
            },
            "relationships": {
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS4366693/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Marine"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS4366693/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00005575",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005575?format=api"
                            }
                        }
                    ]
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS4366693?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS4366692",
            "attributes": {
                "latitude": null,
                "biosample": "SAMEA6602468",
                "longitude": null,
                "sample-metadata": [
                    {
                        "key": "collection date",
                        "value": "2019-01-01",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000021",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Italy",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "marine sediment",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "marine sediment",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "marine sediment",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "sediment",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "shotgun sequencing",
                        "unit": null
                    },
                    {
                        "key": "elevation",
                        "value": "0.0",
                        "unit": null
                    },
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "OGS",
                        "unit": null
                    }
                ],
                "accession": "ERS4366692",
                "analysis-completed": null,
                "collection-date": "2019-01-01",
                "geo-loc-name": null,
                "sample-desc": "marine sediment",
                "environment-biome": "marine sediment",
                "environment-feature": "marine sediment",
                "environment-material": "marine sediment",
                "sample-name": "OGS1_megahit_500",
                "sample-alias": "OGS1_megahit_500",
                "host-tax-id": null,
                "species": null,
                "last-update": "2020-08-07T14:51:43"
            },
            "relationships": {
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS4366692/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Marine"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS4366692/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00005575",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005575?format=api"
                            }
                        }
                    ]
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS4366692?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 2
        }
    }
}