Here's an example of an API endpoint design that takes parameters:
Endpoint: /api/search Method: GET
Description: This API endpoint allows users to search for articles based on specific search criteria.
Parameters:
q (required): A string that represents the search query.