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

{
    "data": {
        "type": "samples",
        "id": "ERS667635",
        "attributes": {
            "latitude": -42.5966,
            "longitude": 148.2333,
            "biosample": "SAMEA3275617",
            "sample-metadata": [
                {
                    "key": "temperature",
                    "value": "13.9045",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Micro B3",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "148.2333",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2014-06-19",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "EnvO:01000023",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "EnvO:00002042",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "EnvO:00002010",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "water",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "1.0",
                    "unit": null
                },
                {
                    "key": "salinity",
                    "value": "35.3598",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "-42.5966",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000027",
                    "unit": null
                }
            ],
            "accession": "ERS667635",
            "analysis-completed": "2017-09-19",
            "collection-date": "2014-06-19",
            "geo-loc-name": null,
            "sample-desc": "IMOS National Reference Stations - OSD",
            "environment-biome": "EnvO:01000023",
            "environment-feature": "EnvO:00002042",
            "environment-material": "EnvO:00002010",
            "sample-name": "245",
            "sample-alias": "245",
            "host-tax-id": null,
            "species": null,
            "last-update": "2022-01-21T12:30:15"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS667635/runs?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS667635/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00000462",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00000462?format=api"
                        }
                    }
                ]
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS667635?format=api"
        }
    }
}