서우 AgentOffice
← 라이브러리
development

API 패턴

원문: api-patterns

API design principles and decision-making. REST vs GraphQL vs tRPC selection, response formats, versioning, pagination.

무엇을 하나요

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 | | | | | | api style.md | REST vs GraphQL vs tRPC decision tree | Choosing API type | | rest.md | Resource naming, HTTP methods, status codes | Designing REST API | | response.md | Envelope pattern, error format, pagination | Response structure | | graphql.md | Schema design, when to use, security | Considering GraphQL | | trpc.md | TypeScript monorepo, type safety | TS fullstack projects | | versioning.md | URI/Header/Query ver

실행 시 본인 API 키(BYOK)로 동작하며, 모델 비용은 사용자 계정에서 직접 결제됩니다.