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

{
    "data": {
        "type": "samples",
        "id": "SRS874897",
        "attributes": {
            "longitude": 10.43,
            "biosample": "SAMN03392598",
            "latitude": 63.43,
            "sample-metadata": [
                {
                    "key": "temperature",
                    "value": "4.0",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "10.43",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Norway: Trondheimsfjord",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2013-03-15",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Marine (coastal seawater)",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Water",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "90.0",
                    "unit": null
                },
                {
                    "key": "salinity",
                    "value": "34.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "63.43",
                    "unit": null
                }
            ],
            "accession": "SRS874897",
            "analysis-completed": null,
            "collection-date": "2013-03-15",
            "geo-loc-name": null,
            "sample-desc": "Water phase of 2 ppm; 10µm median dispersed oil in unfiltered seawater",
            "environment-biome": "Marine (coastal seawater)",
            "environment-feature": null,
            "environment-material": "Water",
            "sample-name": "2013-0132",
            "sample-alias": "2013-0132",
            "host-tax-id": null,
            "species": null,
            "last-update": "2021-10-07T18:34:38"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Lab enrichment:Defined media:Marine media"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Lab%20enrichment:Defined%20media:Marine%20media?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS874897/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005736",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005736?format=api"
                        }
                    },
                    {
                        "type": "studies",
                        "id": "MGYS00005737",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005737?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS874897/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS874897?format=api"
        }
    }
}