GET /metagenomics/api/v1/studies/MGYS00006579/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/MGYS00006579/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006579/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS17121409",
            "attributes": {
                "biosample": "SAMEA114705364",
                "longitude": -157.81,
                "sample-metadata": [
                    {
                        "key": "project name",
                        "value": "ASG",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-157.81",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2021-05-12",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "aquatic biome",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "marine biome",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "adult diatom tissue",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "2809013",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "21.3",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000013",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Epithemia pelagica",
                        "unit": null
                    }
                ],
                "latitude": 21.3,
                "accession": "ERS17121409",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "246bb274-9e34-42ab-9b2d-9476ade07371-asg-metagenome",
                "environment-biome": "aquatic biome",
                "environment-feature": "marine biome",
                "environment-material": "adult diatom tissue",
                "sample-name": "246bb274-9e34-42ab-9b2d-9476ade07371",
                "sample-alias": "246bb274-9e34-42ab-9b2d-9476ade07371",
                "host-tax-id": 2809013,
                "species": null,
                "last-update": "2024-02-19T11:02:11"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Algae"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Algae?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS17121409/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006579",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006579?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS17121409/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS17121409?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 1
        }
    }
}