GET /metagenomics/api/v1/studies/MGYS00006669/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/MGYS00006669/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006669/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS1575357",
            "attributes": {
                "longitude": 111.05,
                "biosample": "SAMEA102931918",
                "latitude": 45.68,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "USDA-NIFA",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "111.05",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2013-04-30",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Aquatic biome",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Inlet",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "Water",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "Sanger",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "45.68",
                        "unit": null
                    },
                    {
                        "key": "NCBI sample classification",
                        "value": "8022",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2500",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000013",
                        "unit": null
                    },
                    {
                        "key": "host-associated environmental package",
                        "value": "host-associated",
                        "unit": null
                    }
                ],
                "accession": "ERS1575357",
                "analysis-completed": "2017-03-14",
                "collection-date": null,
                "geo-loc-name": "USA",
                "sample-desc": "Gastrointestinal Samples",
                "environment-biome": "Aquatic biome",
                "environment-feature": "Inlet",
                "environment-material": "Water",
                "sample-name": "TroutMicrobiome1",
                "sample-alias": "TroutMicrobiome1",
                "host-tax-id": 8022,
                "species": null,
                "last-update": "2024-05-29T14:20:40"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Fish:Digestive system"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Fish:Digestive%20system?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1575357/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001580",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001580?format=api"
                            }
                        },
                        {
                            "type": "studies",
                            "id": "MGYS00006669",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006669?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1575357/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1575357?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 1
        }
    }
}