Skip to content

[Feature | API] Implement Recently Watched Movies/Series #45

Description

@AbreuHD

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions