cicero_moura
07/18/2022, 4:56 PMedgar_ramirez_mondragon
07/18/2022, 5:07 PMstyle1 pagination? https://github.com/Widen/tap-rest-api-msdk#additional-request-stylesjeferson_de_lara
07/18/2022, 6:20 PMpagination_request_style in addition to ǹext_page_token_path.
We already tried passing $.next as the token_path, and we're trying to figure out how to use pagination_request_style parameter
Looking at the source code we've found that there's no use for pagination_request_style parameter inside the methods.
Maybe @josh_lloyd can help us with this, as he's the one who developed the connector.josh_lloyd
07/18/2022, 6:28 PMjosh_lloyd
07/18/2022, 6:54 PMjosh_lloyd
07/18/2022, 6:55 PMjosh_lloyd
07/18/2022, 6:57 PMpagination_response_style that you’re also using style1 for pagination_request_stylejosh_lloyd
07/18/2022, 6:58 PMoffset and limit as parameters in the request, this style isn’t going to work for youjosh_lloyd
07/18/2022, 7:02 PMpagination_page_size: 20
pagination_response_style: style1
should get you what you want. Is that not the case?josh_lloyd
07/18/2022, 7:26 PMnext key with a url for the next page in the list. That would indicate that a config of:
next_page_token_path: "$.next"
should workjeferson_de_lara
07/18/2022, 8:27 PMjeferson_de_lara
07/18/2022, 8:28 PMjeferson_de_lara
07/18/2022, 8:29 PMjeferson_de_lara
07/18/2022, 8:30 PMjosh_lloyd
07/18/2022, 8:30 PMnext_page_token_path was meant to be used with either pagination_page_token or pagination_response_stylejosh_lloyd
07/18/2022, 8:31 PMnext_page_token_path ?jeferson_de_lara
07/18/2022, 8:32 PMjeferson_de_lara
07/18/2022, 8:36 PMjosh_lloyd
07/18/2022, 8:48 PMjeferson_de_lara
07/19/2022, 5:34 PM