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

{
    "data": {
        "type": "samples",
        "id": "SRS1541681",
        "attributes": {
            "biosample": "SAMN05361886",
            "longitude": 17.9284,
            "latitude": 59.4387,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "17.92838",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Sweden",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2016-01-01",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "59.43865",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2016-09-08",
                    "unit": null
                }
            ],
            "accession": "SRS1541681",
            "analysis-completed": "2019-04-06",
            "collection-date": "2016-01-01",
            "geo-loc-name": "Sweden",
            "sample-desc": "This sample has been submitted by pda|bjhall on 2016-09-08; Sapporo virus",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "S6",
            "sample-alias": "S6",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-04-06T13:02:26"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1541681/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00004440",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00004440?format=api"
                        }
                    }
                ]
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Terrestrial:Soil:Mine"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil:Mine?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1541681/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1541681?format=api"
        }
    }
}