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

Include page size and query depth in the complexity calculation #3641

Open
2 tasks
jdhayhurst opened this issue Nov 27, 2024 · 0 comments · May be fixed by opentargets/platform-api#250
Open
2 tasks

Include page size and query depth in the complexity calculation #3641

jdhayhurst opened this issue Nov 27, 2024 · 0 comments · May be fixed by opentargets/platform-api#250
Assignees
Labels
API Relates to Backend API Backend Relates to Open Targets backend team Platform Issues related to Open Targets Platform

Comments

@jdhayhurst
Copy link

jdhayhurst commented Nov 27, 2024

We should calculate complexity (or another metric) based on the size so that queries that would return a very large response can be rejected to enforce fair use of the API.

Tasks

@jdhayhurst jdhayhurst added API Relates to Backend API Backend Relates to Open Targets backend team Platform Issues related to Open Targets Platform labels Nov 27, 2024
@jdhayhurst jdhayhurst self-assigned this Jan 8, 2025
@jdhayhurst jdhayhurst linked a pull request Jan 31, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Relates to Backend API Backend Relates to Open Targets backend team Platform Issues related to Open Targets Platform
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant