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

{
    "data": {
        "type": "samples",
        "id": "ERS2770854",
        "attributes": {
            "longitude": 7.6921,
            "biosample": "SAMEA4952267",
            "latitude": 53.1424,
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Broiler caecal metagenomes",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "7.6921",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Ireland",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2018-01-01",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Broiler Chicken",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Gastrointestinal Tract",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Caecum",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "host-associated",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina HiSeq 4000",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "53.1424",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 4000",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000013",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2018-10-04",
                    "unit": null
                }
            ],
            "accession": "ERS2770854",
            "analysis-completed": "2018-11-06",
            "collection-date": "2018-01-01",
            "geo-loc-name": "Ireland",
            "sample-desc": "Broiler caecal sample",
            "environment-biome": "Broiler Chicken",
            "environment-feature": "Gastrointestinal Tract",
            "environment-material": "Caecum",
            "sample-name": "7",
            "sample-alias": "7",
            "host-tax-id": 9031,
            "species": null,
            "last-update": "2020-11-17T12:53:32"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Birds:Digestive system:Digestive tube:Cecum"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Birds:Digestive%20system:Digestive%20tube:Cecum?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2770854/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003447",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003447?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2770854/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS2770854?format=api"
        }
    }
}