Skip to content

Implement API Pagination & Versioning #7

Description

@viceda-s

Problem: Endpoints like GET /api/exercises return unpaginated lists, leading to memory exhaustion at scale. The API lacks a version prefix.

Acceptance Criteria:

  • Prefix all controllers with /api/v1/.
  • Update ExerciseController and WorkoutController GET endpoints to accept Pageable parameters and return Page<T> responses.
  • Refactor the ExerciseController filtering logic to combine (AND) filters rather than prioritizing one over the other.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions