How do I make paginated requests using App Bridge authenticated fetch to the REST Admin API? I’m not seeing it anywhere in the documentation and the app-bridge github repo is 404.
Initial authenticated fetch request:
- https://888f7c2e6c60.ngrok.io/rest/v1/?path=products/count&shop=lachlantest2.myshopify.com
- returns /admin/api/2022-01/products.json
I attempt to add a query param using the page_info from the initial response:
- https://888f7c2e6c60.ngrok.io/rest/v1/?path=products&page_info=eyJsYXN0X2lkIjo3NjMzMTY3MDU3MTI1LCJsYXN0X3ZhbHVlIjoiYmxhaDE1IiwiZGlyZWN0aW9uIjoibmV4dCJ9&shop=lachlantest2.myshopify.com
- returns the same response as the initial /admin/api/2022-01/products.json
More generally, how to you pass query params (e.g., limit=250) to authenticated fetch URI?
Is the pagination failing because of https://shopify.dev/api/usage/pagination-rest#parameters?
