API Patterns API design principles and decision-making for 2025. Learn to THINK, not copy fixed patterns. π― Selective Reading Rule Read ONLY files relevant to the request! Check the content map, find what you need. --- π Content Map | File | Description | When to Read | |------|-------------|--------------| | | REST vs GraphQL vs tRPC decision tree | Choosing API type | | | Resource naming, HTTP methods, status codes | Designing REST API | | | Envelope pattern, error format, pagination | Response structure | | | Schema design, when to use, security | Considering GraphQL | | | TypeScript monβ¦