Skip to content

Implement Admin List Users API #57

@thlpkee20-wq

Description

@thlpkee20-wq

Description
Implement GET /api/admin/users for an admin role to list users with optional filters and pagination. Require admin JWT or API key. Do not expose in public OpenAPI if internal-only.

Requirements and context

  • Implement only in new files. Add src/routes/admin/users.ts and use user repository. Do not modify package.json, src/index.ts. Add admin auth check (middleware or inline).

Suggested execution

  • Branch: git checkout -b feature/admin-list-users
  • Add route and tests. Example commit message: feat(api): add admin list users endpoint

Guidelines

  • Only new route file under src/routes/admin/. Timeframe: 96 hours.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions