Pagination using Filet Extension #301
-
Hello. I am using the filter extension to query my catalog and I was wondering how can I paginate the results. Can anyone help me please? Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
At the bottom of the filter result is a "links": [
{
"rel": "next",
"type": "application/json",
"method": "GET",
"href": "http://<stac api>/search?token=<next page token>"
},
{
"rel": "root",
"type": "application/json",
"href": "http://<stac api>/"
},
{
"rel": "self",
"type": "application/json",
"href": "http://<stac api>/search"
}
],
"numReturned": 10,
"numMatched": 2670 |
Beta Was this translation helpful? Give feedback.
-
Oh my god! It is a shame that there is no way to jump to specific pages, but I will find a way. Thank you very much. S |
Beta Was this translation helpful? Give feedback.
At the bottom of the filter result is a
links
object. If there are more items in the search result that the limit number, there will be anext
link. That will open the next page of results.numReturned
andnumMatched
show the number of items in the page and the total number of search results, respectively.