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

{
    "data": {
        "type": "samples",
        "id": "SRS3312340",
        "attributes": {
            "biosample": "SAMN09219594",
            "longitude": -56.1873,
            "latitude": -61.2908,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-56.187332",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Antarctica: South Shetland Islands",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2012-03-25",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "marine pelagic biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "sea water",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "water",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "20.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "-61.290833",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX",
                    "unit": null
                }
            ],
            "accession": "SRS3312340",
            "analysis-completed": "2018-09-07",
            "collection-date": "2012-03-25",
            "geo-loc-name": "Antarctica: South Shetland Islands",
            "sample-desc": "pkl34",
            "environment-biome": "marine pelagic biome",
            "environment-feature": "sea water",
            "environment-material": "water",
            "sample-name": "pkl34",
            "sample-alias": "pkl34",
            "host-tax-id": null,
            "species": null,
            "last-update": "2018-09-07T12:46:32"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS3312340/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00002938",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002938?format=api"
                        }
                    }
                ]
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Porifera"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Porifera?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS3312340/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS3312340?format=api"
        }
    }
}