Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update endpoint lgd/<stable_id>/phenotypes #116

Merged
merged 2 commits into from
Mar 5, 2025

Conversation

dglemos
Copy link
Collaborator

@dglemos dglemos commented Mar 5, 2025

Ticket: G2P-469
Endpoint: lgd/<stable_id>/phenotypes

Input data

  • to add phenotypes and phenotype summary
{
    "hpo_terms": [{
        "accession": "HP:0003974",
        "publication": 1
    },{
        "accession": "HP:0003349",
        "publication": 1
    },{
        "accession": "HP:0003351",
        "publication": 2
    }],
    "summaries": [{
        "summary": "This is a summary",
        "publication": [1]
    },{
        "summary": "This is a summary with a lot of phenotypes",
        "publication": [2]
    }]
}
  • to only add phenotypes
{
    "hpo_terms": [{
        "accession": "HP:0003974",
        "publication": 1
    },{
        "accession": "HP:0003349",
        "publication": 1
    }]
}
  • to only add phenotype summaries
{
    "summaries": [{
        "summary": "This is a summary",
        "publication": [1]
    }]
}

Copy link
Collaborator

@seeta-ramaraju seeta-ramaraju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@seeta-ramaraju seeta-ramaraju merged commit f9c5374 into EBI-G2P:main Mar 5, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants