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

Include didn't work in queryEntries #682

Open
hz081 opened this issue Aug 20, 2021 · 3 comments
Open

Include didn't work in queryEntries #682

hz081 opened this issue Aug 20, 2021 · 3 comments

Comments

@hz081
Copy link

hz081 commented Aug 20, 2021

I was trying to put: ["sys.id[in]=xxx","include=4"] as an queryEntries options. But didn't work, the result didn't include all linked items.

This behavior is very different with the contentful-api. Any suggestion how to link all related items to that entries?

Thanks

@marcolink
Copy link
Member

@hz081
Did you try without the include? for exporting entries, you don't need to specify it.

@UXnomaan
Copy link

@marcolink - I'm in the same situation. The entry I'm trying to export has nested structure. As @hz081 mentioned, adding include: x to your API request will get you the structure you need. How would you go about exporting an entry which has nested entries?

@joaofmartinho
Copy link

+1

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

No branches or pull requests

4 participants