Generate comprehensive API documentation for code or HTTP services. ## CORE CHECKLIST ⚡ □ Include only sections relevant to the project type (Code API vs. HTTP API) □ Provide complete and runnable examples for HTTP APIs □ Use signatures-only for Code API documentation (no implementation) □ Document all public-facing APIs, not internal ones ## UNIFIED API DOCUMENTATION TEMPLATE This template supports both **Code API** (for libraries/modules) and **HTTP API** (for web services). Include only the sections relevant to your project type. --- ...(content truncated)...