CRITICAL FIXES: - Add GET /api/v1/images/resolve/:alias endpoint with 3-tier alias resolution - Supports optional flowId query parameter - Returns image, scope (technical/flow/project), and flowId - Placed before GET /:id to avoid route conflict - Change live endpoint from /api/v1/live/generate to /api/v1/live - Corrects path to match specification PARAMETER NAMING: - Rename outputAlias to assignAlias in requests and service - Rename flowAliases to assignFlowAlias in requests and service - Update generations route to use new parameter names FLOW TIMESTAMP UPDATES: - Add flow.updatedAt trigger in ImageService.create() - Updates flow timestamp when image is uploaded to a flow - Flow.updatedAt already updated in GenerationService.create() AUDIT TRAIL VERIFICATION: - Confirmed apiKeyId is properly saved in generations table - Confirmed apiKeyId is properly saved in images table (both upload and generation) TYPE FIXES: - Add explicit | undefined to AliasResolutionResponse.flowId 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| admin | ||
| api-service | ||
| landing | ||
| studio | ||