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

{
    "data": {
        "type": "samples",
        "id": "ERS1792310",
        "attributes": {
            "latitude": null,
            "biosample": "SAMEA104128417",
            "longitude": null,
            "sample-metadata": [
                {
                    "key": "environment (biome)",
                    "value": "terrestrial biome",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.3",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000011",
                    "unit": null
                }
            ],
            "accession": "ERS1792310",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Samples were pooled in this way (MID LONGITUDE LATITUDE SAMPLING_DATE ELEVATION) :              CAGACGTCTG 4.918381937 44.07078 2007 0              CACACGATAG 4.105000209 49.98731 2003 4              CACGCTACGT 0.499715861 44.94941 2007 0              CATATCTCGT -0.968913663 45.77964 2006 5              CACGTAGATC 5.484533229 43.48014 2006 0              CGAGCTCATG 2.324056730 44.24519 2007 41              CATAGTAGTG -3.879447160 47.82184 2002 133              CGCTATCTAT 3.524810642 44.23874 2007 1              CGTGTCTCTA -4.109891847 47.95368 2002 178              CGTAGACTAG 5.250869232 46.65480 2007 5              CAGTACTGCG 3.953769287 45.24077 2006 5              CGATCTGTCG 5.153513883 44.78483 2007 317              CGAGACGCGC 4.310920934 49.55299 2006 0              CACGTGTCGC 3.750069169 45.24355 2005 0              CGATCGTATA 1.887117219 48.84950 2005 1              CGCGACATCT 6.008098398 45.48010 2006 300              CATCGAGCAG -0.846660988 47.22382 2007 706              CGTACAGTCA 4.759299263 49.68859 2007 546              CATACTCTAC -3.982405330 48.68225 2008 255              CGTATGCGAC 5.924089799 44.18631 2007 539              CGCGTATACA 6.436421541 48.49166 2008 0              CGTATATGCT 7.058465876 48.18020 2006 166              CGAGCTAGCT 6.212461140 45.47319 2007 3              CACTGATGTC 4.309977123 43.79571 2008 218              CATCTACTGA 2.124459493 44.10112 2007 3              CAGTAGACGT 3.180421894 47.98424 2007 596",
            "environment-biome": "terrestrial biome",
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "sample_BDY_1_MetaTAXOMIC-B054",
            "sample-alias": "sample_BDY_1_MetaTAXOMIC-B054",
            "host-tax-id": null,
            "species": null,
            "last-update": "2020-05-27T21:08:36"
        },
        "relationships": {
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1792310/runs?format=api"
                }
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Terrestrial:Soil"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1792310/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005297",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005297?format=api"
                        }
                    }
                ]
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1792310?format=api"
        }
    }
}