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

{
    "data": {
        "type": "samples",
        "id": "SRS580617",
        "attributes": {
            "latitude": null,
            "longitude": null,
            "sample-metadata": [
                {
                    "key": "total organic carbon",
                    "value": "0.29",
                    "unit": null
                },
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "nd",
                    "unit": null
                },
                {
                    "key": "geographic location (depth)",
                    "value": "10-20 cm",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "France: Villard",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "oct. 2007",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "soil",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "land",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "soil",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "MIGS/MIMS/MIMARKS.soil",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "nd",
                    "unit": null
                },
                {
                    "key": "pH",
                    "value": "3.8",
                    "unit": null
                },
                {
                    "key": "sample weight for DNA extraction",
                    "value": "20g",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "155900",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "454 GS FLX Titanium",
                    "unit": null
                }
            ],
            "biosample": "SAMN02697301",
            "accession": "SRS580617",
            "analysis-completed": "2016-05-10",
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "MIMS Environmental/Metagenome sample from uncultured organism",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "MIMS Environmental/Metagenome sample from uncultured organism",
            "sample-alias": "ViC-07",
            "host-tax-id": null,
            "species": null,
            "last-update": "2016-05-10T16:32:01"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Terrestrial:Soil:Uranium contaminated"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil:Uranium%20contaminated?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS580617/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000873",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000873?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS580617/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS580617?format=api"
        }
    }
}