Get all uploaded images using REST api

Question

I need to get all the images that are uploaded in my wordpress installation using the REST API.
I’ve tried using the wp-json/wp/v2/media endpoint but it will give me only the last 10 images uploaded that are attached to the last published post but this isn’t what I was expectinng.

How I can get all the images that are uploaded in wordpress unsing the rest api?

0
guest1345 4 months 0 Answers 11 views 0

Leave an answer