API Design

Next.js API design patterns for Route Handlers (app/api/**/route.ts): input validation, response and error shapes, streaming and SSE, webhooks, CORS, versioning, caching GET handlers, and choosing between a Route Handler and a Server Action. Not for form handling with Server Actions (form-handling) or for fetching data in Server Components (data-fetching).

agents-store Updated 0 repo stars

File contents

Agents-Store/codex-plugins commit a58b263d3f

Frequently asked questions

npx get-skill add agents-store/api-design-2