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

{
    "data": {
        "type": "samples",
        "id": "SRS1791943",
        "attributes": {
            "latitude": 47.6525,
            "longitude": -122.3049,
            "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
                }
            ],
            "biosample": "SAMN05720172",
            "accession": "SRS1791943",
            "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_R2_B C13 SIP DNA",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "Gp0141806",
            "sample-alias": "Gp0141806",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-06-12T15:10:07"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Biogas plant"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Biogas%20plant?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1791943/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00004737",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004737?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1791943/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1791943?format=api"
        }
    }
}