wp_rest_attachments_controller-get_media_types

method