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

Pagination on results other than from Search #152

Closed
philvarner opened this issue Jun 4, 2021 · 2 comments · Fixed by #221
Closed

Pagination on results other than from Search #152

philvarner opened this issue Jun 4, 2021 · 2 comments · Fixed by #221
Milestone

Comments

@philvarner
Copy link
Collaborator

  1. We haven't clearly defined if pagination works on /items (I don't think)
  2. We definitely haven't clearly defined what pagination means for /collections
@m-mohr
Copy link
Collaborator

m-mohr commented Jun 4, 2021

  1. And we also don't have clearly defined whether you can paginate normal STAC catalogs, e.g. the API landing page.

I'm pretty sure we have something defined for (1) though as the endpoint has a "limit" parameter in OAFeat.

@philvarner philvarner added this to the 1.0.0-beta.3 milestone Jun 30, 2021
@philvarner philvarner modified the milestones: 1.0.0-beta.3, 1.0.0-beta.4 Jul 19, 2021
@philvarner philvarner removed this from the 1.0.0-beta.4 milestone Sep 7, 2021
@philvarner philvarner added this to the 1.0.0-beta.5 milestone Sep 17, 2021
@philvarner
Copy link
Collaborator Author

I'm of the opinion that the landing page should not allow pagination. This isn't defined in OGC API. Since the pagination would likely be for having a large number of child links, pagination of the links array seems odd to me. If a catalog has so many children that they can't be served on open page, the implementer should introduce some hierarchy into them (which also points to the need for the subcatalog work)

@m-mohr m-mohr linked a pull request Dec 3, 2021 that will close this issue
4 tasks
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 a pull request may close this issue.

2 participants