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

{
    "data": {
        "type": "samples",
        "id": "SRS7885045",
        "attributes": {
            "latitude": 47.1737,
            "longitude": 20.0156,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "20.0155754",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Hungary",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2019-03-25",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "Metagenome or environmental",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "47.1736666",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Apis mellifera",
                    "unit": null
                }
            ],
            "biosample": "SAMN17084055",
            "accession": "SRS7885045",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Metagenome or environmental sample from metagenome",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "March03",
            "sample-alias": "March03",
            "host-tax-id": null,
            "species": null,
            "last-update": "2023-06-15T21:08:51"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Insecta:Digestive system"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Insecta:Digestive%20system?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS7885045/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006234",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006234?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS7885045/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS7885045?format=api"
        }
    }
}