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

Search API: add ability to search my model id #333

Closed
tmushayahama opened this issue Jul 17, 2020 · 4 comments
Closed

Search API: add ability to search my model id #333

tmushayahama opened this issue Jul 17, 2020 · 4 comments
Assignees

Comments

@tmushayahama
Copy link
Contributor

From landing page geneontology/noctua-landing-page#24

Add ability to the search api to search models by model id

#230

tag @goodb

@goodb
Copy link
Contributor

goodb commented Jul 21, 2020

Okay @tmushayahama I believe this is working now on noctua-dev - e.g. http://noctua-dev.berkeleybop.org:6800/search/models/?id=gomodel:5b91dbd100000826

Note that it currently only supports one id at a time. We can make it a multi-valued search if you want, just let me know. Please close the issue if you are happy with it.

@tmushayahama
Copy link
Contributor Author

@goodb thank you.
Is it possible for it to accept a list of ids (just like any other params) example http://noctua-dev.berkeleybop.org:6800/search/models/?id=gomodel:5b91dbd100000826&id=gomodel%3A5ef3cfb000000012 should return 2 models

@goodb
Copy link
Contributor

goodb commented Jul 21, 2020

@tmushayahama
Copy link
Contributor Author

@goodb ohhh yesss thanks so much, it just integrated well with its siblings of filters :)

image

@goodb goodb closed this as completed Jul 22, 2020
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

No branches or pull requests

2 participants