Open Uthmanduro opened 1 month ago
This is a duplicated issue already and it's not following the RESTFUL Api rules GET /api/products?page=1&limit=10
Link to the approved issue is here
@theijhay Did you read what this endpoint is doing at all? PS: its different from yours
Then the version your api also. buka said it on the issue ticket
Description
Develop an API endpoint to list products with pagination support. The endpoint should return basic information about each product, including the product name, price, and category.
Acceptance Criteria
Pagination Support: Include pagination parameters in the request:
Response Pagination Info: Include pagination information in the response:
Purpose
To provide a means for clients to retrieve a paginated list of products with essential details, enhancing the user experience by allowing them to browse products efficiently.
Requirements
Request example
GET /api/v1/products?page=1&limit=10
Expected Outcome
Additional Notes:
Testing