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

{
    "data": {
        "type": "samples",
        "id": "SRS1129165",
        "attributes": {
            "latitude": 36.38,
            "longitude": 101.48,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "101.48",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "China:Qinghai",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2015-01-10",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9031",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "36.38",
                    "unit": null
                }
            ],
            "biosample": "SAMN04198209",
            "accession": "SRS1129165",
            "analysis-completed": null,
            "collection-date": "2015-01-10",
            "geo-loc-name": null,
            "sample-desc": "This sample has been submitted by pda|zhou_20150921 on 2015-10-24; chicken gut metagenome",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "TCC-QH",
            "sample-alias": "TCC-QH",
            "host-tax-id": 9031,
            "species": null,
            "last-update": "2020-08-25T09:57:36"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Birds:Digestive system:Fecal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Birds:Digestive%20system:Fecal?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1129165/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005596",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005596?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1129165/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1129165?format=api"
        }
    }
}