5 Commits

Author SHA1 Message Date
9159d5013e v1.1 2025-08-18 16:55:45 +07:00
ca4532fa39 inventory management add/del 2025-08-18 11:28:55 +07:00
664f58cefe Consolidate search endpoints for better API organization
- Removed duplicate /api/search endpoint
- Kept /search as the main JSON API endpoint with proper documentation
- Added /search/form for web form submissions
- Updated HTML form to use /search/form endpoint
- Clear separation between API and web interface
- Media type enums still visible in /docs for API usage
- Maintains all functionality while reducing endpoint confusion
2025-08-11 16:50:57 +07:00
93284a9088 Add comprehensive API documentation with media type enums
- Added MediaType enum with book, vinyl, cd, cassette options
- Created Pydantic models (SearchRequest, MediaItem) for API documentation
- Added /api/search endpoint with proper type annotations and response models
- Enhanced FastAPI docs with detailed descriptions and parameter explanations
- Media types now clearly visible in /docs and /redoc interfaces
- Improved API usability with structured request/response models
2025-08-11 16:46:41 +07:00
d9f184d084 Fix Discogs API integration with proper authentication
- Updated to use python3-discogs-client==2.8 library
- Added environment variable configuration for API keys
- Implemented proper error handling for missing API credentials
- Added .env file for configuration management
- Enhanced search functionality with graceful fallbacks
- Updated README with Discogs API setup instructions
2025-08-11 16:15:15 +07:00