I have tried using pre-request scripts and other mechanisms but to no avail. This particular endpoint is created in a way so that a link header is passed back after the first call that contains this literal info:
you can see the relative info about the particular page you’re looking at is returned. how do I extract information from the header, which could always be different and iterate from page 1 through whatever the last page might be? I also want to collate the output into a single JSON that can be saved.