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

{
    "data": {
        "type": "samples",
        "id": "SRS881327",
        "attributes": {
            "longitude": null,
            "biosample": "SAMN03433248",
            "latitude": null,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "53.421881 N 9.481674 W",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Germany",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "14-Jan-2013",
                    "unit": null
                },
                {
                    "key": "sample collection device or method",
                    "value": "Shaking",
                    "unit": null
                },
                {
                    "key": "sample material processing",
                    "value": "Biological replicate",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "1118232",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "AB 3130xL Genetic Analyzer",
                    "unit": null
                },
                {
                    "key": "host",
                    "value": "Apple",
                    "unit": null
                },
                {
                    "key": "isolation source",
                    "value": "Soil attached to apple roots",
                    "unit": null
                },
                {
                    "key": "sample size",
                    "value": "514 ml falcon tube",
                    "unit": null
                },
                {
                    "key": "BioSampleModel",
                    "value": "Metagenome or environmental",
                    "unit": null
                },
                {
                    "key": "source_material_id",
                    "value": "39",
                    "unit": null
                }
            ],
            "accession": "SRS881327",
            "analysis-completed": "2017-01-11",
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Replant diseases soil",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "Control",
            "sample-alias": "AM4U3",
            "host-tax-id": 3750,
            "species": "Malus domestica",
            "last-update": "2017-01-11T11:12:13"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Plants:Root"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants:Root?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS881327/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001398",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001398?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS881327/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS881327?format=api"
        }
    }
}