Contentful logo

Contentful Community

Sync API Data Queries

Hey :wave:

So I’m using the content sync API to with an initial param, and then I do a deep merge on this data to get a big offline blob of my space. This is useful as I no longer need to make network requests.

However, queries to this offline store are not trivial. Is there a way to query this data in a way similar to how I query the API?

For example, with the Content Delivery API I can do:


and this will get me data in my desired shape, with a depth of 10 references under item xyz.

How does one go about doing this with an offline store? Any tools out there that I’m missing?