API Design · Middle · Question 6 of 75
What does sparse fieldsets (?fields=id,name,email) give clients?
- ✓Correct answer: Only the requested fields, reducing payload size and serialization cost
- 2Encrypted fields
- 3Fields sorted alphabetically
Explanation
Google APIs use fields masks; JSON:API defines fields[type]. It helps mobile clients on slow networks.