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

{
    "data": {
        "type": "samples",
        "id": "SRS581617",
        "attributes": {
            "latitude": null,
            "longitude": null,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "geographic location (depth)",
                    "value": "20 santimeters",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "27-05-2010",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Organic field",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "soil habitat",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Soil",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "MIGS/MIMS/MIMARKS.soil",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "100 meters",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "410658",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS Junior",
                    "unit": null
                }
            ],
            "biosample": "SAMN02690721",
            "accession": "SRS581617",
            "analysis-completed": "2016-05-10",
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "MIMS Environmental/Metagenome sample from soil metagenome",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "MIMS Environmental/Metagenome sample from soil metagenome",
            "sample-alias": "Organic_field_1",
            "host-tax-id": null,
            "species": null,
            "last-update": "2016-05-10T16:28:37"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Terrestrial:Soil"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS581617/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000872",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000872?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS581617/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS581617?format=api"
        }
    }
}