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

UDS to return Collection as top level instead of FeatureCollection for /collections/[collection ID] #332

Closed
ngachung opened this issue Feb 22, 2024 · 2 comments · Fixed by #333
Assignees
Labels

Comments

@ngachung
Copy link
Collaborator

Include also /items in links array for collection

@ngachung ngachung changed the title UDS to return Collection as top level instead of FeatureCollection for /collections/ UDS to return Collection as top level instead of FeatureCollection for /collections/[collection ID] Feb 22, 2024
@wphyojpl
Copy link
Collaborator

This endpoint won't be a search. It will just return a single collection based on its ID.

@wphyojpl
Copy link
Collaborator

If we want it backward compatible,

  • /collections return Feature collection of collections.
    • /collections can also return a catalog which breaks backward compatibility. But it might needs a pagination. I'm not sure how that would work with stac browser.
  • /collections/{id} return a Collection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants