API Design · Senior · Question 45 of 75

What's the trade-off of exposing a generic query API (e.g. OData filters or raw GraphQL access to all data)?

Explanation

Constrain what can be queried and measure actual usage before widening it.

Further reading

Problem with a question

API Design · Senior · question 45

Test yourself

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

Take this quiz