REST api v2 how can modify respond types and make custom DTO for better performance

I using REST api v2 and its respond is about 1MB for one request (10 items). I want to make its performance better. How i can modify request responses? For example remove some un-needed fields or customize them or for example Add ImageUrl instead of featured_media that contains Id.

Read more here:: REST api v2 how can modify respond types and make custom DTO for better performance

Leave a Reply

Your email address will not be published. Required fields are marked *