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

{
    "data": {
        "type": "samples",
        "id": "SRS2116700",
        "attributes": {
            "biosample": "SAMN06678527",
            "longitude": -58.65,
            "latitude": -62.224,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-58.65",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Antarctica: King George Island",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2011-02-01",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "tidewater glacier",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "bay",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "marine sediment",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "15.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "-62.224",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX Titanium",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2017-11-08",
                    "unit": null
                }
            ],
            "accession": "SRS2116700",
            "analysis-completed": "2019-04-06",
            "collection-date": "2011-02-01",
            "geo-loc-name": "Antarctica: King George Island",
            "sample-desc": "This sample has been submitted by pda|donato.giovannelli@gmail.com on 2017-11-08; sediment metagenome",
            "environment-biome": "tidewater glacier",
            "environment-feature": "bay",
            "environment-material": "marine sediment",
            "sample-name": "Creek",
            "sample-alias": "Creek",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-04-06T18:21:04"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2116700/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00004469",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004469?format=api"
                        }
                    }
                ]
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Freshwater:Ice:Glacier"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Freshwater:Ice:Glacier?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2116700/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2116700?format=api"
        }
    }
}