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

{
    "data": {
        "type": "samples",
        "id": "ERS2520883",
        "attributes": {
            "biosample": "SAMEA4700714",
            "longitude": -43.8791,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-43.879135",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Brazil",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2016-02-16",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "-19.895739",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000029",
                    "unit": null
                }
            ],
            "latitude": -19.8957,
            "accession": "ERS2520883",
            "analysis-completed": null,
            "collection-date": "2016-02-16",
            "geo-loc-name": null,
            "sample-desc": "This sample has been submitted by Centre for Genomic Epidemiology, National Food Institute, Technical University of Denmark (DTU), Denmark on 2018-05-31; wastewater metagenome",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "BRA-53_2",
            "sample-alias": "BRA-53_2",
            "host-tax-id": null,
            "species": null,
            "last-update": "2021-11-18T03:48:36"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered:Wastewater:Water and sludge"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered:Wastewater:Water%20and%20sludge?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2520883/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005846",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005846?format=api"
                        }
                    },
                    {
                        "type": "studies",
                        "id": "MGYS00005847",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005847?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2520883/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2520883?format=api"
        }
    }
}