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

{
    "data": {
        "type": "samples",
        "id": "SRS2312245",
        "attributes": {
            "biosample": "SAMN06265153",
            "longitude": -68.065,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-68.065",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA:Maine, USA",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2015-01-05",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "44.342",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 2500",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2017-11-08",
                    "unit": null
                }
            ],
            "latitude": 44.342,
            "accession": "SRS2312245",
            "analysis-completed": "2019-06-12",
            "collection-date": "2015-01-05",
            "geo-loc-name": "USA:Maine, USA",
            "sample-desc": "Marine algal microbial communities from Maine, USA - Maine_Asex2 metaG",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "Gp0134290",
            "sample-alias": "Gp0134290",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-06-12T18:37:31"
        },
        "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/SRS2312245/studies?format=api"
                },
                "data": []
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2312245/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS2312245?format=api"
        }
    }
}