by Mark Uraine on WordPress.org
Adding an endpoint to show all media IDs on WP REST API
This plugin extends the WordPress REST API with new routes for all WordPress media IDs.
The new routes available will be:
/media-ids/v1/get-all-media-ids
Add external files to your media library to use them in your website. They are integrated as if they were available locally.
Display all Images from you Media Library as a WordPress Gallery
Run advanced searches via the WordPress REST API and SearchWP.