Query if an image is/is not draft

Is there a way to use the existing query options on a getentries request so that it only returns records where the image that is selected (as a media type in the content model) is published? So that if the image is still draft then the entry is not returned?

Hey @andyburgess!

That’s how it should work now. We also show this warning in UI when you try to publish an entry with unpublished assets:

pdf (en-US) — 1 unpublished asset
That’s fine — but please keep in mind that these assets won’t show up in the Delivery API response (until they are published, of course).

So, you should be fine :sunglasses:

Let me know if you have any further questions.