GET /metagenomics/api/v1/studies/MGYS00004374/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/MGYS00004374/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004374/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS752019",
            "attributes": {
                "latitude": 37.01,
                "longitude": -7.96,
                "biosample": "SAMN03217814",
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "-7.96",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Portugal: Faro",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2012-03-01",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "solar saltern",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "saline",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "water",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "20.0-30.0",
                        "unit": null
                    },
                    {
                        "key": "salinity",
                        "value": "4.0",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "37.01",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX+",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2015-06-23",
                        "unit": null
                    }
                ],
                "accession": "SRS752019",
                "analysis-completed": "2019-04-06",
                "collection-date": "2012-03-01",
                "geo-loc-name": "Portugal: Faro",
                "sample-desc": "water sample from inlet pond (4% salinity)",
                "environment-biome": "solar saltern",
                "environment-feature": "saline",
                "environment-material": "water",
                "sample-name": "water sample from inlet pond (4% salinity)",
                "sample-alias": "Faro_4",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-04-06T05:11:03"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Non-marine Saline and Alkaline:Salt crystallizer pond"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Non-marine%20Saline%20and%20Alkaline:Salt%20crystallizer%20pond?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS752019/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00004374",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004374?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS752019/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS752019?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS752022",
            "attributes": {
                "latitude": 37.01,
                "longitude": -7.96,
                "biosample": "SAMN03217815",
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "-7.96",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Portugal: Faro",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2012-03-01",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "solar saltern",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "hypersaline",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "water",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "20.0-30.0",
                        "unit": null
                    },
                    {
                        "key": "salinity",
                        "value": "12.0",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "37.01",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX+",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2015-06-23",
                        "unit": null
                    }
                ],
                "accession": "SRS752022",
                "analysis-completed": "2019-04-06",
                "collection-date": "2012-03-01",
                "geo-loc-name": "Portugal: Faro",
                "sample-desc": "water sample (12% salinity)",
                "environment-biome": "solar saltern",
                "environment-feature": "hypersaline",
                "environment-material": "water",
                "sample-name": "water sample (12% salinity)",
                "sample-alias": "Faro_12",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-04-06T05:11:03"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Non-marine Saline and Alkaline:Salt crystallizer pond"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Non-marine%20Saline%20and%20Alkaline:Salt%20crystallizer%20pond?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS752022/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00004374",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004374?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS752022/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS752022?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS752023",
            "attributes": {
                "latitude": 37.01,
                "longitude": -7.96,
                "biosample": "SAMN03217816",
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "-7.96",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Portugal: Faro",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2012-03-01",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "solar saltern",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "hypersaline",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "water",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "20.0-30.0",
                        "unit": null
                    },
                    {
                        "key": "salinity",
                        "value": "38.0",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "37.01",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "454 GS FLX+",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2015-06-23",
                        "unit": null
                    }
                ],
                "accession": "SRS752023",
                "analysis-completed": "2019-04-06",
                "collection-date": "2012-03-01",
                "geo-loc-name": "Portugal: Faro",
                "sample-desc": "water sample from crystallizer pond (38% salinity)",
                "environment-biome": "solar saltern",
                "environment-feature": "hypersaline",
                "environment-material": "water",
                "sample-name": "water sample from crystallizer pond (38% salinity)",
                "sample-alias": "Faro_38",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-04-06T05:11:03"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Environmental:Aquatic:Non-marine Saline and Alkaline:Salt crystallizer pond"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Non-marine%20Saline%20and%20Alkaline:Salt%20crystallizer%20pond?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS752023/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00004374",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004374?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS752023/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS752023?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 3
        }
    }
}