REST (with OpenAPI)
Resource URLs with HTTP methods and status codes, described by an OpenAPI document.
Strengths
- Standard HTTP caching at CDNs and clients.[1] RFC 9111: HTTP Caching, Primary, Not yet verified by an editor
- OpenAPI generates docs, SDKs and contract tests that partners already know.[4] OpenAPI Specification, Primary, Not yet verified by an editor
- Rate limits, auth scopes and monitoring per endpoint are straightforward.
Weaknesses
- Fixed response shapes over- or under-fetch for specific screens.
Choose it when
- Many external consumers who integrate once and need a stable contract.
Limitations
- Composite views need extra endpoints or client-side joins.