I’m wondering if it’s possible to query the asset library to get all images from a subfolder, preferably of a specific mimetype.
Here’s my code, this code returns “any” images if you get rid of the variables passed to the query, however it doesn’t work if I add in the mimetype or folder id
That worked, thank you. I couldn’t use the builder explorer as it was throwing exceptions. Would it be possible to add these shapes of these endpoints to documentation?
We’ve submitted a request to update the documentation with a working example that includes the shapes of these endpoints. You can expect the docs to be updated in the coming days.
Thank you for bringing this to our attention—it will help improve the experience for everyone.