dwyl / learn-api-design

🏙️ Essential learning for people building APIs
813 stars 117 forks source link

list of desired fields as a url parameter #5

Open nelsonic opened 9 years ago

nelsonic commented 9 years ago

To reduce the amount of data retrieved, we can specify the exact fields we want in url e.g:

GET /accounts/1234/fields=firstname,surname,etc

see: 52:29