GET /metagenomics/api/v1/studies/MGYS00004939/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/MGYS00004939/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004939/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS1792068",
            "attributes": {
                "longitude": -122.3049,
                "biosample": "SAMN05720189",
                "latitude": 47.6525,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "-122.3049",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA:Washington, USA",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2015-08-08",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "47.6525",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina HiSeq 2500",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2016-11-10",
                        "unit": null
                    }
                ],
                "accession": "SRS1792068",
                "analysis-completed": "2019-06-12",
                "collection-date": "2015-08-08",
                "geo-loc-name": "USA:Washington, USA",
                "sample-desc": "Anaerobic biogas reactor microbial communites from Washington, USA - Biogas_R1 time_0 SIP DNA",
                "environment-biome": null,
                "environment-feature": null,
                "environment-material": null,
                "sample-name": "Gp0141809",
                "sample-alias": "Gp0141809",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-06-12T19:35:05"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Engineered:Wastewater:Activated Sludge"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Wastewater:Activated%20Sludge?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1792068/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00004939",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004939?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1792068/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1792068?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 1
        }
    }
}