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

add page parameters to api endpoints #53

Open
jjgao opened this issue Jan 8, 2019 · 3 comments
Open

add page parameters to api endpoints #53

jjgao opened this issue Jan 8, 2019 · 3 comments
Assignees

Comments

@jjgao
Copy link
Member

jjgao commented Jan 8, 2019

We need an api to determine whether alignments exists at all for a given transcript so that we don't have to pull all alignments just to determine that.

After discussion, we would like to add pagination pagination similar to what we do in cBioPortal API.

An empty list should be return if no alignments in the result.

Please add the following parameters similar to cBioPortal endpoints:

image

If it's too much work to add to all, please start with /api/alignments/{id_type}/{id} which is used by cBioPortal.

@juexinwang
Copy link
Collaborator

I will start working on that.

@jjgao
Copy link
Member Author

jjgao commented Jan 9, 2019

Thanks, @juexinwang. We are discussing whether it's better to create the new endpoint or just add pagination to the api in the #genomenexus channel on slack.

@jjgao jjgao changed the title has-alignments endpoint add page parameters to api endpoints Jan 10, 2019
@jjgao
Copy link
Member Author

jjgao commented Jan 10, 2019

@juexinwang I updated the issue description above. Please let me know if you have any questions.

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