Skip to content
Presentation

API design review template

A design review for version two of a fictional court-booking service's public API. It opens on the claim that an API is a promise, shows a partner's complaint and labelled sample figures, draws the resource model with holds at its centre, lists five endpoints and their retry safety, walks a request and response with an idempotency key, sets five design rules, shows error design and a labelled pilot chart, explains versioning and ends on three open questions. Full script with cues and timing.

Type
API design review
For
API designers, engineers and partner developers
Spoken
10:30 over 13 slides
Look
Aurora

{ }

API design review · sample

A promise we can't take back

Reviewing version two of a public booking API · fictional service

Slide 1 of 13

What you’ll saySlide 1 · 0:55

An API is a promise you can never take back.

PAUSE 2s

Once a partner's app depends on a field, a status code or the exact meaning of an endpoint, that behaviour is ours forever, or at least until we can persuade every partner to change their code. Which, in my experience, takes about three times longer than anyone plans.

So today I'd like your help deciding which promises to make in version two of our public booking API, before we make them. I'll show the problem we're solving, the resource model, the endpoints, five design rules, how errors work, early pilot results, versioning, and three open questions where I genuinely want your opinion.

Practice timer0:00 – 0:55 of 10:30

Timed at a calm 130 words a minute, with the pauses in the cues.

Sample service · fictional figures. Charts and figures are illustrative.

What’s inside

Why version two

  1. A promise we can't take back
  2. What a partner told us
  3. Version one, today

The design

  1. The resource model
  2. Five endpoints instead of eleven
  3. One request, one response

The rules

  1. Five rules for every endpoint we add
  2. The five rules
  3. Errors that tell you what to do next

Evidence and rollout

  1. Pilot: duplicate bookings from retries
  2. Versions and promises
  3. Three questions for this review

Close

  1. Make only the promises we can keep.

What you’d replace

  • The problem as a consumer of your API saw it
  • Your current API's figures
  • Your resource model, drawn
  • Your endpoints and an example request and response
  • Your design rules and error design
  • Your versioning plan and open questions

Two ways to start

  • Edit this template directly: the slides, script and cues open in the editor, ready for your names and numbers.
  • Make it about your topic: SlideDeck keeps this structure, style and look, and drafts new slides from your own sources.

More technical talks

See the category