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

{
    "data": {
        "type": "samples",
        "id": "SRS3242324",
        "attributes": {
            "biosample": "SAMN09007944",
            "longitude": -156.5479,
            "latitude": 71.3734,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-156.5479",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA: Alaska",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2016-04-07",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "71.3734",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2018-05-03",
                    "unit": null
                }
            ],
            "accession": "SRS3242324",
            "analysis-completed": "2019-04-07",
            "collection-date": "2016-04-07",
            "geo-loc-name": "USA: Alaska",
            "sample-desc": "depth 6.5 m, in situ, 0.2x methane, 10 days incubation",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "IMB 1, 0.2x 10d, 6.5m",
            "sample-alias": "IMB 1, 0.2x 10d, 6.5m",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-04-07T05:55:29"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS3242324/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00004528",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004528?format=api"
                        }
                    }
                ]
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS3242324/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS3242324?format=api"
        }
    }
}