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

Block search calls that dont include a collection in the body or query param #240

Merged
merged 3 commits into from
Oct 25, 2024

Conversation

777arc
Copy link
Collaborator

@777arc 777arc commented Oct 24, 2024

Even though it's technically allowed by the STAC spec, we are finding that searches with no collection specified are too taxing on the database, due to the number of collections we have in the Planetary Computer. Short term we are blocking these types of queries, but long term we will be aiming to allow them at a rate limit.

pcstac/pcstac/client.py Outdated Show resolved Hide resolved
@777arc 777arc merged commit c431d0f into main Oct 25, 2024
5 checks passed
@777arc 777arc deleted the block-collectionless-search branch October 25, 2024 16:34
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