what are 'errors' and 'includes' properties in the getEntries() response object?
See original GitHub issuethis is what my client code look like, everything works fine I get my content but when I am learning based on the API documentation I cannot find any info about these two objects.
var client = contentful.createClient({ accessToken: '****', space: '****' }); client.getEntries().then(entries => { console.log(entries) })
the response is
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
performance.getEntries() - Web APIs - MDN Web Docs
The getEntries() method returns an array of all PerformanceEntry objects currently present in the performance timeline.
Read more >Linked entries and assets in Contentful
Linked assets and entries in Contentful are a mystery no more! Let's explore how to work with links in the REST and GraphQP...
Read more >Problem reaching Contentful's API with getEntry() helper
Few days ago I posted a question here asking for help with contentful API for a javascript query of objects and since then...
Read more >Methods - Items API - Learnosity Reference
getResponses(). Obtains an object containing responses for each Question that has been attempted. Returns: object. var responses = itemsApp.
Read more >TTree Class Reference - ROOT
0 branch added or already included; -1 on error. Definition at line 1058 of file TTree.cxx. ◇ AddBranchToCache() [2/2] ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Khaledgarbaya Thanks a lot for the clarification. I also had the same explanation from contentful support, who are always on the ball. Great work on the SDK and the platform in general. My team let me run with Contentful for my current project and I think I may have successfully killed WordPress around here. Thanks for that!
Hi @HauntedSmores, If the entry is already in the items array it does not make sense to include in the
includes
array this will lead to duplication of content and a bigger payload. When resolving the links you need to look into bothitems
andincludes
. That’s what we do in the SDK already since we resolve the links for you. You can check the code here.Best, Khaled