Get all uploaded images using REST api
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?