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

{
    "data": {
        "type": "samples",
        "id": "SRS4022435",
        "attributes": {
            "biosample": "SAMN09812514",
            "longitude": -7.0926,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-7.09262",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Morocco",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2018-05-02",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "Metagenome or environmental",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "31.7917",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "tomato fruit",
                    "unit": null
                }
            ],
            "latitude": 31.7917,
            "accession": "SRS4022435",
            "analysis-completed": null,
            "collection-date": "2018-05-02",
            "geo-loc-name": null,
            "sample-desc": "tomato fruit metagenome of an unknown variety",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "9IMC",
            "sample-alias": "9IMC",
            "host-tax-id": null,
            "species": null,
            "last-update": "2023-06-08T14:31:02"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Plants"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4022435/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006207",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006207?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4022435/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4022435?format=api"
        }
    }
}