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

{
    "data": {
        "type": "samples",
        "id": "SRS7229131",
        "attributes": {
            "biosample": "SAMN15782445",
            "longitude": -45.0024,
            "latitude": 44.9933,
            "sample-metadata": [
                {
                    "key": "temperature",
                    "value": "18.518",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-45.002433",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Atlantic Ocean",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2013-08-31T14:20:00Z",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "Metagenome or environmental",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "44.993283",
                    "unit": null
                }
            ],
            "accession": "SRS7229131",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Station 9",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "A392013_192",
            "sample-alias": "A392013_192",
            "host-tax-id": null,
            "species": null,
            "last-update": "2024-05-21T16:20:22"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS7229131/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006028",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006028?format=api"
                        }
                    },
                    {
                        "type": "studies",
                        "id": "MGYS00006034",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006034?format=api"
                        }
                    }
                ]
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS7229131/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS7229131?format=api"
        }
    }
}