The goal of this issue is to implement a "Recently Watched" list in KuhakuAPI, allowing users to track and retrieve movies and series they have recently watched. This feature will improve user experience by providing easy access to previously played content.
Tasks to be completed
- Create a database table or cache storage to track recently watched movies/series.
- Implement a mechanism to update the list when a user plays a movie or series.
- Develop a new API endpoint (e.g.,
/recently-watched) to retrieve the latest watched content.
- Define optional query parameters for filtering (e.g., by user, time range).
- Ensure efficient data retrieval to minimize performance impact.
- Update API documentation with details on the new endpoint.
Acceptance criteria
- A new
/recently-watched endpoint is available and returns the latest watched content.
- Data is correctly stored and updated without duplication.
- The feature performs efficiently under normal API usage.
- Documentation is updated with usage examples.
Additional notes
Consider implementing caching or database indexing to optimize query performance and response times.
The goal of this issue is to implement a "Recently Watched" list in KuhakuAPI, allowing users to track and retrieve movies and series they have recently watched. This feature will improve user experience by providing easy access to previously played content.
Tasks to be completed
/recently-watched) to retrieve the latest watched content.Acceptance criteria
/recently-watchedendpoint is available and returns the latest watched content.Additional notes
Consider implementing caching or database indexing to optimize query performance and response times.