Allow filtering the JSON API response
For example, the YouTube Data API has the "fields parameter" to accomplish this, an example being: items(userid,username,title)
https://developers.google.com/youtube/v3/getting-started#fields
Thanks!
3
votes

-
LH147 commented
Will make a small server response, if most of the fields are not needed.
For example, clips manager app:
● Initially, all data is collected for new clips.
● Until the clip is edited/timeout editing, app checks the fields id, title, view_count, thumbnail_url and duration.
● Finally for update stats or check deleted clips, only fields id, title and view_count are needed. This most of the requests.