GET /metagenomics/api/v1/studies/MGYS00006592/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/MGYS00006592/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006592/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS15394364",
            "attributes": {
                "sample-metadata": [
                    {
                        "key": "project name",
                        "value": "ASG",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "2.80314",
                        "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": "68564",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "41.67333",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000013",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Petrosia ficiformis",
                        "unit": null
                    }
                ],
                "latitude": 41.6733,
                "biosample": "SAMEA113399216",
                "longitude": 2.8031,
                "accession": "ERS15394364",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "fcc78f67-408c-4bea-8850-67cee2c2e9ce-asg-metagenome",
                "environment-biome": "aquatic biome",
                "environment-feature": "marine benthic biome",
                "environment-material": "adult sponge tissue",
                "sample-name": "fcc78f67-408c-4bea-8850-67cee2c2e9ce",
                "sample-alias": "fcc78f67-408c-4bea-8850-67cee2c2e9ce",
                "host-tax-id": 68564,
                "species": null,
                "last-update": "2024-02-19T12:02:11"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS15394364/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006592",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006592?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS15394364/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/ERS15394364?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 1
        }
    }
}