GET /metagenomics/api/v1/studies/MGYS00004721/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/MGYS00004721/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004721/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS3354142",
            "attributes": {
                "biosample": "SAMEA5552097",
                "longitude": 73.0152,
                "sample-metadata": [
                    {
                        "key": "investigation type",
                        "value": "metagenome",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "WGCQPT_RP3_S83_L001",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "73.0152",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "India",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2019-03-01",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "AQUATIC ENVIRONMENT",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "ENVIRONMENTAL ZONE",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "LIQUID",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "sediment",
                        "unit": null
                    },
                    {
                        "key": "sequencing method",
                        "value": "ILLUMINA",
                        "unit": null
                    },
                    {
                        "key": "elevation",
                        "value": "1.0",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "21.6264",
                        "unit": null
                    },
                    {
                        "key": "instrument model",
                        "value": "Illumina MiSeq",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000021",
                        "unit": null
                    },
                    {
                        "key": "last update date",
                        "value": "2019-04-04",
                        "unit": null
                    }
                ],
                "latitude": 21.6264,
                "accession": "ERS3354142",
                "analysis-completed": "2019-05-13",
                "collection-date": "2019-03-01",
                "geo-loc-name": "India",
                "sample-desc": "WINOGRADSKY QUINALPHOS TOP",
                "environment-biome": "AQUATIC ENVIRONMENT",
                "environment-feature": "ENVIRONMENTAL ZONE",
                "environment-material": "LIQUID",
                "sample-name": "WGCQPT_RP3_S83_L0011",
                "sample-alias": "WGCQPT_RP3_S83_L0011",
                "host-tax-id": null,
                "species": null,
                "last-update": "2019-05-13T16:39:10"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Engineered:Lab enrichment:Defined media"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Lab%20enrichment:Defined%20media?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS3354142/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00004721",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004721?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS3354142/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS3354142?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 1
        }
    }
}