Get Users: /user/ (GET)
Purpose:
Get users by page and per page.
Input:
- Headers:
- Authorization: The JWT token of the user.
- Query Parameters:
- page: (Integer) Default 1
- per_page: (Integer) Default 30
Output (200):
[
{
"id": "fb506677-28fe-408a-8241-221696865a8f",
"username": "user1",
"display_name": "Bob Good",
"profile_image": null
},
{
"id": "c80cc2bf-93fa-4fbd-8b79-148323ba13f3",
"username": "bob",
"display_name": "bob",
"profile_image": null
}
]