Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function example for response paging #11

Open
SubashRoul opened this issue Nov 1, 2018 · 2 comments
Open

Add function example for response paging #11

SubashRoul opened this issue Nov 1, 2018 · 2 comments

Comments

@SubashRoul
Copy link
Contributor

Demonstrates how customer need to use the state when there is paging in response.

There are two ways to do it

  • Store timestamp and page in state and in the next request start from the page stored in state
  • Directly store the next page url in state and use it in next function invocation

See conversation in https://fivetran.slack.com/archives/C4J90DAS3/p1541029066058800

@djolesko
Copy link

djolesko commented Jun 8, 2021

Hi Subash! I have done few of these - including next page url and offset in pagination response. If you guys would like to have these examples here let me know . Thanks!

@SubashRoul
Copy link
Contributor Author

Hi @djolesko , I will let @fivetran-rajesh-rathnam take this up as Turing owns function connectors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants