All guide activities

SD-05 · GUIDED WORKSHEET

Make interfaces safe to depend on

Specify create-link and list-my-links API contracts.

Read. Try. Defend.

Companion to the Buildfest System Design guides.

Your practice brief

  1. Write input, output and error examples for create-link.
  2. Define stable ordering and a page-size ceiling for list-my-links.
  3. Show what the server does when a learner supplies another user identifier.

Your response stays in this tab. Download it before leaving. This self-guided worksheet is not graded or saved to your account.

Reveal reasoning after attempting

The server derives ownership from identity and performs object-level checks. Input validation and compile-time types solve different problems. A valid alternate contract should state its concurrency and versioning behavior, not merely endpoint names.

Other approaches can be valid. Check your assumptions, correctness, failure handling and trade-offs.