Skip to content

Endpoint to Fetch UsersΒ #50

Description

@rcmtcristian

πŸ› οΈ Fetching Users


πŸ“‹ Endpoints Required

  • GET /api/v1/users β€” List all resources (paginated)
  • GET /api/v1/users/:id β€” Get a single resource by ID

πŸ—‚οΈ Data Schema

Describe or paste the expected request/response shape below.

NA - GET requests


---

## βœ… Acceptance Criteria
- [X] All endpoints return correct HTTP status codes
- [ ] Input validation is applied to request bodies and query params
- [X] Errors return consistent, descriptive JSON responses
- [ ] Endpoints are protected by appropriate auth/authorization middleware
- [X] Pagination supported on the list endpoint
- [X] Unit tests cover each endpoint (happy path + error cases)
- [X] Integration tests pass in CI
- [ ] OpenAPI / Swagger docs updated

---

## πŸ”’ Auth & Permissions
<!-- Describe which roles can access endpoints -->

---

## πŸ”— Related

<!-- Any related links -->
---

## πŸ’¬ Additional Context
<!-- Any edge cases, business rules, soft deletes, cascades, rate limits, or other notes -->

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions