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

{
    "data": {
        "type": "samples",
        "id": "SRS1534549",
        "attributes": {
            "longitude": -88.4918,
            "biosample": "SAMN05339826",
            "latitude": 28.8522,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-88.4918",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Atlantic Ocean",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2015-04-25",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "28.8522",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2016-07-02",
                    "unit": null
                }
            ],
            "accession": "SRS1534549",
            "analysis-completed": "2019-04-06",
            "collection-date": "2015-04-25",
            "geo-loc-name": "Atlantic Ocean",
            "sample-desc": "This sample has been submitted by pda|mredmond on 2016-07-02; seawater metagenome",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "GOM9B",
            "sample-alias": "GOM9B",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-04-06T12:21:06"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine:Cold seeps"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Cold%20seeps?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1534549/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00004432",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004432?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1534549/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1534549?format=api"
        }
    }
}