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

{
    "data": {
        "type": "samples",
        "id": "ERS1361160",
        "attributes": {
            "biosample": "SAMEA4461981",
            "sample-metadata": [
                {
                    "key": "investigation type",
                    "value": "metagenome",
                    "unit": null
                },
                {
                    "key": "project name",
                    "value": "Plastic associated metagenomes",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-97.286",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2016-06-22",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "marine",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "subtropical, hypersaline lagoon",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "PET-associated biofilm",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "miscellaneous natural or artificial environment",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina HiSeq 2500",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "27.542",
                    "unit": null
                },
                {
                    "key": "NCBI sample classification",
                    "value": "256318",
                    "unit": null
                },
                {
                    "key": "instrument model",
                    "value": "Illumina HiSeq 2500",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000025",
                    "unit": null
                }
            ],
            "latitude": 27.542,
            "longitude": -97.286,
            "accession": "ERS1361160",
            "analysis-completed": "2016-10-03",
            "collection-date": "2016-06-22",
            "geo-loc-name": "USA",
            "sample-desc": "PET 2",
            "environment-biome": "marine",
            "environment-feature": "subtropical, hypersaline lagoon",
            "environment-material": "PET-associated biofilm",
            "sample-name": "PET2",
            "sample-alias": "PET2",
            "host-tax-id": null,
            "species": null,
            "last-update": "2020-10-14T11:34:40"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Engineered"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Engineered?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1361160/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00001242",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00001242?format=api"
                        }
                    },
                    {
                        "type": "studies",
                        "id": "MGYS00005625",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005625?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1361160/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS1361160?format=api"
        }
    }
}