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

{
    "data": {
        "type": "samples",
        "id": "SRS1138861",
        "attributes": {
            "latitude": null,
            "longitude": null,
            "sample-metadata": [
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA:Illinois:Urbana",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2014-07-15",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "soybean corn rotation agricultural field",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "29728",
                    "unit": null
                }
            ],
            "biosample": "SAMN04210467",
            "accession": "SRS1138861",
            "analysis-completed": null,
            "collection-date": "2014-07-15",
            "geo-loc-name": null,
            "sample-desc": "This sample has been submitted by pda|yilou1 on 2015-11-03; soil metagenome",
            "environment-biome": "soybean corn rotation agricultural field",
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "SOIL14.691",
            "sample-alias": "SOIL14.691",
            "host-tax-id": 29728,
            "species": null,
            "last-update": "2019-12-17T07:09:09"
        },
        "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/SRS1138861/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005243",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005243?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1138861/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS1138861?format=api"
        }
    }
}