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

{
    "data": {
        "type": "samples",
        "id": "SRS2466112",
        "attributes": {
            "biosample": "SAMN07510720",
            "longitude": 153.5,
            "latitude": 45.0,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "153.5",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Pacific Ocean",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2014-06-01",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "ocean biom",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "ocean biom",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "water",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "3000.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "45.0",
                    "unit": null
                }
            ],
            "accession": "SRS2466112",
            "analysis-completed": null,
            "collection-date": "2014-06-01",
            "geo-loc-name": null,
            "sample-desc": "raw data and Bins",
            "environment-biome": "ocean biom",
            "environment-feature": "ocean biom",
            "environment-material": "water",
            "sample-name": "WSP4_3000m",
            "sample-alias": "WSP4_3000m",
            "host-tax-id": null,
            "species": null,
            "last-update": "2020-05-18T00:35:55"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2466112/studies?format=api"
                },
                "data": []
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2466112/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2466112?format=api"
        }
    }
}