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

{
    "data": {
        "type": "samples",
        "id": "SRS2116713",
        "attributes": {
            "biosample": "SAMN06711160",
            "longitude": 126.62,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "126.62",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "China:Harbin",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2017-01-30",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "45.75",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "HiSeq X Ten",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2017-11-08",
                    "unit": null
                }
            ],
            "latitude": 45.75,
            "accession": "SRS2116713",
            "analysis-completed": "2019-06-12",
            "collection-date": "2017-01-30",
            "geo-loc-name": "China:Harbin",
            "sample-desc": "Symbiotic bacteria",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "Kombucha",
            "sample-alias": "Kombucha",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-06-12T15:07:50"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Food production:Fermented beverages"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Food%20production:Fermented%20beverages?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2116713/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00004736",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004736?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2116713/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2116713?format=api"
        }
    }
}