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

{
    "data": {
        "type": "samples",
        "id": "SRS5714817",
        "attributes": {
            "latitude": 32.3853,
            "longitude": -85.6936,
            "biosample": "SAMN13337577",
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-85.69361",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA: Alabama, Macon",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2017-01-01",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "4081",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "32.385277",
                    "unit": null
                }
            ],
            "accession": "SRS5714817",
            "analysis-completed": null,
            "collection-date": "2017-01-01",
            "geo-loc-name": null,
            "sample-desc": "This sample has been submitted by pda|ean06 on 2020-02-21; Xanthomonas perforans",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "Tom_Macon_17a",
            "sample-alias": "Tom_Macon_17a",
            "host-tax-id": 4081,
            "species": null,
            "last-update": "2023-04-20T15:20:55"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Plants:Phylloplane"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants:Phylloplane?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS5714817/runs?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS5714817/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006203",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006203?format=api"
                        }
                    }
                ]
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS5714817?format=api"
        }
    }
}