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

{
    "data": {
        "type": "samples",
        "id": "SRS2312244",
        "attributes": {
            "biosample": "SAMN06266144",
            "longitude": 8.622,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "8.622",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Italy:Porto, Italy",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2015-02-02",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "41.162",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 2500",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2018-07-17",
                    "unit": null
                }
            ],
            "latitude": 41.162,
            "accession": "SRS2312244",
            "analysis-completed": "2018-10-25",
            "collection-date": "2015-02-02",
            "geo-loc-name": "Italy:Porto, Italy",
            "sample-desc": "Marine algal microbial communities from Porto, Portugal - Porto_4 metaG metagenome",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "Gp0134288",
            "sample-alias": "Gp0134288",
            "host-tax-id": null,
            "species": null,
            "last-update": "2018-10-25T18:18:33"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Algae:Red algae"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Algae:Red%20algae?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2312244/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003317",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003317?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2312244/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2312244?format=api"
        }
    }
}