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

{
    "data": {
        "type": "samples",
        "id": "ERS2676810",
        "attributes": {
            "longitude": 22.6676,
            "biosample": "SAMEA4856969",
            "latitude": 70.0748,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "22.6676",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Norway",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2017-01-01/2017-12-31",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Production facility",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Atlantic salmon",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Skin mucus",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "host-associated",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "PacBio",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "70.0748",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Sequel",
                    "unit": null
                }
            ],
            "accession": "ERS2676810",
            "analysis-completed": "2018-09-06",
            "collection-date": "2017-01-01",
            "geo-loc-name": "Norway",
            "sample-desc": "Atlantic salmon skin",
            "environment-biome": "Production facility",
            "environment-feature": "Atlantic salmon",
            "environment-material": "Skin mucus",
            "sample-name": "Sample10",
            "sample-alias": "Sample10",
            "host-tax-id": 8030,
            "species": "Salmo salar",
            "last-update": "2018-09-06T12:42:36"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Fish:Skin"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Fish:Skin?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2676810/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00002905",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00002905?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2676810/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2676810?format=api"
        }
    }
}