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

{
    "data": {
        "type": "samples",
        "id": "SRS1129208",
        "attributes": {
            "longitude": 104.73,
            "biosample": "SAMN04198211",
            "latitude": 31.38,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "104.73",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "China:Sichuan",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2015-02-20",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9031",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "31.38",
                    "unit": null
                }
            ],
            "accession": "SRS1129208",
            "analysis-completed": null,
            "collection-date": "2015-02-20",
            "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": "LM-LH",
            "sample-alias": "LM-LH",
            "host-tax-id": 9031,
            "species": null,
            "last-update": "2020-08-25T09:59:13"
        },
        "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/SRS1129208/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005598",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005598?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1129208/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1129208?format=api"
        }
    }
}