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

{
    "data": {
        "type": "samples",
        "id": "ERS4662745",
        "attributes": {
            "latitude": null,
            "longitude": null,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Air metagenomics",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Brazil",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2019-05-01",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "tropical and subtropical regions",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "forest",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "air",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "air",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Shot-gun",
                    "unit": null
                },
                {
                    "key": "altitude",
                    "value": "130.0",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000012",
                    "unit": null
                }
            ],
            "biosample": "SAMEA6952870",
            "accession": "ERS4662745",
            "analysis-completed": null,
            "collection-date": "2019-05-01",
            "geo-loc-name": null,
            "sample-desc": "Air metagenomics",
            "environment-biome": "tropical and subtropical regions",
            "environment-feature": "forest",
            "environment-material": "air",
            "sample-name": "20190501-03_325m_6",
            "sample-alias": "20190501-03_325m_6",
            "host-tax-id": null,
            "species": null,
            "last-update": "2020-08-18T09:24:19"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Air"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Air?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS4662745/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005587",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005587?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS4662745/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS4662745?format=api"
        }
    }
}