Encore API Endpoints Instructions When creating API endpoints with Encore.ts, follow these patterns: 1. Import the API module 2. Define typed request/response interfaces Always define explicit TypeScript interfaces for request and response types: 3. Create the endpoint API Options | Option | Type | Description | |--------|------|-------------| | | string | HTTP method: GET, POST, PUT, PATCH, DELETE | | | string | URL path, supports and | | | boolean | If true, accessible from outside (default: false) | | | boolean | If true, requires authentication | | | boolean | If true, redacts request/res…