improved

API - Pagination added to the "devices" endpoint