cURL
curl --request GET \ --url https://api.example.com/api/v1/users/findAll
{ "page": [ { "id": "550e8400-e29b-41d4-a716-446655440000", "userName": "jsmith", "name": "John Smith", "birthDate": "1990-05-15", "bookIds": [ "7c9e6679-7425-40de-944b-e07fc1f90ae7", "9f3e4a56-2c1d-4b8e-8f6d-5a3c2b1d4e5f" ] }, { "id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8", "userName": "mdoe", "name": "Mary Doe", "birthDate": "1985-08-22", "bookIds": [ "1a2b3c4d-5e6f-7g8h-9i0j-1k2l3m4n5o6p" ] } ], "count": 2, "limit": 10, "offset": 0, "total_pages": 5, "total_count": 47, "previous_page": null, "current_page": 1, "next_page": 2 }
Retrieves a paginated list of all users in the system
Authorization: Bearer <your_jwt_token>
curl -X GET "https://api.library.com/api/v1/users/findAll?page=0&size=10" \ -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."