GET /metagenomics/api/v1/studies/MGYS00001196/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/MGYS00001196/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001196/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS728789",
            "attributes": {
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "Ianthella basta metagenome",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2011-10-08",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "host-associated",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "Illumina",
                        "unit": null
                    },
                    {
                        "key": "NCBI sample classification",
                        "value": "1163772",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina MiSeq",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "GSC MIxS host associated (ERC000013)",
                        "unit": null
                    }
                ],
                "latitude": 18.3688,
                "biosample": "SAMEA3392497",
                "longitude": 146.2999,
                "accession": "ERS728789",
                "analysis-completed": "2016-08-11",
                "collection-date": null,
                "geo-loc-name": "Australia",
                "sample-desc": "Metagenome from the marine sponge Ianthella Basta. Clear DNA extraction.",
                "environment-biome": "marine coral reef biome",
                "environment-feature": "marine benthic feature",
                "environment-material": "organic material",
                "sample-name": "Ianthella basta metagenome Clear",
                "sample-alias": "Clear",
                "host-tax-id": 375146,
                "species": "Ianthella Basta",
                "last-update": "2016-08-11T13:43:21"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS728789/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001196",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001196?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS728789/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Invertebrates"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Invertebrates?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS728789?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS728790",
            "attributes": {
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "Ianthella basta metagenome",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2011-10-08",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "host-associated",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "Illumina",
                        "unit": null
                    },
                    {
                        "key": "NCBI sample classification",
                        "value": "1163772",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2000",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "GSC MIxS host associated (ERC000013)",
                        "unit": null
                    }
                ],
                "latitude": 18.3688,
                "biosample": "SAMEA3392498",
                "longitude": 146.2999,
                "accession": "ERS728790",
                "analysis-completed": "2016-08-11",
                "collection-date": null,
                "geo-loc-name": "Australia",
                "sample-desc": "Metagenome from the marine sponge Ianthella Basta. Orange DNA extraction.",
                "environment-biome": "marine coral reef biome",
                "environment-feature": "marine benthic feature",
                "environment-material": "organic material",
                "sample-name": "Ianthella basta metagenome Organge",
                "sample-alias": "Orange",
                "host-tax-id": 375146,
                "species": "Ianthella Basta",
                "last-update": "2016-08-11T13:43:21"
            },
            "relationships": {
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS728790/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00001196",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001196?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS728790/runs?format=api"
                    }
                },
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Invertebrates"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Invertebrates?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS728790?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 2
        }
    }
}