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

{
    "data": {
        "type": "samples",
        "id": "SRS7849620",
        "attributes": {
            "biosample": "SAMN17026885",
            "longitude": -84.55,
            "latitude": 42.73,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-84.55",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2013-08-03",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "9913",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "42.73",
                    "unit": null
                }
            ],
            "accession": "SRS7849620",
            "analysis-completed": null,
            "collection-date": "2013-08-03",
            "geo-loc-name": null,
            "sample-desc": "This sample has been submitted by pda|xunqian on 2020-12-09; metagenome",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "DM_ceftiofur",
            "sample-alias": "DM_ceftiofur",
            "host-tax-id": 9913,
            "species": null,
            "last-update": "2021-10-08T18:39:13"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS7849620/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00005752",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005752?format=api"
                        }
                    },
                    {
                        "type": "studies",
                        "id": "MGYS00005753",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005753?format=api"
                        }
                    }
                ]
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Mammals:Digestive system:Fecal"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Mammals:Digestive%20system:Fecal?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS7849620/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS7849620?format=api"
        }
    }
}