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

{
    "data": {
        "type": "samples",
        "id": "SRS1981591",
        "attributes": {
            "biosample": "SAMN06335268",
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "109.15",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "China: Beibu Gulf, Golden Bay mangrove",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2014-06-16",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "mangrove",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "non_rhizosphere site 4",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "upper intertidal sediment",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.0-5.0",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "21.4",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2017-02-22",
                    "unit": null
                }
            ],
            "latitude": 21.4,
            "longitude": 109.15,
            "accession": "SRS1981591",
            "analysis-completed": "2019-04-06",
            "collection-date": "2014-06-16",
            "geo-loc-name": "China: Beibu Gulf, Golden Bay mangrove",
            "sample-desc": "Site 4 of bulk sediment in upper tidal zone",
            "environment-biome": "mangrove",
            "environment-feature": "non_rhizosphere site 4",
            "environment-material": "upper intertidal sediment",
            "sample-name": "Site 4 of bulk sediment in upper tidal zone",
            "sample-alias": "UB4",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-04-06T17:30:20"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine:Intertidal zone"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Intertidal%20zone?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1981591/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00004463",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004463?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1981591/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1981591?format=api"
        }
    }
}