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

{
    "data": {
        "type": "samples",
        "id": "SRS5949657",
        "attributes": {
            "longitude": 6.58,
            "biosample": "SAMN13742222",
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "6.58",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Switzerland: Lausanne",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2017-01",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "Metagenome or environmental",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "7460",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "46.52",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Apis mellifera",
                    "unit": null
                }
            ],
            "latitude": 46.52,
            "accession": "SRS5949657",
            "analysis-completed": null,
            "collection-date": "2017-01-01",
            "geo-loc-name": null,
            "sample-desc": "Metagenome or environmental sample from viral metagenome",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "vir_GRUNIL_jan2017",
            "sample-alias": "vir_GRUNIL_jan2017",
            "host-tax-id": 7460,
            "species": null,
            "last-update": "2023-06-08T14:24:37"
        },
        "relationships": {
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS5949657/runs?format=api"
                }
            },
            "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/SRS5949657/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006193",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006193?format=api"
                        }
                    }
                ]
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS5949657?format=api"
        }
    }
}