Reading · 9 min

Consistency is a feature

You are previewing a free lesson. Enrol to save progress and take quizzes.

Use plural nouns for collections, predictable nesting, standard status codes and one error format everywhere. Version your API before the first external client depends on it.

A developer should be able to guess an endpoint correctly after seeing two others.