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

{
    "data": {
        "type": "samples",
        "id": "SRS1345724",
        "attributes": {
            "biosample": "SAMN04461598",
            "longitude": -122.2546,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-122.2546",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA: Lake Washington",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2013-07-15",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "freshwater lake",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "lake",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "sediment",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "63.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "47.631157",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2016-03-17",
                    "unit": null
                }
            ],
            "latitude": 47.6312,
            "accession": "SRS1345724",
            "analysis-completed": "2019-04-06",
            "collection-date": "2013-07-15",
            "geo-loc-name": "USA: Lake Washington",
            "sample-desc": "This sample has been submitted by pda|querkopf on 2016-03-17; sediment metagenome",
            "environment-biome": "freshwater lake",
            "environment-feature": "lake",
            "environment-material": "sediment",
            "sample-name": "4_27f",
            "sample-alias": "4_27f",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-04-06T10:05:28"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Sediment"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Sediment?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1345724/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00004419",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004419?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1345724/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1345724?format=api"
        }
    }
}