I’m running Strapi v4.3.9 and am using the media field (both single a multiple) with the “required field” option enabled.
It does work in the admin panel by preventing creating entries without the media:
However when using the REST API to create an entity this rule is not enforced leading to invalid data.
Is this a bug? How can I enforce required media in the API?