any sample tap or document to maintain start-time ...
# troubleshooting
a
any sample tap or document to maintain start-time and end-time parameter in rest-api and maintain their state so that next run is incremental
p
Hey @avinash_gupta - are you looking to use incremental replication with an existing tap or are you working on building a new one with the SDK and need help with that?
if its the former, check out https://docs.meltano.com/guide/integration#incremental-replication-state for more details on running a sync with a
job_id
so Meltano knows how to keep track of state between syncs
a
Hi,
I am trying to build new tap and I am new to Singer/Meltano. I have parent rest api which passes application to child rest api ( I achieved this using parent-child relationship).
My child rest-api looks like /abc/{app_name}/xyz?start-time=21-03-2022&end-time=23-03-2022 , I need to maintain start-time which is not part of response. My next run start-time should be 23-03-2022
p
@avinash_gupta ok cool - @edgar_ramirez_mondragon or @aaronsteers can one of you make a suggestion of the best approach for this? Also there are a bunch of good SDK based implementations in https://github.com/MeltanoLabs if you havent checked them yet