chunking non-large requests?

NarrowQuokka1 week ago

Hey there,

Quick question: provided I stay on the right side of a 'large request' (<28 days), will all of the user's data come in one single ingest. I appreciate that daily, sleep and body will come as separate events if i request each for the last 27 days, but will I just get 3 payloads sent to me with multiple 'data blocks' or is it possible that the data for the last 27 days of, say, daily, will be broken into different payloads?

Thanks, Josh

terra

Vanessaadmin1 day ago

Hi there,

That's correct. For requests under 28 days, you'll receive separate events for each data type you request (daily, sleep, body, etc.), but each data type will come in a single payload containing multiple data objects in the data array.

When chunking occurs for large requests (>28 days of data), all chunks will contain the same terra-reference header value, allowing you to track when the complete data transfer is finished!


NarrowQuokka1 day ago

Thanks so much!


Cookie Preferences

Essential CookiesAlways On
Advertisement Cookies
Analytics Cookies

Crunch Time: Embrace the Cookie Monster Within!

We use cookies to enhance your browsing experience and analyse our traffic. By clicking “Accept All”, you consent to our use of cookies according to our Cookie Policy. You can change your mind any time by visiting out cookie policy.