Scroll index
Scrolls through all the items of an index. The first request starts the scroll and generate a scroll id that can be traversed with each successive requests. There is a limited time period on which the traverse is possible. After 5 minutes the scroll expires and it is no longer accesible, a new request should be made to traverse items again from the beginning.
Authorizations
Doofinder API key. Pass it as: Authorization: Token <api_key>
Path Parameters
Unique id of a search engine.
^[a-f0-9]{32}$Name of an index.
^[a-z][a-z0-9_]*$Query Parameters
Unique identifier for the scroll. The scroll saves a "pointer" to the last fetched page so each successive request to the same scroll_id return a new page.
Results per page. How many items are fetched per page/request with a maximum of 100.
1 <= x <= 100Use full index. If true, the full index name will be used instead of the alias. Usually used so the out of stock items are included.
Item variant group identifier. Useful param to filter by a specific variant.
Response
Scroller retrieved.
A scroller traverses all indexed items. It works like a pointer or pager. The first request initializes the scroller and returns the scroller id with the first page of items. Subsequent requests for the same scroller id will return more results. Notice that the scroller works with an snapshot of the index so, if you initialize a scroller and update an item later, those changes will not be reflected in the scroller. Scrollers have an expiry time of 5 minutes.