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

{
    "data": {
        "type": "samples",
        "id": "SRS652316",
        "attributes": {
            "longitude": null,
            "biosample": "SAMN02898394",
            "latitude": null,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "23.33 S 15.02 E",
                    "unit": null
                },
                {
                    "key": "geographic location (depth)",
                    "value": "soil surface",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Gobabeb, Namib Desert, Namibia",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "22-04-2013 to 26-04-2013",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Desert",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Gravel plain soil",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "400 metres",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "410658",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX Titanium",
                    "unit": null
                }
            ],
            "accession": "SRS652316",
            "analysis-completed": "2016-05-18",
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "16S rRNA sequence data for bacterial communities active in Namib desert soil (cDNA) over a 5 day period (morning, midday and night).",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "MIMS Environmental sample from Desert soil",
            "sample-alias": "NamDiur2013",
            "host-tax-id": null,
            "species": null,
            "last-update": "2016-05-18T10:24:21"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Terrestrial:Soil:Desert"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil:Desert?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS652316/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000981",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000981?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS652316/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS652316?format=api"
        }
    }
}