API Design · Middle · Question 5 of 75

How can a REST API let clients load related resources in one request?

Explanation

Expansion avoids chatty clients while keeping default responses small. Limit how deep and how many relations can be included.

Further reading

Problem with a question

API Design · Middle · question 5

Test yourself

Take the API Design · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz