These are chat archives for WP-API/node-wpapi

6th
Mar 2018
Szymon Nowak
@szimek
Mar 06 2018 10:18
Hi! I'm exporting data from WP and I'd like to export featured image for each post as well. currently I'm fetching posts in batches of 100. is there a way to automatically fetch data from { "_links": { "wp:featuredmedia": [...] }} as well? or do I have to do a separate request for each post to get it?
sunpietro
@sunpietro
Mar 06 2018 12:27
You can always try to create a custom endpoint that returns a desired piece of information.