Rename of getPages action and better api documentation