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

{
    "data": {
        "type": "samples",
        "id": "SRS891657",
        "attributes": {
            "longitude": null,
            "biosample": "SAMN03451600",
            "latitude": null,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "51.1706167 N 116.1587833 W",
                    "unit": null
                },
                {
                    "key": "geographic location (depth)",
                    "value": "0.01",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Canada",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2011-12-14",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "soil",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "soil",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "1457",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "410658",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX Titanium",
                    "unit": null
                }
            ],
            "accession": "SRS891657",
            "analysis-completed": "2016-05-13",
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "PP EPS SIP 13C heavy fraction 5, barcode 2, 111d",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "PP_EPS_SIP13C_b2_111d",
            "sample-alias": "PP_EPS_SIP13C_b2_111d",
            "host-tax-id": null,
            "species": null,
            "last-update": "2016-05-13T15:02:49"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Terrestrial:Soil"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS891657/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000938",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000938?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS891657/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS891657?format=api"
        }
    }
}