SequenceDiagrams

Examples

REST API Sequence Diagram

This REST API sequence diagram follows a request from the client through the gateway and service layer. It makes the database read and the final 200 response explicit, which is useful for documenting ownership and latency boundaries.

REST API RequestClientGatewayServiceDatabaseGET /orders/42Route requestQuery orderOrder record200 OKJSON response

Diagram source

Use this text as a starting point or open it in the editor to make changes.

title: REST API Request
Client -> Gateway: GET /orders/42
Gateway -> Service: Route request
Service -> Database: Query order
Database --> Service: Order record
Service --> Gateway: 200 OK
Gateway --> Client: JSON response