-
Couldn't load subscription status.
- Fork 7
Description
What
The dynamically produced next page link in an item search response (i.e. /collections/{collection_id}/items) is invalid when the API is deployed with a path prefix. The solution is likely upstream so this ticket involves working with stac-fastapi and pgstac.
Report
it seems the pagination of the items is not configured correctly, so if you go to, e.g.:
https://openveda.cloud/api/stac/collections/no2-monthly/items
when you look at the "rel":"next" which indicates the link to fetch the next set of items, it does not have /api/stac/ in the path. "href":"https://openveda.cloud/collections/no2-monthly/items?token=next:no2-monthly:OMI_trno2_0.10x0.10_202212_Col3_V4.nc" so it seems our client is able to fetch the first 10 items, and then runs into a "forbidden" location
AC
- next page link is valid in item search response