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

{
    "data": {
        "type": "samples",
        "id": "ERS4515010",
        "attributes": {
            "biosample": "SAMEA6787332",
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "bacteria_archaea",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "gNOMO",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-0.37739",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Spain",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2018-01-01",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "laboratory",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "laboratory",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "laboratory",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "host-associated",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina MiSeq",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "39.46975",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000013",
                    "unit": null
                }
            ],
            "latitude": 39.4697,
            "longitude": -0.3774,
            "accession": "ERS4515010",
            "analysis-completed": null,
            "collection-date": "2018-01-01",
            "geo-loc-name": null,
            "sample-desc": "gNOMO",
            "environment-biome": "laboratory",
            "environment-feature": "laboratory",
            "environment-material": "laboratory",
            "sample-name": "DNA20d_6",
            "sample-alias": "DNA20d_6",
            "host-tax-id": null,
            "species": null,
            "last-update": "2021-11-29T10:22:46"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Arthropoda:Digestive system:Hindgut"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Arthropoda:Digestive%20system:Hindgut?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS4515010/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005852",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005852?format=api"
                        }
                    },
                    {
                        "type": "studies",
                        "id": "MGYS00005853",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005853?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS4515010/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS4515010?format=api"
        }
    }
}