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

{
    "data": {
        "type": "samples",
        "id": "ERS3042514",
        "attributes": {
            "latitude": 34.1723,
            "longitude": 120.0214,
            "biosample": "SAMEA5235090",
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "aDNA samples and negative control (lane 6)",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "120.02135",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2010-09-28",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "ocean",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "basin",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "sediment",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "sediment",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina HiSeq 4000",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "34.17228",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 4000",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000021",
                    "unit": null
                },
                {
                    "key": "last update date",
                    "value": "2019-01-22",
                    "unit": null
                }
            ],
            "accession": "ERS3042514",
            "analysis-completed": "2019-02-11",
            "collection-date": "2010-09-28",
            "geo-loc-name": "USA",
            "sample-desc": "aDNA lane 1",
            "environment-biome": "ocean",
            "environment-feature": "basin",
            "environment-material": "sediment",
            "sample-name": "aDNA lane 1",
            "sample-alias": "APJX-2-1",
            "host-tax-id": null,
            "species": null,
            "last-update": "2019-02-11T14:54:05"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine:Sediment"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine:Sediment?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS3042514/runs?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS3042514/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00003726",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00003726?format=api"
                        }
                    }
                ]
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS3042514?format=api"
        }
    }
}