microsoft / microsoft/planetary-computer-apis
Cross-collection item search not possible.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 129
- Forks
- 33
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 1
Description
If I use croll-collection item search (i.e. /search) and don't provide a collection, I get a HTTP 422 error stating that collection is required.
This makes a cross-collection item search impossible and is against the purpose of this endpoint, so I'd say it's not compliant with the stac-api-spec.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the HTTP 422 response for the /search endpoint without a collection parameter. Trace the request validation and existing search tests or entry point, then update the behavior so cross-collection item search is accepted and verify that collection-scoped search still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100