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

{
    "data": {
        "type": "samples",
        "id": "SRS975751",
        "attributes": {
            "longitude": -79.43,
            "biosample": "SAMN03801325",
            "latitude": 42.87,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-79.43",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Canada:St Catharines",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2012-08-09",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Freshwater",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Lake",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Water",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "1.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "42.87",
                    "unit": null
                }
            ],
            "accession": "SRS975751",
            "analysis-completed": null,
            "collection-date": "2012-08-09",
            "geo-loc-name": null,
            "sample-desc": "This sample has been submitted by pda|mohiuddinbdfh on 2015-09-16; freshwater metagenome",
            "environment-biome": "Freshwater",
            "environment-feature": "Lake",
            "environment-material": "Water",
            "sample-name": "Long Beach C.E._ED",
            "sample-alias": "Long Beach C.E._ED",
            "host-tax-id": null,
            "species": null,
            "last-update": "2020-05-22T03:57:16"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Freshwater:Lentic"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Freshwater:Lentic?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS975751/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005447",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005447?format=api"
                        }
                    },
                    {
                        "type": "studies",
                        "id": "MGYS00005448",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005448?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS975751/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS975751?format=api"
        }
    }
}