๐Ÿ”Œ API Patterns and Practices: REST
Home Chapters Examples Diagrams Bibliography GitHub โ†—
Home / Collections at scale
Part 4 2 chapters

Collections at scale

Design collection endpoints that stay fast and safe under load, and match the pagination strategy to the access pattern.

Chapter 8

Filtering, projection & pagination

Keep collection endpoints fast and safe under load: filter and project fields, choose among offset, keyset and seek pagination, and clamp limit as a denial-of-service guard.

30 minRead โ†’
Chapter 9

Sub-resources

When nesting a resource under its parent expresses real ownership and when it's a trap: the caching cost, the redundant-endpoint pitfall, and how deep is too deep.

22 minRead โ†’
โ† Previous part HTTP semantics done right Next part โ†’ Asynchronous work & jobs

API Patterns and Practices: REST

Designing REST APIs well, with runnable examples in Quarkus and Python/FastAPI.

Site

  • Chapters
  • Examples
  • Bibliography

Reference

  • OpenAPI 3.1 โ†—
  • AsyncAPI 3 โ†—
  • View on GitHub โ†—
  • Issues โ†—
Open source ยท MIT Last built 2026-11-11