API Design and Engineering

After this course you can design an HTTP API that customers integrate in an afternoon, describe it in OpenAPI and lint it, make it safe to retry, page, secure and rate-limit, deliver webhooks properly, evolve it for years without breaking a customer, protect it from abuse, and run API design as a discipline across an organisation.

0/35 CHAPTERS5 MODULES
LAB STACK

One service changed chapter by chapter: the Wrenpost Messaging API, a FastAPI 0.128 app in a project-local Python virtual environment (Python 3.9 or later), storing messages in SQLite and later in local Postgres 17. Its OpenAPI 3.1 document is linted with Spectral, mocked with Prism and diffed with oasdiff; Senior chapters add gRPC, GraphQL, a generated SDK, Schemathesis and k6. No Docker.

SHOW UP TO

BEFORE YOU START

This course assumes you can already do the following. Each line says where ATLAS teaches it.

MODULE 1

Foundations

BEGINNER 0/6 WRITTEN

What an API promises, the HTTP semantics that matter, resources and names, errors that help, and OpenAPI. You finish by designing and documenting a send-message API, spec first.

  1. 01 What an API is a contract forCOMING
  2. 02 HTTP semantics that matter: methods, status codes, cachingCOMING
  3. 03 Resource modelling and namingCOMING
  4. 04 Errors that help: problem detailsCOMING
  5. 05 Describing an API with OpenAPICOMING
  6. 06 Project: design and document a send-message APICOMING
MODULE 2

Building it properly

WORKING 0/11 WRITTEN

Pagination, filtering, idempotency keys, authentication, rate limits, webhooks, long-running operations and conditional requests. Ends with a messaging API that survives retries, floods and lost webhooks.

  1. 07 Pagination: offset, cursor, keysetCOMING
  2. 08 Filtering, sorting and partial responsesCOMING
  3. 09 Idempotency keys and safe retriesCOMING
  4. 10 Authentication: API keys, OAuth 2.0 client credentials, mTLSCOMING
  5. 11 Rate limits and quotas per customer: headers, 429, Retry-AfterCOMING
  6. 12 Webhooks done properly: signing, retries, ordering, replayCOMING
  7. 13 Long-running operations and asynchronous APIsCOMING
  8. 14 Conditional requests: ETags, If-Match and lost updatesCOMING
  9. 15 Authorisation: object-level access and the OWASP API Top 10COMING
  10. 16 Bulk and batch endpointsCOMING
  11. 17 Project: idempotency, rate limits and webhooks on the message APICOMING
MODULE 3

Evolution and testing

SENIOR 0/8 WRITTEN

Versioning, breaking-change detection in CI, gRPC, GraphQL, SDKs and API testing. Ends with shipping v2 without breaking a single v1 customer.

  1. 18 Versioning: date-based, URL-based, and additive changeCOMING
  2. 19 Catching breaking changes in CICOMING
  3. 20 gRPC and Protobuf: when and howCOMING
  4. 21 GraphQL: what it solves and what it costsCOMING
  5. 22 SDKs: generated or hand-writtenCOMING
  6. 23 Testing APIs: contract tests, mocks, consumer-driven contractsCOMING
  7. 24 Streaming APIs: server-sent events, WebSockets and resumable streamsCOMING
  8. 25 Project: ship v2 without breaking a single v1 customerCOMING
MODULE 4

APIs across an organisation

STAFF 0/6 WRITTEN

Governance that does not block, gateways and tenant isolation, deprecation at scale, developer experience as a product, the economics of a public API, and APIs whose callers are AI agents.

  1. 26 API governance: style guides, linting, reviews that do not blockCOMING
  2. 27 Gateways, the edge and multi-tenant isolationCOMING
  3. 28 Deprecation and sunset at scaleCOMING
  4. 29 Developer experience as a product: docs, quickstarts, time to first callCOMING
  5. 30 Public API economics: pricing, quotas, abuseCOMING
  6. 31 APIs for AI agents: tool schemas, MCP and machine callersCOMING
MODULE 5

Frontier and judgment

PRINCIPAL 0/4 WRITTEN

REST as Fielding defined it and what the industry built instead, Hyrum's law and the cost of compatibility, three public APIs read closely, and what an API should never expose.

  1. 32 REST as Fielding meant it, and what the industry built insteadCOMING
  2. 33 Hyrum's law and the cost of compatibilityCOMING
  3. 34 Case studies: Stripe, Twilio, AWSCOMING
  4. 35 What not to exposeCOMING