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

{
    "data": {
        "type": "samples",
        "id": "SRS1946302",
        "attributes": {
            "biosample": "SAMN06264876",
            "longitude": -98.6889,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-98.6889",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA: Zodletone Spring, Oklahoma",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2013-12-03",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "34.9956",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 2500",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2017-01-29",
                    "unit": null
                }
            ],
            "latitude": 34.9956,
            "accession": "SRS1946302",
            "analysis-completed": "2019-06-12",
            "collection-date": "2013-12-03",
            "geo-loc-name": "USA: Zodletone Spring, Oklahoma",
            "sample-desc": "Hot spring sediment microbial communities from Zodletone spring, Oklahoma to study Microbial Dark Matter (Phase II) - Zodletone Spring source 0.5m metaG",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "Gp0138765",
            "sample-alias": "Gp0138765",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-06-12T18:53:51"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Thermal springs:Hot (42-90C)"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Thermal%20springs:Hot%20(42-90C)?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1946302/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00004884",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004884?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1946302/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1946302?format=api"
        }
    }
}