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

{
    "data": {
        "type": "samples",
        "id": "SRS604123",
        "attributes": {
            "longitude": null,
            "biosample": "SAMN02743512",
            "latitude": null,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "23.15,113.36",
                    "unit": null
                },
                {
                    "key": "geographic location (depth)",
                    "value": "0.2 m",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "farm lands in South China Agriculture University, Guangzhou,China",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "3/16/2013",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "arable soil in farm lands",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "soil",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "not collected",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "410658",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Ion Torrent PGM",
                    "unit": null
                }
            ],
            "accession": "SRS604123",
            "analysis-completed": "2016-05-16",
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "6-F-wgx soil metagenome in farm lands",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "6-F-wgx Arable soil metagenome",
            "sample-alias": "6-F-wgx soil bacteria",
            "host-tax-id": null,
            "species": null,
            "last-update": "2016-05-16T13:52:14"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Terrestrial:Soil:Agricultural"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil:Agricultural?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS604123/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000946",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000946?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS604123/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS604123?format=api"
        }
    }
}