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

{
    "data": {
        "type": "samples",
        "id": "SRS2687029",
        "attributes": {
            "latitude": 39.01,
            "longitude": -121.92,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-121.92",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA: Arbuckle, California",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2016-06-11",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Rhizoplane",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "4530",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "39.01",
                    "unit": null
                }
            ],
            "biosample": "SAMN08021735",
            "accession": "SRS2687029",
            "analysis-completed": null,
            "collection-date": "2016-06-11",
            "geo-loc-name": null,
            "sample-desc": "This sample has been submitted by pda|jedwards1989 on 2017-11-30; rice paddy metagenome",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": "Rhizoplane",
            "sample-name": "RiceTimeStudy.1235",
            "sample-alias": "RiceTimeStudy.1235",
            "host-tax-id": 4530,
            "species": null,
            "last-update": "2019-12-22T08:02:56"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Plants:Root"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants:Root?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2687029/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005170",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005170?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2687029/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2687029?format=api"
        }
    }
}