API Design
This document outlines the API design patterns and best practices used in ShipKit.
REST API
Route Structure
API Versioning
Server Actions
Action Structure
Action Usage
Error Handling
API Errors
Error Responses
Middleware
Authentication
Rate Limiting
Best Practices
Input Validation
Response Format
Security Headers
Testing
API Tests
Action Tests