18 pts
API contract design
Design the API contract for creating a support ticket. Include endpoint, required request fields, response fields, three machine-readable error codes, auth/authorization expectation, and idempotency behavior.
This assessment verifies the APIs, Clients, and Services module. Passing it contributes up to 9 points in the 9-17 score band.
Questions
5
Limit
65m
Pass
85%
Score
+9
18 pts
Design the API contract for creating a support ticket. Include endpoint, required request fields, response fields, three machine-readable error codes, auth/authorization expectation, and idempotency behavior.
16 pts
A user uploads a profile photo. Trace the production request lifecycle and separate work that must happen before response from work that can happen asynchronously.
18 pts
For a food delivery product, propose service/module boundaries for menu, order, payment, rider location, and notification. Defend which boundaries should be separate and which communication can be async.
10 pts
During account signup, which set of decisions is strongest?
18 pts
Review this design: `POST /orders` creates an order, sends the confirmation email synchronously through a third-party provider, writes analytics synchronously, and returns success. If the email provider times out, the order request fails. Identify the production risks and propose a safer request lifecycle.