GET /metagenomics/api/v1/studies/MGYS00006281/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/MGYS00006281/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006281/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS13439924",
            "attributes": {
                "biosample": "SAMEA111342366",
                "longitude": -63.9814,
                "latitude": -28.8771,
                "sample-metadata": [
                    {
                        "key": "project name",
                        "value": "Soil Metagenomes from an Argentine salt flat 2",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-63.981389",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Argentina",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2021-06-04",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "solid surface layer",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "saline pan",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "soil",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "Illumina",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "0.3",
                        "unit": null
                    },
                    {
                        "key": "elevation",
                        "value": "122.0",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "-28.877056",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000022",
                        "unit": null
                    }
                ],
                "accession": "ERS13439924",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "metagenome near from plants",
                "environment-biome": "solid surface layer",
                "environment-feature": "saline pan",
                "environment-material": "soil",
                "sample-name": "PLT_contigs",
                "sample-alias": "PLT_contigs",
                "host-tax-id": null,
                "species": null,
                "last-update": "2024-05-21T09:07:41"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS13439924/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006281",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006281?format=api"
                            }
                        }
                    ]
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Terrestrial:Soil"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil?format=api"
                    }
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS13439924/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS13439924?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS13363631",
            "attributes": {
                "biosample": "SAMEA111266031",
                "longitude": -63.9814,
                "latitude": -28.8771,
                "sample-metadata": [
                    {
                        "key": "project name",
                        "value": "Soil Metagenomes from an Argentine salt flat",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-63.981389",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Argentina",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2021-06-04",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "solid surface layer",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "saline pan",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "soil",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "Ilumina",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "0.3",
                        "unit": null
                    },
                    {
                        "key": "elevation",
                        "value": "122.0",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "-28.877056",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000022",
                        "unit": null
                    }
                ],
                "accession": "ERS13363631",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "metagenome far from plants",
                "environment-biome": "solid surface layer",
                "environment-feature": "saline pan",
                "environment-material": "soil",
                "sample-name": "NOPLT_contigs_2.fasta",
                "sample-alias": "NOPLT_contigs_2.fasta",
                "host-tax-id": null,
                "species": null,
                "last-update": "2024-05-21T08:18:46"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS13363631/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006281",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006281?format=api"
                            }
                        }
                    ]
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Terrestrial:Soil"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil?format=api"
                    }
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS13363631/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS13363631?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 2
        }
    }
}