expand
Your API's Horizons, Part Two: Implementing the expand
Parameter in Rails
A sample implementation of the expand parameter, walking through various abstractions.
expand
Your API's Horizons: Ergonomic REST APIs with Dynamic Object Expansion
Understand how exposing an expand parameter on your API gives your API callers more flexibility and saves you bandwidth and computation