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

{
    "data": {
        "type": "samples",
        "id": "SRS5926274",
        "attributes": {
            "longitude": 140.07,
            "biosample": "SAMN13698780",
            "latitude": 36.03,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "140.07",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Japan:Tsukuba",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2017-09-01",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "7460",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "36.03",
                    "unit": null
                }
            ],
            "accession": "SRS5926274",
            "analysis-completed": null,
            "collection-date": "2017-09-01",
            "geo-loc-name": null,
            "sample-desc": "This sample has been submitted by pda|ellegaard on 2020-01-03; insect gut metagenome",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "AmAi04",
            "sample-alias": "AmAi04",
            "host-tax-id": 7460,
            "species": null,
            "last-update": "2023-04-25T17:28:01"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Insecta:Digestive system"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Insecta:Digestive%20system?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS5926274/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006180",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006180?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS5926274/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS5926274?format=api"
        }
    }
}