GET /metagenomics/api/v1/studies/MGYS00006591/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/MGYS00006591/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006591/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS16307398",
            "attributes": {
                "sample-metadata": [
                    {
                        "key": "project name",
                        "value": "ASG",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "2.8",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Spain",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2021-02-01",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "aquatic biome",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "marine benthic biome",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "adult sponge tissue",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "14",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "3722",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "41.67",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000013",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Crambe crambe",
                        "unit": null
                    }
                ],
                "latitude": 41.67,
                "biosample": "SAMEA114318285",
                "longitude": 2.8,
                "accession": "ERS16307398",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "65540eb3-9fff-49a9-a3d5-91c3a32ff312-asg-metagenome",
                "environment-biome": "aquatic biome",
                "environment-feature": "marine benthic biome",
                "environment-material": "adult sponge tissue",
                "sample-name": "65540eb3-9fff-49a9-a3d5-91c3a32ff312",
                "sample-alias": "65540eb3-9fff-49a9-a3d5-91c3a32ff312",
                "host-tax-id": 3722,
                "species": null,
                "last-update": "2024-02-19T11:52:57"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS16307398/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006591",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006591?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS16307398/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Porifera"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Porifera?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS16307398?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 1
        }
    }
}