Is there a best practice for handling api’s that return one record per api call?
I was thinking of treating each record as it's own “page”, then paginating through all the records.
e
edgar_ramirez_mondragon
12/30/2021, 1:14 AM
Hi @collin_prather! AFAIK no best practice has been established so far. There are APIs that return a minimal object in the bulk endpoint and more details in the individual one. I think people have been using child streams to handle those cases, but it definitely depends on where the individual IDs for each record are coming from.
Does the API call look something like
/api/MyEntity/<id>
?
c
collin_prather
12/30/2021, 3:11 AM
Ah, I see! Yes, unfortunately there is no bulk API available.
And yes, that is exactly what the API path looks like!
Great examples! Super helpful, I'm going to take a look.
I've been tinkering with the hacker news api. Your approach in tap-hightouch looks like it’d be a straightforward solution! Now I need to do some reading about partitions 🤓