While “Media” is definitely of post type “attachment” there is no route at /wp-json/wp/v2/attachment/
When submitting a GET
to /wp-json/wp/v2/media/
, an empty array of acf
is shown for each object. Even with fields populated, no data is returned. In addition, a POST
to a specific media item at /wp-json/wp/v2/media/<id>
to update a custom field does not work in the same way it does for other post types/custom post types.
Is there an alternate method available of updating data in ACF fields groups shown on media/attachments?