Over-fetching
Getting more data than needed, because the API returns the whole resource.
Example
You want to show the name and /users/42 returns 30 fields: 29 are extra.
Test yourself: Over-fetching
REST APIs
You ask for /users/42 to show only the name and 30 fields come back. What problem is it?
You use 1 field out of 30: 97% of what traveled over the network is extra.
0/1
â–¶ Play