Processes the paginated data returned by the OSF API and returns a list with all of the pages combined.
process_pagination(res, config)
The initial list returned from the OSF API and run through `osfr::process_json()`. Must contain the links section.
The configuration used in the initial call to the OSF API.
List of all of the pages from the API (including the input list).