Contentful provides a way to fetch Entries / Assets that do not have a “published” state via the Content Preview API endpoint and related API key.
I would like to suggest that the state (“draft”, “changed”, “published”, “archived”) of each Entry / Asset should be included in the response payload, on the entity.sys
object as it is when using the CMA.
This is particularly important when fetching multiple entities eg. when using getEntries()
which may return a number of Entries with a mix of states.