-
Couldn't load subscription status.
- Fork 31
Description
Describe the bug
Since collection pagination was implemented, the landing page does no longer shows "child" links to all collections. Only links to the first 10 (= default page size limit) collections are returned.
Should links to all collections be returned? Or can we remove these collection child links altogether? They are not required by the STAC API specification.
https://github.com/radiantearth/stac-api-spec/blob/v1.0.0/core/README.md#link-relations
To Reproduce
Steps to reproduce the behavior:
- Create more than 10 collections
- Fetch the landing page:
GET / - Inspect the
"rel": "child"links
You can trick the landing page to return more collections by passing the limit HTTP parameter. For example, GET /?limit=100
Expected behavior
Either "child" links to all collections to be returned, or none at all.