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

{
    "data": {
        "type": "samples",
        "id": "SRS578045",
        "attributes": {
            "biosample": "SAMN02691912",
            "longitude": null,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "geographic location (depth)",
                    "value": "10cm",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "20-8-2012",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "forest biome",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "terrestrial habitat",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Microbial consortia",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "MIGS/MIMS/MIMARKS.microbial",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "not collected",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "408169",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX Titanium",
                    "unit": null
                }
            ],
            "latitude": null,
            "accession": "SRS578045",
            "analysis-completed": "2016-05-10",
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "MIMS Environmental/Metagenome sample from metagenomes",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "MIMS Environmental/Metagenome sample from metagenomes",
            "sample-alias": "3W2",
            "host-tax-id": null,
            "species": null,
            "last-update": "2016-05-10T17:04:20"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Terrestrial:Soil:Forest soil"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil:Forest%20soil?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS578045/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000884",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000884?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS578045/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS578045?format=api"
        }
    }
}