GET /metagenomics/api/v1/samples/ERS2754365?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "data": {
        "type": "samples",
        "id": "ERS2754365",
        "attributes": {
            "biosample": "SAMEA4935576",
            "longitude": 8.2275,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metatranscriptome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Resistflow-NFC-DNF-RNA data",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "8.2275",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Switzerland",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2016-04-04",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "aquatic biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "wastewater treatment plant",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "water",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "wastewater|sludge",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "illumina",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "46.8182",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "unspecified",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000023",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2018-09-23",
                    "unit": null
                }
            ],
            "latitude": 46.8182,
            "accession": "ERS2754365",
            "analysis-completed": "2019-06-26",
            "collection-date": "2016-04-04",
            "geo-loc-name": "Switzerland",
            "sample-desc": "MN.NFC.RNA2.READ1.W29 Taxonomy ID:256318",
            "environment-biome": "aquatic biome",
            "environment-feature": "wastewater treatment plant",
            "environment-material": "water",
            "sample-name": "MN.NFC.RNA2.READ1.W29 Taxonomy ID:256318",
            "sample-alias": "mgs596675",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-06-26T20:31:17"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Bioreactor"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Bioreactor?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2754365/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005062",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005062?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2754365/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2754365?format=api"
        }
    }
}