mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-05-20 21:30:12 -05:00
e2d7e21447
- Fix syntax error in existing /api/search endpoint (missing parenthesis in tasks query) - Enhance /api/search endpoint with types filter, improved error handling, and response metadata - Add new /api/v1/search endpoint with token-based authentication - Requires read:projects scope - Respects user permissions (non-admin users see only their own time entries) - Supports filtering by entity type (project, task, client, entry) - Includes OpenAPI documentation - Add comprehensive test suite for both endpoints - Tests for legacy /api/search (session-based auth) - Tests for /api/v1/search (token-based auth) - Covers authentication, authorization, filtering, and search functionality - Update API documentation in docs/api/REST_API.md - Add search endpoint documentation with examples - Include parameter descriptions and response formats - Add search endpoint to /api/v1/info endpoint listing This addresses the HIGH PRIORITY requirement to implement the search API endpoint that was referenced but may not have been fully functional. Resolves: Search API endpoint (/api/search) referenced but may not exist